summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/evergreen_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-05-20 12:12:48 -0400
committerDave Airlie <airlied@redhat.com>2010-08-02 10:00:02 +1000
commit97d663285322b3db05613d274b1eb3f9806f37ca (patch)
treedc4b868f16d0f1933b7c80b54eec000f50f45e7f /drivers/gpu/drm/radeon/evergreen_reg.h
parent40c4ac1c1931eb48ca0cf5e9ec464d13c5921994 (diff)
downloadtalos-op-linux-97d663285322b3db05613d274b1eb3f9806f37ca.tar.gz
talos-op-linux-97d663285322b3db05613d274b1eb3f9806f37ca.zip
drm/radeon/kms: Add crtc tiling setup support for evergreen
Needed for scanning out of a tiled buffer. Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen_reg.h')
-rw-r--r--drivers/gpu/drm/radeon/evergreen_reg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen_reg.h b/drivers/gpu/drm/radeon/evergreen_reg.h
index e028c1cd9d9b..2330f3a36fd5 100644
--- a/drivers/gpu/drm/radeon/evergreen_reg.h
+++ b/drivers/gpu/drm/radeon/evergreen_reg.h
@@ -61,6 +61,11 @@
# define EVERGREEN_GRPH_FORMAT_8B_BGRA1010102 5
# define EVERGREEN_GRPH_FORMAT_RGB111110 6
# define EVERGREEN_GRPH_FORMAT_BGR101111 7
+# define EVERGREEN_GRPH_ARRAY_MODE(x) (((x) & 0x7) << 20)
+# define EVERGREEN_GRPH_ARRAY_LINEAR_GENERAL 0
+# define EVERGREEN_GRPH_ARRAY_LINEAR_ALIGNED 1
+# define EVERGREEN_GRPH_ARRAY_1D_TILED_THIN1 2
+# define EVERGREEN_GRPH_ARRAY_2D_TILED_THIN1 4
#define EVERGREEN_GRPH_SWAP_CONTROL 0x680c
# define EVERGREEN_GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0)
# define EVERGREEN_GRPH_ENDIAN_NONE 0
OpenPOWER on IntegriCloud