diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2015-12-04 23:09:03 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-12-09 00:20:45 -0500 |
commit | 5f3e226f511ec98d70c970f09cdb4ec46511cc5e (patch) | |
tree | 87ff346f95b7a625dbe405ef10591ace0b614b00 /drivers/gpu | |
parent | e410b5cbabe70b1f1da08146481f6bd7e904643c (diff) | |
download | linux-5f3e226f511ec98d70c970f09cdb4ec46511cc5e.tar.gz linux-5f3e226f511ec98d70c970f09cdb4ec46511cc5e.tar.bz2 linux-5f3e226f511ec98d70c970f09cdb4ec46511cc5e.zip |
radeon/cik: Fix GFX IB test on Big-Endian
This patch makes the IB test on the GFX ring pass for CI-based cards
installed in Big-Endian machines.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/radeon/cik.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/radeon/cik.c b/drivers/gpu/drm/radeon/cik.c index 0154db43860c..f81fb2641097 100644 --- a/drivers/gpu/drm/radeon/cik.c +++ b/drivers/gpu/drm/radeon/cik.c @@ -4173,11 +4173,7 @@ void cik_ring_ib_execute(struct radeon_device *rdev, struct radeon_ib *ib) control |= ib->length_dw | (vm_id << 24); radeon_ring_write(ring, header); - radeon_ring_write(ring, -#ifdef __BIG_ENDIAN - (2 << 0) | -#endif - (ib->gpu_addr & 0xFFFFFFFC)); + radeon_ring_write(ring, (ib->gpu_addr & 0xFFFFFFFC)); radeon_ring_write(ring, upper_32_bits(ib->gpu_addr) & 0xFFFF); radeon_ring_write(ring, control); } |