]> 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)
commita1ee5c34d0f81e1f8f5104c0d5c023f88b740d91
treec8b225e999b573f3dfa40947c9e83412989d43e9
parentaff38c6bb7a6163d5fe43f3167930419d6b08504
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