]> git.baikalelectronics.ru Git - kernel.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)
commit971515eed6b51b8eeeea57087ba601c4a4dfe488
tree7556faa44a723d7bf5a760139701fa3cadddcd6a
parent99fec72a4c43443c60e8e438089983703d15fe5c
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