mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
drm/rockchip: gem: fix reorder page
Fixes: 773a33a1cc ("drm/rockchip: gem: reorder pages if page chunk less than 8")
Change-Id: Ib3540e67d898d579179b86ec19e367d14478ac3d
Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
parent
93120310c3
commit
f7033adf87
|
|
@ -199,6 +199,8 @@ static int rockchip_gem_get_pages(struct rockchip_gem_object *rk_obj)
|
|||
goto err_put_list;
|
||||
}
|
||||
|
||||
rk_obj->pages = dst_pages;
|
||||
|
||||
/*
|
||||
* Fake up the SG table so that dma_sync_sg_for_device() can be used
|
||||
* to flush the pages associated with it.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user