Commit e05b7da7 authored by Yangyu Chen's avatar Yangyu Chen Committed by Todd Kjos
Browse files

UPSTREAM: drm/ttm: allocate dummy_read_page without DMA32 on fail



Some platforms may not have any memory in ZONE_DMA32 and use IOMMU to allow
32-bit-DMA-only device to work. Forcing GFP_DMA32 on dummy_read_page will
fail on such platforms. Retry after fail will get this works on such
platforms.

Signed-off-by: default avatarYangyu Chen <cyy@cyyself.name>
Link: https://patchwork.freedesktop.org/patch/msgid/tencent_8637383EE0A2C7CC870036AAF01909B26A0A@qq.com


Signed-off-by: default avatarChristian König <christian.koenig@amd.com>

Bug: 394491715
Change-Id: I45da6357df87831f64de362329932471cc0bc7f1
(cherry picked from commit 0a8c1fee)
Signed-off-by: default avatarHyejeong Choi <hjeong.choi@samsung.com>
parent 34c31ccd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment