drm/radeon: remove generic rptr/wptr functions (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2013 00:44:30 +0000 (19:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Dec 2013 23:01:10 +0000 (18:01 -0500)
commitea31bf697d27270188a93cd78cf9de4bc968aca3
treea77d4b86d59b55824e01d73a617f62aa6e28d6c1
parente308b1d375d2fa5389316683ff52f3d9043bf1b8
drm/radeon: remove generic rptr/wptr functions (v2)

Fill in asic family specific versions rather than
using the generic version.  This lets us handle asic
specific differences more easily.  In this case, we
disable sw swapping of the rtpr writeback value on
r6xx+ since the hw does it for us.  Fixes bogus
rptr readback on BE systems.

v2: remove missed cpu_to_le32(), add comments

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
14 files changed:
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/cik_sdma.c
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/ni.c
drivers/gpu/drm/radeon/ni_dma.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600_dma.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_ring.c
drivers/gpu/drm/radeon/rv770.c
drivers/gpu/drm/radeon/si.c