diff options
| author | Jesse Zhang <[email protected]> | 2024-04-30 02:23:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-30 14:03:56 +0000 |
| commit | c8c19ebf7c0b202a6a2d37a52ca112432723db5f (patch) | |
| tree | 85a3cb7990851a619430e91b3201efda17d091e0 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu/discovery: add sdma v7_0 ip block (diff) | |
| download | kernel-c8c19ebf7c0b202a6a2d37a52ca112432723db5f.tar.gz kernel-c8c19ebf7c0b202a6a2d37a52ca112432723db5f.zip | |
drm/amd/pm: Fix negative array index read
Avoid using the negative values
for clk_idex as an index into an array pptable->DpmDescriptor.
V2: fix clk_index return check (Tim Huang)
Signed-off-by: Jesse Zhang <[email protected]>
Reviewed-by: Tim Huang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
