drm/radeon/kms: add MSAA texture support for r600-evergreen
authorMarek Olšák <maraeo@gmail.com>
Thu, 9 Aug 2012 14:34:16 +0000 (16:34 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Aug 2012 14:50:56 +0000 (10:50 -0400)
commitb51ad12a36234c1f6707c9c54a414cfca23f3cdb
treeab10fb4d373e31a260ffe83cef525bee2345b85c
parentf00245f182fab57c5eed28a50764600b2bf1ccdb
drm/radeon/kms: add MSAA texture support for r600-evergreen

Most of the checking seems to be in place already. As you can see,
log2(number of samples) resides in LAST_LEVEL.

This is required for MSAA support (namely for depth-stencil resolve and
blitting between MSAA resources).

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