drm/radeon/bo: add some fallback placements for VRAM only objects.
Tested the following upstream patchs on Thinkpad T42, this patch seems fix
issues with drm/compiz on ATI Radeon Mobility 7500. Please review and pull
for lucid.
The following changes since commit
762ba435f6c1050068f3372bc61a1477b0066e33:
Dave Airlie (1):
drm/radeon/bo: add some fallback placements for VRAM only objects.
drm/radeon/bo: add some fallback placements for VRAM only objects.
Manoj Iyer wrote:
> Tested the following upstream patchs on Thinkpad T42, this patch seems fix
> issues with drm/compiz on ATI Radeon Mobility 7500. Please review and pull
> for lucid.
>
>
> The following changes since commit
> 762ba435f6c1050068f3372bc61a1477b0066e33:
> Dave Airlie (1):
> drm/radeon/bo: add some fallback placements for VRAM only objects.
>
> are available in the git repository at:
>
> git://kernel.ubuntu.com/manjo/ubuntu-lucid.git lp507148upstream
>
> Dave Airlie (1):
> drm/radeon/kms: don't print error on -ERESTARTSYS.
>
> drivers/gpu/drm/radeon/radeon_cs.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> From 762ba435f6c1050068f3372bc61a1477b0066e33 Mon Sep 17 00:00:00 2001
> From: Dave Airlie <airlied@redhat.com>
> Date: Fri, 19 Mar 2010 10:32:10 +1000
> Subject: [PATCH 1/2] drm/radeon/bo: add some fallback placements for VRAM only objects.
>
> On constrained r100 systems compiz would fail to start due to a lack
> of memory, we can just fallback place the objects rather than completely
> failing it works a lot better.
>
> Cc: stable@kernel.org
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> (cherry picked from commit 924788672f9c802a4c8e6bc8d88fbc2c9b2e3089)
You really should document _where_ you got that from. As far as I could see this
is not in Linus tree.
drm/radeon/bo: add some fallback placements for VRAM only objects.
Thats how I would do it.
manoj.iyer@canonical.com wrote:
>
> updated the patchs with information requested.
>
> The following changes since commit
> c2b3a0b3ccb3b114c7e22117cb1fd23f63068bea:
> JosephChan@via.com.tw (1):
> (pre-stable) pata_via: Add VIA VX900 support
>
> are available in the git repository at:
>
> git://kernel.ubuntu.com/manjo/ubuntu-lucid.git lp507148upstream
>
> Dave Airlie (2):
> drm/radeon/bo: add some fallback placements for VRAM only objects.
> drm/radeon/kms: don't print error on -ERESTARTSYS.
>
> drivers/gpu/drm/radeon/radeon.h | 2 ++
> drivers/gpu/drm/radeon/radeon_cs.c | 3 ++-
> drivers/gpu/drm/radeon/radeon_object.c | 10 +++++++---
> 3 files changed, 11 insertions(+), 4 deletions(-)
>
> From 19ac48b6ac04fef2756aae26e60923dd4e5c4538 Mon Sep 17 00:00:00 2001
> From: Dave Airlie <airlied@redhat.com>
> Date: Fri, 19 Mar 2010 10:32:10 +1000
> Subject: [PATCH 1/2] drm/radeon/bo: add some fallback placements for
> VRAM only objects.
>
> On constrained r100 systems compiz would fail to start due to a lack
> of memory, we can just fallback place the objects rather than completely
> failing it works a lot better.
>
BugLink: http://launchpad.net/bugs/507148
> Cc: stable@kernel.org
> Signed-off-by: Dave Airlie <airlied@redhat.com>
> (cherry picked from commit 924788672f9c802a4c8e6bc8d88fbc2c9b2e3089)
(cherry picked from commit 924788672f9c802a4c8e6bc8d88fbc2c9b2e3089 drm-2.6)
> Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>