[Intel-gfx] [PATCH 0/3] Move display initialization

Lucas De Marchi lucas.demarchi at intel.com
Tue Nov 24 19:13:13 UTC 2020


This reduces the surface from which display/ is called by the
other parts of the driver, starting with the init. For that new
intel_display_driver_{register,unregister} functions are created
that will deal with the HAS_DISPLAY check.

There are more changes needed, but I'm sending this early for feedback
and CI.

Lucas De Marchi (3):
  drm/i915: stop registering if drm_dev_register() fails
  drm/i915: group display-related register calls
  drm/i915/display: move register functions to display/

 drivers/gpu/drm/i915/display/intel_display.c | 53 ++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_display.h |  3 ++
 drivers/gpu/drm/i915/i915_drv.c              | 52 ++++---------------
 3 files changed, 65 insertions(+), 43 deletions(-)

-- 
2.29.2



More information about the Intel-gfx mailing list