diff options
author | Marek Olšák <maraeo@gmail.com> | 2009-12-19 00:23:00 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-23 11:14:04 +1000 |
commit | 512889f450c1851d9e3628f1894b9b64b0701eac (patch) | |
tree | b6a3ded7f8b5d6a0874c606a030fa3c18c7efa0b /drivers/gpu/drm/radeon/r300_reg.h | |
parent | 46c64d4bfa01cda7d58c514164f8b127ab6741b7 (diff) |
drm/radeon/kms: add 3DC compression support
There are 2 formats:
ATI1N: 64 bits per 4x4 block, one-channel format
ATI2N: 128 bits per 4x4 block, two-channel format
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/r300_reg.h')
-rw-r--r-- | drivers/gpu/drm/radeon/r300_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r300_reg.h b/drivers/gpu/drm/radeon/r300_reg.h index 4b7afef35a65..1735a2b69580 100644 --- a/drivers/gpu/drm/radeon/r300_reg.h +++ b/drivers/gpu/drm/radeon/r300_reg.h @@ -900,6 +900,7 @@ # define R300_TX_FORMAT_FL_I32 0x1B # define R300_TX_FORMAT_FL_I32A32 0x1C # define R300_TX_FORMAT_FL_R32G32B32A32 0x1D +# define R300_TX_FORMAT_ATI2N 0x1F /* alpha modes, convenience mostly */ /* if you have alpha, pick constant appropriate to the number of channels (1 for I8, 2 for I8A8, 4 for R8G8B8A8, etc */ |