]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/i915: Do not enable FEC without DSC
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 26 Mar 2019 14:49:02 +0000 (16:49 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 Apr 2019 20:41:28 +0000 (23:41 +0300)
commit6fd3134ae3551d4802a04669c0f39f2f5c56f77d
treeb7d62eee672226aad73dc70f9f74a049a0022b91
parent2e1e5c5532ffe14ff48811ffe96a40f7dce8645c
drm/i915: Do not enable FEC without DSC

Currently we enable FEC even when DSC is no used. While that is
theoretically valid supposedly there isn't much of a benefit from
this. But more importantly we do not account for the FEC link
bandwidth overhead (2.4%) in the non-DSC link bandwidth computations.
So the code may think we have enough bandwidth when we in fact
do not.

Cc: stable@vger.kernel.org
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Cc: Manasi Navare <manasi.d.navare@intel.com>
Fixes: 240999cf339f ("i915/dp/fec: Add fec_enable to the crtc state.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326144903.6617-1-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
drivers/gpu/drm/i915/intel_dp.c