summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorAnthony Koo <Anthony.Koo@amd.com>2017-06-14 10:19:57 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:08:05 -0400
commitebf055f95b4782e681c0040461a33c0210e65a5d (patch)
tree45a47bca9192e31f300e03daf81fd0b6dd809add /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parent80b4c5a8c1e1856848a440a63accbe029ea3b51b (diff)
drm/amd/display: fix issues with incorrectly detecting UPDATE_TYPE_FULL
This is due to how structures are being packed with padding added. Structure field initialization doesn't clear the padding bytes, which cause our memcmp to give incorrect result. Move smaller structure parameters to end of structure. Signed-off-by: Anthony Koo <anthony.koo@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions