drm/radeon/kms: add some missing semaphore init
Subsystems (2)
PATCH 1/1 drm/radeon/kms: add some missing semaphore init
From: Alex Deucher <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/radeon/evergreen.c | 1 + drivers/gpu/drm/radeon/evergreend.h | 1 + drivers/gpu/drm/radeon/ni.c | 1 + drivers/gpu/drm/radeon/nid.h | 1 + 4 files changed, 4 insertions(+), 0 deletions(-)
drivers/gpu/drm/radeon/evergreen.c +1 -0
@@ -1455,6 +1455,7 @@ int evergreen_cp_resume(struct radeon_device *rdev)#endif WREG32 (CP_RB_CNTL , tmp);WREG32 (CP_SEM_WAIT_TIMER ,0x0 ); +WREG32 (CP_SEM_INCOMPLETE_TIMER_CNTL ,0x0 );/* Set the write pointer delay */ WREG32 (CP_RB_WPTR_DELAY ,0 );
drivers/gpu/drm/radeon/evergreend.h +1 -0
@@ -108,6 +108,7 @@#define CP_RB_WPTR_ADDR_HI 0xC11C#define CP_RB_WPTR_DELAY 0x8704#define CP_SEM_WAIT_TIMER 0x85BC +#define CP_SEM_INCOMPLETE_TIMER_CNTL 0x85C8#define CP_DEBUG 0xC1FC
drivers/gpu/drm/radeon/ni.c +1 -0
@@ -1219,6 +1219,7 @@ int cayman_cp_resume(struct radeon_device *rdev)RREG32 (GRBM_SOFT_RESET );WREG32 (CP_SEM_WAIT_TIMER ,0x0 ); +WREG32 (CP_SEM_INCOMPLETE_TIMER_CNTL ,0x0 );/* Set the write pointer delay */ WREG32 (CP_RB_WPTR_DELAY ,0 );
drivers/gpu/drm/radeon/nid.h +1 -0
@@ -222,6 +222,7 @@#define SCRATCH_UMSK 0x8540#define SCRATCH_ADDR 0x8544#define CP_SEM_WAIT_TIMER 0x85BC +#define CP_SEM_INCOMPLETE_TIMER_CNTL 0x85C8#define CP_COHER_CNTL2 0x85E8#define CP_ME_CNTL 0x86D8#define CP_ME_HALT (1 << 28)
Signature · 1 line
1.7.7.5
Quoted 3 lines · On Fre, 2012-01-20 at 14:47 -0500, [email protected] wrote:
From: Alex Deucher <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Michel Dänzer <[email protected]>
Signature · 6 lines
Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Debian, X and DRI developer _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel