diff options
author | Christian König <deathsimple@vodafone.de> | 2012-02-23 09:18:43 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-29 05:10:53 -0500 |
commit | 442f7cfa04afe73a239daf026d323b83bbb7778b (patch) | |
tree | 6e69408f789e9ab2e0f476eb95b04c5857703bf8 /drivers/gpu | |
parent | cdac5504b2981520f993790f5d30c0cdc15c3214 (diff) |
drm/radeon/kms: no need to align IB like this
So don't confuse devs by doing so.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alex.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 4f08e5e6ee9d..4a4ac8fb7b70 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -2719,20 +2719,7 @@ int r600_ib_test(struct radeon_device *rdev, int ring) | |||
2719 | ib->ptr[0] = PACKET3(PACKET3_SET_CONFIG_REG, 1); | 2719 | ib->ptr[0] = PACKET3(PACKET3_SET_CONFIG_REG, 1); |
2720 | ib->ptr[1] = ((scratch - PACKET3_SET_CONFIG_REG_OFFSET) >> 2); | 2720 | ib->ptr[1] = ((scratch - PACKET3_SET_CONFIG_REG_OFFSET) >> 2); |
2721 | ib->ptr[2] = 0xDEADBEEF; | 2721 | ib->ptr[2] = 0xDEADBEEF; |
2722 | ib->ptr[3] = PACKET2(0); | 2722 | ib->length_dw = 3; |
2723 | ib->ptr[4] = PACKET2(0); | ||
2724 | ib->ptr[5] = PACKET2(0); | ||
2725 | ib->ptr[6] = PACKET2(0); | ||
2726 | ib->ptr[7] = PACKET2(0); | ||
2727 | ib->ptr[8] = PACKET2(0); | ||
2728 | ib->ptr[9] = PACKET2(0); | ||
2729 | ib->ptr[10] = PACKET2(0); | ||
2730 | ib->ptr[11] = PACKET2(0); | ||
2731 | ib->ptr[12] = PACKET2(0); | ||
2732 | ib->ptr[13] = PACKET2(0); | ||
2733 | ib->ptr[14] = PACKET2(0); | ||
2734 | ib->ptr[15] = PACKET2(0); | ||
2735 | ib->length_dw = 16; | ||
2736 | r = radeon_ib_schedule(rdev, ib); | 2723 | r = radeon_ib_schedule(rdev, ib); |
2737 | if (r) { | 2724 | if (r) { |
2738 | radeon_scratch_free(rdev, scratch); | 2725 | radeon_scratch_free(rdev, scratch); |