]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dp: Fail state computation for invalid max sink compressed BPP value
authorImre Deak <imre.deak@intel.com>
Mon, 15 Dec 2025 19:23:55 +0000 (21:23 +0200)
committerImre Deak <imre.deak@intel.com>
Fri, 19 Dec 2025 14:46:41 +0000 (16:46 +0200)
commita63bbb8ddde0f0060683f4a089669a8b2eefe0f1
tree49099ed71556556435a945766d78224d75173516
parent5c2d799491f20baca033245dfe86eec1f5b93256
drm/i915/dp: Fail state computation for invalid max sink compressed BPP value

There is no reason to accept an invalid maximum sink compressed BPP
value (i.e. 0), fail the state computation in this case.

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