summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atombios_encoders.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2015-02-20 17:51:38 +0100
committerAlex Deucher <alexander.deucher@amd.com>2015-02-25 22:06:10 +0100
commit94a47c49fe5dc0c4d1e56bc1286623df3ea53b23 (patch)
treecab942bf28b7a4e3b1fe5b6f98e1ff2abb485fba /drivers/gpu/drm/radeon/atombios_encoders.c
parentdrm/radeon: fix 1 RB harvest config setup for TN/RL (diff)
downloadlinux-94a47c49fe5dc0c4d1e56bc1286623df3ea53b23.tar.xz
linux-94a47c49fe5dc0c4d1e56bc1286623df3ea53b23.zip
drm/radeon: fix atom aux payload size check for writes (v2)
The atom aux param interface only supports 4 bits for the total write transfer size (header + payload). This limits us to 12 bytes of payload rather than 16. Add a check for this. Reads are not affected. v2: switch to WARN_ON_ONCE Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_encoders.c')
0 files changed, 0 insertions, 0 deletions