linux_dsm_epyc7002/drivers/gpu/drm/amd
Arnd Bergmann f0ee9b184c drm/amd/display: hide an unused variable
Without CONFIG_DEBUG_FS, we get a warning for an unused
variable:

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

Hide the variable in an #ifdef like its only users.

Fixes: 14b2584636 ("drm/amd/display: add functionality to grab DPRX CRC entries.")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-10-03 09:11:00 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu: enable full ras by default 2019-10-03 09:11:00 -05:00
amdkfd drm/amdkfd: Delete unused KFD_IS_* macro 2019-10-03 09:10:58 -05:00
display drm/amd/display: hide an unused variable 2019-10-03 09:11:00 -05:00
include drm/amdgpu: add pcie bif ras related registers 2019-09-16 10:09:37 -05:00
powerplay drm/amdgpu/powerplay: add new mapping for APCC_DFLL feature 2019-10-03 09:10:59 -05:00