]> git.baikalelectronics.ru Git - kernel.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)
commit73ac8fdffaaa56bf8ce5117764ce249c05243cf7
treeb7d62eee672226aad73dc70f9f74a049a0022b91
parented62bf7c022ce2c33d37c5c018983080e977553f
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: 84f52734d068 ("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