[PATCH] drm/ttm: Set CPU caching mode to cached for BOs being swapped out

2015-11-09 Thread Michel Dänzer
On 06.11.2015 22:02, Thomas Hellstrom wrote: > On 11/06/2015 03:33 AM, Michel Dänzer wrote: >> On 05.11.2015 17:47, Thomas Hellstrom wrote: >>> Hi, Michel, >>> >>> On 11/05/2015 09:08 AM, Michel Dänzer wrote: From: Michel Dänzer I ran into the BUG_ON in ttm_tt_swapout, presumably

[PATCH] drm/ttm: Set CPU caching mode to cached for BOs being swapped out

2015-11-06 Thread Thomas Hellstrom
On 11/06/2015 03:33 AM, Michel Dänzer wrote: > On 05.11.2015 17:47, Thomas Hellstrom wrote: >> Hi, Michel, >> >> On 11/05/2015 09:08 AM, Michel Dänzer wrote: >>> From: Michel Dänzer >>> >>> I ran into the BUG_ON in ttm_tt_swapout, presumably the BO being swapped >>> out was using a write-combin

[PATCH] drm/ttm: Set CPU caching mode to cached for BOs being swapped out

2015-11-06 Thread Michel Dänzer
On 05.11.2015 17:47, Thomas Hellstrom wrote: > Hi, Michel, > > On 11/05/2015 09:08 AM, Michel Dänzer wrote: >> From: Michel Dänzer >> >> I ran into the BUG_ON in ttm_tt_swapout, presumably the BO being swapped >> out was using a write-combined CPU mapping. >> >> Instead of BUGging out, just set

[PATCH] drm/ttm: Set CPU caching mode to cached for BOs being swapped out

2015-11-05 Thread Michel Dänzer
From: Michel Dänzer I ran into the BUG_ON in ttm_tt_swapout, presumably the BO being swapped out was using a write-combined CPU mapping. Instead of BUGging out, just set the caching mode to what's needed. Signed-off-by: Michel Dänzer --- drivers/gpu/drm/ttm/ttm_tt.c | 3 ++- 1 file changed,

[PATCH] drm/ttm: Set CPU caching mode to cached for BOs being swapped out

2015-11-05 Thread Thomas Hellstrom
Hi, Michel, On 11/05/2015 09:08 AM, Michel Dänzer wrote: > From: Michel Dänzer > > I ran into the BUG_ON in ttm_tt_swapout, presumably the BO being swapped > out was using a write-combined CPU mapping. > > Instead of BUGging out, just set the caching mode to what's needed. > > Signed-off-by: Mi