]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp_mst: Simplify handling the single-bpp case during state computation
authorImre Deak <imre.deak@intel.com>
Fri, 9 May 2025 18:03:29 +0000 (21:03 +0300)
committerImre Deak <imre.deak@intel.com>
Mon, 12 May 2025 12:22:46 +0000 (15:22 +0300)
commit49a50054b784989ad56f8df911611f823d628044
tree2335f9703a157fdbc875951f63a8841b39c337bd
parent266e2fcfe2ea0d062ea392cd22f6250ae0d11c04
drm/i915/dp_mst: Simplify handling the single-bpp case during state computation

A follow-up change wants to skip invalid bpps in the bpp select loop of
a stream state computation. To allow for that, using the usual
'continue' statement in the loop, change the way the single-bpp range is
handled.

v2: Fix typo in commit message. (Ankit)

Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Luca Coelho <luciano.coelho@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://lore.kernel.org/r/20250509180340.554867-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp_mst.c