]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: don't check mipmap alignment if MIP_ADDRESS is FMASK
authorMarek Olšák <maraeo@gmail.com>
Fri, 1 Mar 2013 12:40:31 +0000 (13:40 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Mar 2013 17:58:59 +0000 (12:58 -0500)
commit8e10cf6bef5b4039ebb183ec13b58f4fb03648a5
tree9cdd689cf31af822bff13fb964049627051b9b52
parentf8943e75313fca4358854946fdd4bba7c16a7892
drm/radeon: don't check mipmap alignment if MIP_ADDRESS is FMASK

The MIP_ADDRESS state has 2 meanings. If the texture has one sample
per pixel, it's a pointer to the mipmap chain. If the texture has
multiple samples per pixel, it's a pointer to FMASK, a metadata buffer
needed for reading compressed MSAA textures. The mipmap
alignment rules do not apply to FMASK.

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