]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: move pipe, pch and vblank enable to encoders on DDI platforms
authorJani Nikula <jani.nikula@intel.com>
Tue, 28 Jan 2020 16:28:48 +0000 (18:28 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 31 Jan 2020 08:54:31 +0000 (10:54 +0200)
commit21fd23ac222f37096a5e811ddf9d5a84e86789b3
tree864cc9692bba9498ffce555706d267b9cca6b361
parent219cee8fe7ae5488a3781184ed56d7efaced88a6
drm/i915: move pipe, pch and vblank enable to encoders on DDI platforms

To allow better flexibility for encoder specific code, push
intel_enable_pipe(), lpt_pch_enable() and intel_crtc_vblank_on() down to
the encoders from hsw_crtc_enable().

There's slight duplication, but also more clarity with the reduced
conditional statements.

Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Reviewed-by: Vandita Kulkarni <vandita.kulkarni@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200128162850.8660-1-jani.nikula@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/intel_crt.c
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display.h
drivers/gpu/drm/i915/display/vlv_dsi.c