Skip to content
Commit 23cc452e authored by Jani Nikula's avatar Jani Nikula
Browse files

drm/i915/dmc: add for_each_dmc_id() and use it



The loop is duplicated many times, with slightly different ways. Unify.

Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarImre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8dcaa716093e6fbe75bb69ee7ac715a3f007a523.1675339447.git.jani.nikula@intel.com
parent e4ef6503
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment