diff options
author | Samson Tam <samson.tam@amd.com> | 2023-10-06 23:36:16 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-10-27 01:00:31 +0200 |
commit | 8d0f4cd2ae44ebe50ff85a49fb248e64f28b6d66 (patch) | |
tree | be5c48cb48d4415852c6a2571011c1c1069f8a3e /include/acpi | |
parent | drm/amd/display: Update FAMS sequence for DCN30 & DCN32 (diff) | |
download | linux-8d0f4cd2ae44ebe50ff85a49fb248e64f28b6d66.tar.xz linux-8d0f4cd2ae44ebe50ff85a49fb248e64f28b6d66.zip |
drm/amd/display: add null check for invalid opps
[Why]
In cases where number of pipes available is less
than num_opp, there will opp instances that are
null
[How]
Add null check to skip over these opp instances
Fixes: 40de8403b998 ("drm/amd/display: Update OPP counter from new interface")
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Samson Tam <samson.tam@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions