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.9/drivers/gpu/drm/ttm/ttm_bo.c

    r31574 r31662  
    16551655        int ret = -EBUSY;
    16561656        int put_count;
    1657         uint32_t swap_placement = (TTM_PL_FLAG_CACHED | TTM_PL_FLAG_SYSTEM);
    16581657
    16591658        spin_lock(&glob->lru_lock);
     
    16861685         */
    16871686
    1688         if ((bo->mem.placement & swap_placement) != swap_placement) {
     1687        if (bo->mem.mem_type != TTM_PL_SYSTEM ||
     1688            bo->ttm->caching_state != tt_cached) {
    16891689                struct ttm_mem_reg evict_mem;
    16901690
Note: See TracChangeset for help on using the changeset viewer.