aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/atom.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2021-05-29 17:28:16 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-06-01 22:55:39 -0400
commita6c3c37b661dae8f34cb7ed90aa3f88372cb1c75 (patch)
tree7c26adaf97bcf72ca89da4c7582ebfa5086fb269 /drivers/gpu/drm/amd/amdgpu/atom.h
parent06888d571b513cbfc0b41949948def6cb81021b2 (diff)
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 <yukuai3@huawei.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.h')
0 files changed, 0 insertions, 0 deletions