aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-01-25 17:21:31 +0900
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:39 +0200
commit5d8eb4280b411df96dfd523628a5d669ac670fe3 (patch)
tree71f4ceebed5f023e8a4513cc95f8cacbda9e30ab /crypto
parent9e30f017d45566814a1478380ddc8ed57dc7c06a (diff)
drm/ttm: Make sure BOs being swapped out are cacheable
commit 239ac65fa5ffab71adf66e642750f940e7241d99 upstream. The current caching state may not be tt_cached, even though the placement contains TTM_PL_FLAG_CACHED, because placement can contain multiple caching flags. Trying to swap out such a BO would trip up the BUG_ON(ttm->caching_state != tt_cached); in ttm_tt_swapout. Signed-off-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Christian König <christian.koenig@amd.com>. Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Christian König <christian.koenig@amd.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions