]> 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)
commit83a124d73500620768462dda6b5656ff730295ef
tree864cc9692bba9498ffce555706d267b9cca6b361
parentf48c2a3057ed84a4cc39bd1053e4a31342259b46
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