aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2021-06-22 14:22:10 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2021-06-25 09:04:48 -0700
commit0bc3a4eda1fb0edd8678c9405ab18d47327650cd (patch)
tree6e9ae71b7a9e4abc595377b97d3ec7bf6128df88 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentcbeeb00f14d2bf71200cbfad329a62be6309f7e2 (diff)
drm/i915/display: use max_level to control loop
Since we are already loop through the levels to sanitize them, mark what is the real max_level so it can be used in subsequent loop. This makes it simpler to later add the adjustment latency to "valid levels". No change in behavior, just makes the code easier to follow. Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210622212210.3746133-2-lucas.demarchi@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions