]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix checking of MSAA renderbuffers on r600-r700
authorMarek Olšák <maraeo@gmail.com>
Sun, 19 Aug 2012 19:23:26 +0000 (21:23 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Aug 2012 15:09:49 +0000 (11:09 -0400)
commit960cad6ac994e684ca06abe03925214e28dff50f
treec8b225e999b573f3dfa40947c9e83412989d43e9
parent5f0e69995676b99c59dc8e56198455c5ff83db81
drm/radeon: fix checking of MSAA renderbuffers on r600-r700

The MSAA checking was mostly unimplemented on r600-r700. The userspace
submits GPU commands and the kernel driver computes how much memory
the GPU will access and checks if it's all within buffer bounds the
userspace allocated. This patch fixes the computations of the size of
MSAA surfaces in memory.

Signed-off-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/r600_cs.c