Ignore:
Timestamp:
Apr 16, 2017, 3:07:01 PM (2 months ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/drivers/gpu/drm/ttm/ttm_bo.c

    r30443 r31869  
    16181618        int ret = -EBUSY;
    16191619        int put_count;
    1620         uint32_t swap_placement = (TTM_PL_FLAG_CACHED | TTM_PL_FLAG_SYSTEM);
    16211620
    16221621        spin_lock(&glob->lru_lock);
     
    16541653                goto out;
    16551654
    1656         if ((bo->mem.placement & swap_placement) != swap_placement) {
     1655        if (bo->mem.mem_type != TTM_PL_SYSTEM ||
     1656            bo->ttm->caching_state != tt_cached) {
    16571657                struct ttm_mem_reg evict_mem;
    16581658
Note: See TracChangeset for help on using the changeset viewer.