From: Alex Deucher Date: Fri, 20 Feb 2015 16:51:38 +0000 (-0500) Subject: drm/radeon: fix atom aux payload size check for writes (v2) X-Git-Tag: fixes-v4.0-rc2~24^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94a47c49fe5dc0c4d1e56bc1286623df3ea53b23;p=pandora-kernel.git 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 Signed-off-by: Alex Deucher --- Reading git-diff-tree failed