summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_context.c
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>2014-08-03 15:02:31 +0400
committerDave Airlie <airlied@redhat.com>2014-08-05 04:54:19 +0400
commita91576d7916f6cce76d30303e60e1ac47cf4a76d (patch)
tree2f710ba8939b09fe36559a9692f3e9bb39280f23 /drivers/gpu/drm/drm_context.c
parent71336e011d1d2312bcbcaa8fcec7365024f3a95d (diff)
downloadlinux-a91576d7916f6cce76d30303e60e1ac47cf4a76d.tar.xz
drm/ttm: Pass GFP flags in order to avoid deadlock.
Commit 7dc19d5a "drivers: convert shrinkers to new count/scan API" added deadlock warnings that ttm_page_pool_free() and ttm_dma_page_pool_free() are currently doing GFP_KERNEL allocation. But these functions did not get updated to receive gfp_t argument. This patch explicitly passes sc->gfp_mask or GFP_KERNEL to these functions, and removes the deadlock warning. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Cc: stable <stable@kernel.org> [2.6.35+] Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_context.c')
0 files changed, 0 insertions, 0 deletions