summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2017-01-25 17:21:31 +0900
committerBen Hutchings <ben@decadent.org.uk>2017-06-05 21:16:59 +0100
commit30d833f2faea08e7d265894e9aa135c3e15562c3 (patch)
tree1b75d8a9caa557549a0da963d2f943591b53450a /drivers/clk
parent456bf0f6b930f182614231efa0e94cdf6c027efa (diff)
downloadlinux-stable-30d833f2faea08e7d265894e9aa135c3e15562c3.tar.gz
linux-stable-30d833f2faea08e7d265894e9aa135c3e15562c3.tar.bz2
linux-stable-30d833f2faea08e7d265894e9aa135c3e15562c3.zip
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: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions