]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: split intel_modeset_init() pre/post gem init
authorJani Nikula <jani.nikula@intel.com>
Wed, 2 Sep 2020 14:30:20 +0000 (17:30 +0300)
committerJani Nikula <jani.nikula@intel.com>
Fri, 4 Sep 2020 10:27:56 +0000 (13:27 +0300)
commita5f2488f645f1f4db292e0e1088c0af0465d8311
tree46f890ad602c6a0741f7af6c093167a950925587
parentcf696856bc54a31f78e6538b84c8f7a006b6108b
drm/i915: split intel_modeset_init() pre/post gem init

Turn current intel_modeset_init() to a pre-gem init function, and add a
new intel_modeset_init() function and move all post-gem modeset init
there, in the correct layer. No functional changes.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/5f4603f2c0216dba980338f00e0bfa791b526231.1599056955.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/i915_drv.c