]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Fail state computation for invalid DSC source input BPP values
authorImre Deak <imre.deak@intel.com>
Mon, 15 Dec 2025 19:23:56 +0000 (21:23 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Dec 2025 14:46:41 +0000 (16:46 +0200)
commit338465490cf7bd4a700ecd33e4855fee4622fa5f
treec309b845c60c314f5af81f97ade0ccc6fe204e36
parenta63bbb8ddde0f0060683f4a089669a8b2eefe0f1
drm/i915/dp: Fail state computation for invalid DSC source input BPP values

There is no reason to accept an invalid minimum/maximum DSC source input
BPP value (i.e a minimum DSC input BPP value above the maximum pipe BPP
or a maximum DSC input BPP value below the minimum pipe BPP value), fail
the state computation in these cases.

Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251215192357.172201-17-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c