drm/radeon/kms: allow r500 US_FORMAT regs in the CS checker
Subsystems (2)
PATCH 1/1 drm/radeon/kms: allow r500 US_FORMAT regs in the CS checker
And bump the DRM version to 2.8.0.
The purpose of these regs is to work around a TX hw bug in R520.
--- drivers/gpu/drm/radeon/radeon_drv.c | 5 +++-- drivers/gpu/drm/radeon/reg_srcs/rv515 | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-)
drivers/gpu/drm/radeon/radeon_drv.c +3 -2
@@ -47,10 +47,11 @@* - 2.4.0 - add crtc id query * - 2.5.0 - add get accel 2 to work around ddx breakage for evergreen * - 2.6.0 - add tiling config query (r6xx+), add initial HiZ support (r300->r500) -* 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs +* - 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs +* - 2.8.0 - add r500 US_FORMAT regs */ #define KMS_DRIVER_MAJOR 2 -#define KMS_DRIVER_MINOR 7 +#define KMS_DRIVER_MINOR 8#define KMS_DRIVER_PATCHLEVEL 0int radeon_driver_load_kms (struct drm_device *dev,unsigned long flags);int radeon_driver_unload_kms (struct drm_device *dev);
drivers/gpu/drm/radeon/reg_srcs/rv515 +16 -0
@@ -304,6 +304,22 @@ rv515 0x6d40 0x4630 US_CODE_ADDR 0x4634 US_CODE_RANGE 0x4638 US_CODE_OFFSET +0x4640 US_FORMAT0_0 +0x4644 US_FORMAT0_1 +0x4648 US_FORMAT0_2 +0x464C US_FORMAT0_3 +0x4650 US_FORMAT0_4 +0x4654 US_FORMAT0_5 +0x4658 US_FORMAT0_6 +0x465C US_FORMAT0_7 +0x4660 US_FORMAT0_8 +0x4664 US_FORMAT0_9 +0x4668 US_FORMAT0_10 +0x466C US_FORMAT0_11 +0x4670 US_FORMAT0_12 +0x4674 US_FORMAT0_13 +0x4678 US_FORMAT0_14 +0x467C US_FORMAT0_15 0x46A4 US_OUT_FMT_0 0x46A8 US_OUT_FMT_1 0x46AC US_OUT_FMT_2
Signature · 6 lines
1.7.1 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 5 lines · Marek Olšák
And bump the DRM version to 2.8.0.
The purpose of these regs is to work around a TX hw bug in R520.
Signed-off-by Marek Olšák <[email protected]>
Quoted 53 lines
---
drivers/gpu/drm/radeon/radeon_drv.c | 5 +++--drivers/gpu/drm/radeon/reg_srcs/rv515| 16 ++++++++++++++++2 files changed, 19 insertions(+), 2 deletions(-)drivers/gpu/drm/radeon/radeon_drv.c +3
-2@@ -47,10 +47,11 @@* - 2.4.0 - add crtc id query * - 2.5.0 - add get accel 2 to work around ddx breakage for evergreen * - 2.6.0 - add tiling config query (r6xx+), add initial HiZ support (r300->r500) -* 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs +* - 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs +* - 2.8.0 - add r500 US_FORMAT regs */ #define KMS_DRIVER_MAJOR 2 -#define KMS_DRIVER_MINOR 7 +#define KMS_DRIVER_MINOR 8 #define KMS_DRIVER_PATCHLEVEL 0 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags); int radeon_driver_unload_kms(struct drm_device *dev);drivers/gpu/drm/radeon/reg_srcs/rv515 +0
-0@@ -304,6 +304,22 @@ rv515 0x6d400x4630
US_CODE_ADDR
0x4634US_CODE_RANGE
0x4638US_CODE_OFFSET
+0x4640US_FORMAT0_0
+0x4644US_FORMAT0_1
+0x4648US_FORMAT0_2
+0x464CUS_FORMAT0_3
+0x4650US_FORMAT0_4
+0x4654US_FORMAT0_5
+0x4658US_FORMAT0_6
+0x465CUS_FORMAT0_7
+0x4660US_FORMAT0_8
+0x4664US_FORMAT0_9
+0x4668US_FORMAT0_10
+0x466CUS_FORMAT0_11
+0x4670US_FORMAT0_12
+0x4674US_FORMAT0_13
+0x4678US_FORMAT0_14
+0x467CUS_FORMAT0_15
0x46A4US_OUT_FMT_0
0x46A8US_OUT_FMT_1
0x46ACUS_OUT_FMT_2
--
1.7.1
Quoted 5 lines
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel