diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-28 00:25:25 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-06 03:38:08 +0200 |
commit | 724c80e1d630296d1324859e964d80d35007d83c (patch) | |
tree | 954e86447e1c259160d09c732ac0eb0289b2ec8b /drivers/gpu/drm/nouveau/nouveau_hw.c | |
parent | drm/radeon/kms: clean up r6xx/r7xx blit init (v2) (diff) | |
download | linux-724c80e1d630296d1324859e964d80d35007d83c.tar.xz linux-724c80e1d630296d1324859e964d80d35007d83c.zip |
drm/radeon/kms: enable writeback (v2)
When writeback is enabled, the GPU shadows writes to certain
registers into a buffer in memory. The driver can then read
the values from the shadow rather than reading back from the
register across the bus. Writeback can be disabled by setting
the no_wb module param to 1.
On r6xx/r7xx/evergreen, the following registers are shadowed:
- CP scratch registers
- CP read pointer
- IH write pointer
On r1xx-rr5xx, the following registers are shadowed:
- CP scratch registers
- CP read pointer
v2:
- Combine wb patches for r6xx-evergreen and r1xx-r5xx
- Writeback is disabled on AGP boards since it tends to be
unreliable on AGP using the gart.
- Check radeon_wb_init return values properly.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_hw.c')
0 files changed, 0 insertions, 0 deletions