Noralf Trønnes 09ded8af57 drm/i915/fbdev: Move intel_fb_initial_config() to fbdev helper
It is generic code and having it in the helper will let other drivers
benefit from it.

One change was necessary assuming this to be true:
INTEL_INFO(dev_priv)->num_pipes == dev->mode_config.num_crtc

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190407165243.54043-4-noralf@tronnes.org
2019-04-11 16:15:28 +02:00
..
2019-01-09 10:26:36 +02:00
2019-03-29 14:03:01 +10:00
2018-11-20 12:49:24 +02:00
2019-01-24 13:20:42 +01:00
2018-03-08 10:07:18 +00:00
2019-02-05 09:43:23 -08:00
2019-03-08 08:23:15 -08:00
2019-03-08 08:23:15 -08:00
2019-02-05 09:43:23 -08:00
2019-02-18 13:27:15 +10:00