]> git.baikalelectronics.ru Git - kernel.git/commit
drm: handle compact dma scatter lists in drm_clflush_sg()
authorImre Deak <imre.deak@intel.com>
Mon, 18 Feb 2013 17:28:01 +0000 (19:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Mar 2013 08:50:22 +0000 (09:50 +0100)
commit10521446ae5cefc8993950c17f8aff558cc05472
tree50be97730f9ac64e10fc0fd444c265c1a4b1d44f
parent76aa4327460d64097f454f84575147f9ed3b1d74
drm: handle compact dma scatter lists in drm_clflush_sg()

So far the assumption was that each scatter list entry contains a single
page. This might not hold in the future, when we'll introduce compact
scatter lists, so prepare for this here.

Reference: http://www.spinics.net/lists/dri-devel/msg33917.html
Signed-off-by: Imre Deak <imre.deak@intel.com>
Acked-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_cache.c