Long overdue refactoring. This should not conflict with Lyude's dpcd backlight refactoring [1], but if it does, that series should have precedence. BR, Jani. [1] https://patchwork.freedesktop.org/series/84754/ Jani Nikula (3): drm/i915/backlight: extract backlight code to a separate file drm/i915/backlight: mass rename functions to have intel_backlight_ prefix drm/i915/panel: mass rename functions to have intel_panel_ prefix drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/g4x_dp.c | 4 +- drivers/gpu/drm/i915/display/icl_dsi.c | 13 +- .../gpu/drm/i915/display/intel_backlight.c | 1776 ++++++++++++++++ .../gpu/drm/i915/display/intel_backlight.h | 52 + .../gpu/drm/i915/display/intel_connector.c | 4 +- drivers/gpu/drm/i915/display/intel_ddi.c | 4 +- drivers/gpu/drm/i915/display/intel_dp.c | 16 +- .../drm/i915/display/intel_dp_aux_backlight.c | 12 +- drivers/gpu/drm/i915/display/intel_dvo.c | 2 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 2 +- drivers/gpu/drm/i915/display/intel_lvds.c | 18 +- drivers/gpu/drm/i915/display/intel_opregion.c | 5 +- drivers/gpu/drm/i915/display/intel_panel.c | 1786 +---------------- drivers/gpu/drm/i915/display/intel_panel.h | 41 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 16 +- 16 files changed, 1894 insertions(+), 1858 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_backlight.c create mode 100644 drivers/gpu/drm/i915/display/intel_backlight.h -- 2.20.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx