]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/gpu/drm/radeon/radeon_drv.c
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)
commit774c389fae5e5a78a4aa75f927ab59fa0ff8a0d2
tree9cdd689cf31af822bff13fb964049627051b9b52
parentd808fc882928bfe3cab87dd960ca28715e461ce4
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