aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorGuchun Chen <[email protected]>2023-05-05 05:20:11 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:34:20 +0000
commit9d7a348d368ccd940242d4aa68292cf665f6d474 (patch)
treeb7e7e9126e52f9c80ca20cdb02b0684dcb992c79 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdgpu: install stub fence into potential unused fence pointers (diff)
downloadkernel-9d7a348d368ccd940242d4aa68292cf665f6d474.tar.gz
kernel-9d7a348d368ccd940242d4aa68292cf665f6d474.zip
drm/amd/pm: parse pp_handle under appropriate conditions
amdgpu_dpm_is_overdrive_supported is a common API across all asics, so we should cast pp_handle into correct structure under different power frameworks. v2: using return directly to simplify code v3: SI asic does not carry od_enabled member in pp_handle, and update Fixes tag Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2541 Fixes: eb4900aa4c49 ("drm/amdgpu: Fix kernel NULL pointer dereference in dpm functions") Suggested-by: Mario Limonciello <[email protected]> Signed-off-by: Guchun Chen <[email protected]> Reviewed-by: Mario Limonciello <[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