drm/ttm: Avoid conflicting reserve_memtype during ttm_tt_set_page_caching.
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 12 Jan 2010 17:49:43 +0000 (18:49 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Feb 2010 01:15:37 +0000 (11:15 +1000)
commitdb78e27de7e29a6db6be7caf607cf803d84094aa
treec387de94b95e444205361bc31ce59acd29b10aee
parentf28cf33945cc112f8ee835512b7440905dc29ad2
drm/ttm: Avoid conflicting reserve_memtype during ttm_tt_set_page_caching.

Fixes errors like:
> reserve_ram_pages_type failed 0x15b7a000-0x15b7b000, track 0x8, req 0x10
when a BO is moved between WC and UC areas.

Reported-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/ttm/ttm_tt.c