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-03-29 14:03:01 +10:00
2019-02-18 13:27:15 +10:00
2019-03-25 09:33:42 +01:00
2019-01-02 11:37:56 +02:00
2019-03-08 08:23:15 -08:00
2018-05-03 21:26:32 +02:00
2017-06-01 08:02:14 +02:00
2019-02-21 12:13:42 +01:00
2018-10-04 11:03:34 +10:00
2019-01-21 10:30:12 +01:00
2019-03-08 08:23:15 -08:00