commit | 94a47c49fe5dc0c4d1e56bc1286623df3ea53b23 | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Fri Feb 20 11:51:38 2015 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Feb 25 16:06:10 2015 -0500 |
tree | cab942bf28b7a4e3b1fe5b6f98e1ff2abb485fba | |
parent | dbfb00c3e7e18439f2ebf67fe99bf7a50b5bae1e [diff] |
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>