]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ddi: Push pipe clock enabling to encoders
authorImre Deak <imre.deak@intel.com>
Wed, 13 Jun 2018 17:27:46 +0000 (20:27 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 14 Jun 2018 16:50:07 +0000 (19:50 +0300)
commit0d9d3b04d86180f9695a234cc11df347d3ef91fb
tree8ab76421a00d800ce380d9e605a22f00c93134ee
parentcdee680f396eec319180c8c2bceac480c74d405f
drm/i915/ddi: Push pipe clock enabling to encoders

On ICL the pipe clock needs to be enabled before setting the HDMI
infoframe, but these steps are in the reverse order atm. Move the pipe
clock enabling to the encoders, so reordering of the two steps can be
done in a clean way.

No functional change.

v2:
- Rebased on drm-tip.

Cc: Vandita Kulkarni <vandita.kulkarni@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180613172746.18525-1-imre.deak@intel.com
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c