Ignore:
Timestamp:
Mar 15, 2017, 2:42:58 AM (3 months ago)
Author:
brainslayer
Message:

use new squashfs in all kernels

File:
1 edited

Legend:

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

    r30317 r31662  
    16221622        int ret = -EBUSY;
    16231623        int put_count;
    1624         uint32_t swap_placement = (TTM_PL_FLAG_CACHED | TTM_PL_FLAG_SYSTEM);
    16251624
    16261625        spin_lock(&glob->lru_lock);
     
    16581657                goto out;
    16591658
    1660         if ((bo->mem.placement & swap_placement) != swap_placement) {
     1659        if (bo->mem.mem_type != TTM_PL_SYSTEM ||
     1660            bo->ttm->caching_state != tt_cached) {
    16611661                struct ttm_mem_reg evict_mem;
    16621662
Note: See TracChangeset for help on using the changeset viewer.