aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2021-05-29 09:28:16 +0000
committerAlex Deucher <[email protected]>2021-06-02 02:55:39 +0000
commita6c3c37b661dae8f34cb7ed90aa3f88372cb1c75 (patch)
tree7c26adaf97bcf72ca89da4c7582ebfa5086fb269 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm/amd/display: Avoid HDCP over-read and corruption (diff)
downloadkernel-a6c3c37b661dae8f34cb7ed90aa3f88372cb1c75.tar.gz
kernel-a6c3c37b661dae8f34cb7ed90aa3f88372cb1c75.zip
drm/amd/display: fix gcc set but not used warning of variable 'old_plane_state'
define a new macro for_each_new_plane_in_state_reverse to replace for_each_oldnew_plane_in_state_reverse, so that the unused variable 'old_plane_state' can be removed. Fix gcc warning: drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:10066:26: warning: variable ‘old_plane_state’ set but not used [-Wunused-but-set-variable] Signed-off-by: Yu Kuai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions