]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Fix DSC enable code to use cpu_transcoder instead of encoder->type
authorManasi Navare <manasi.d.navare@intel.com>
Wed, 21 Aug 2019 21:59:50 +0000 (14:59 -0700)
committerManasi Navare <manasi.d.navare@intel.com>
Thu, 22 Aug 2019 21:15:47 +0000 (14:15 -0700)
commitf185113da03ef1105a452f0c2fed2163ad5af9bd
tree778df2c20d76c588ab476a6c8c836fd1abad6be8
parent8ed0c61ed36d6cf252b9bd1678f80526cf725757
drm/i915/dp: Fix DSC enable code to use cpu_transcoder instead of encoder->type

This patch fixes the intel_configure_pps_for_dsc_encoder() function to use
cpu_transcoder instead of encoder->type to select the correct DSC registers
that was wrongly used in the original patch for one DSC register isntance.

Fixes: 8a6e80b71a72 ("drm/i915/dp: Configure i915 Picture parameter Set registers during DSC enabling")
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: <stable@vger.kernel.org> # v5.0+
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190821215950.24223-1-manasi.d.navare@intel.com
drivers/gpu/drm/i915/display/intel_vdsc.c