summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/cgs_common.h
diff options
context:
space:
mode:
authorRex Zhu2018-02-26 12:47:54 +0100
committerAlex Deucher2018-03-05 21:38:05 +0100
commit2eeb3a839954616d6faa024da69d2990374995f0 (patch)
tree46849290297b1874221291ba2b23e0fefc36def6 /drivers/gpu/drm/amd/include/cgs_common.h
parentdrm/amd/display: disable CRTCs with NULL FB on their primary plane (V2) (diff)
downloadkernel-qcow2-linux-2eeb3a839954616d6faa024da69d2990374995f0.tar.gz
kernel-qcow2-linux-2eeb3a839954616d6faa024da69d2990374995f0.tar.xz
kernel-qcow2-linux-2eeb3a839954616d6faa024da69d2990374995f0.zip
drm/amd/dc: Use forward declaration instand of include header file
avoid build error: drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smu9_driver_if.h:342:3: error: redeclaration of enumerator ‘WM_COUNT’ WM_COUNT, ^ In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services_types.h:32:0, from drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:35, from drivers/gpu/drm/amd/amdgpu/../display/modules/inc/mod_freesync.h:57, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_mode.h:48, from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:55, from drivers/gpu/drm/amd/amdgpu/../powerplay/inc/amd_powerplay.h:33, from drivers/gpu/drm/amd/amdgpu/../powerplay/inc/smumgr.h:26, from drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/vega10_smumgr.c:24: drivers/gpu/drm/amd/amdgpu/../display/dc/dm_pp_smu.h:43:2: note: previous definition of ‘WM_COUNT’ was here WM_COUNT, Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/cgs_common.h')
0 files changed, 0 insertions, 0 deletions