diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/gpu/drm/ast/ast_ttm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ast/ast_ttm.c b/drivers/gpu/drm/ast/ast_ttm.c index 8008ea0bc76c..5098c7dd435c 100644 --- a/drivers/gpu/drm/ast/ast_ttm.c +++ b/drivers/gpu/drm/ast/ast_ttm.c | |||
| @@ -300,9 +300,9 @@ void ast_ttm_placement(struct ast_bo *bo, int domain) | |||
| 300 | if (domain & TTM_PL_FLAG_VRAM) | 300 | if (domain & TTM_PL_FLAG_VRAM) |
| 301 | bo->placements[c++].flags = TTM_PL_FLAG_WC | TTM_PL_FLAG_UNCACHED | TTM_PL_FLAG_VRAM; | 301 | bo->placements[c++].flags = TTM_PL_FLAG_WC | TTM_PL_FLAG_UNCACHED | TTM_PL_FLAG_VRAM; |
| 302 | if (domain & TTM_PL_FLAG_SYSTEM) | 302 | if (domain & TTM_PL_FLAG_SYSTEM) |
| 303 | bo->placements[c++].flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_SYSTEM; | 303 | bo->placements[c++].flags = TTM_PL_FLAG_CACHED | TTM_PL_FLAG_SYSTEM; |
| 304 | if (!c) | 304 | if (!c) |
| 305 | bo->placements[c++].flags = TTM_PL_MASK_CACHING | TTM_PL_FLAG_SYSTEM; | 305 | bo->placements[c++].flags = TTM_PL_FLAG_CACHED | TTM_PL_FLAG_SYSTEM; |
| 306 | bo->placement.num_placement = c; | 306 | bo->placement.num_placement = c; |
| 307 | bo->placement.num_busy_placement = c; | 307 | bo->placement.num_busy_placement = c; |
| 308 | for (i = 0; i < c; ++i) { | 308 | for (i = 0; i < c; ++i) { |
