drm/radeon/kms: fix a regression on r7xx AGP due to the HDP flush fix
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 27 Aug 2010 17:59:54 +0000 (13:59 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 29 Aug 2010 23:51:57 +0000 (09:51 +1000)
commit87cbf8f2c5d1b1fc4642c3dc0bb6efc587479603
tree87761225a3676badd631bd7175c4648b18a0260c
parent8807286e569c4f12fa2bc980187f3e2abc606d11
drm/radeon/kms: fix a regression on r7xx AGP due to the HDP flush fix

commit: 812d046915f48236657f02c06d7dc47140e9ceda
drm/radeon/kms/r7xx: add workaround for hw issue with HDP flush
breaks on AGP boards since there is no VRAM gart table.

This patch fixes the issue by creating a VRAM scratch page so that
can be used on both AGP and PCIE.

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=29834

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/rv770.c