diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-01-06 13:28:48 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-01-07 22:09:46 -0500 |
commit | 62cdc0c20663ef840a94850892517b2b7f584904 (patch) | |
tree | bbd68626995863c9c91bef7c146dc13ba5a0d887 /drivers/gpu/drm/radeon/radeon.h | |
parent | 06b6476d6b291473d0928ed242158a001d50c0f0 (diff) |
drm/radeon/kms: Workaround RV410/R420 CP errata (V3)
Long story short, this fixes sporadic hardlocks with my rv410 during
times of intense 2D acceleration (Flash on Fx3).
V2: Fix indentation and move errata_fini to suspend function so we
don't leak scratch register over suspend/resume cycle.
V3: Move scratch_reg to asic specific structure (aim is to slowly
move stuff to asic specific structure and avoid poluting
radeon_device struct with asic specific variables)
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index a7e349dc4b97..cee8bdc6c9ff 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -674,6 +674,7 @@ struct r100_asic { | |||
674 | struct r300_asic { | 674 | struct r300_asic { |
675 | const unsigned *reg_safe_bm; | 675 | const unsigned *reg_safe_bm; |
676 | unsigned reg_safe_bm_size; | 676 | unsigned reg_safe_bm_size; |
677 | u32 resync_scratch; | ||
677 | }; | 678 | }; |
678 | 679 | ||
679 | struct r600_asic { | 680 | struct r600_asic { |