]> bbs.cooldavid.org Git - net-next-2.6.git/commit
drm/radeon/kms: Force HDP_NONSURF to maximum size
authorJerome Glisse <jglisse@redhat.com>
Thu, 3 Jun 2010 17:34:48 +0000 (19:34 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Jul 2010 01:59:33 +0000 (11:59 +1000)
commit46fcd2b3dbf58a448b621d3d2f492a0e90223a3a
tree7556faa44a723d7bf5a760139701fa3cadddcd6a
parent2ff776cf77f1837a0397bc876e086e8a54274b09
drm/radeon/kms: Force HDP_NONSURF to maximum size

HDP non surface should cover the whole VRAM but we were misscomputing
the size and we endup in some case not covering the VRAM at all (if
VRAM size were > 1G). Covering more than the VRAM size shouldn't be
an issue.

Fix : https://bugs.freedesktop.org/show_bug.cgi?id=28016

[airlied: add evergreen fix]

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/rv770.c