OpenCloudOS-Kernel/drivers/gpu/drm/amd
Arnd Bergmann 4c3a329273 drm/amd/display: fix unused variable warning
After all users of the 'dm' warnings got hidden in an #ifdef,
the compiler started warning about it being unused:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5380:33: error: unused variable 'dm' [-Werror,-Wunused-variable]

Add another such #ifdef.

Fixes: 98ab5f3513 ("drm/amd/display: Fix deadlock during gpu reset v3")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210125124849.102037-1-arnd@kernel.org
2021-02-05 09:49:44 +10:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu: enable freesync for A+A configs 2021-02-02 12:06:54 -05:00
amdkfd drm/amdkfd: Enable userptr support when KFD is enabled 2021-01-21 09:55:16 -05:00
display drm/amd/display: fix unused variable warning 2021-02-05 09:49:44 +10:00
include drm/amdgpu:Add pcie gen5 support in pcie capability. 2021-01-21 09:54:56 -05:00
pm drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask() 2021-02-02 12:12:55 -05:00