Files
linux/drivers/gpu/drm
Thomas Hellstrom 8dc39cfca3 drm/vmwgfx: Use the dma scatter-gather iterator to get dma addresses
Use struct sg_dma_page_iter in favour struct of sg_page_iter, which fairly
recently was declared useless for obtaining dma addresses.

With a struct sg_dma_page_iter we can't call sg_page_iter_page() so
when the page is needed, use the same page lookup mechanism as for the
non-sg dma modes instead of calling sg_dma_page_iter.

Note, the fixes tag doesn't really point to a commit introducing a
failure / regression, but rather to a commit that implemented a simple
workaround for this problem.

Cc: Jason Gunthorpe <jgg@mellanox.com>
Fixes: d901b2760d ("lib/scatterlist: Provide a DMA page iterator")
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
2019-05-21 10:23:09 +02:00
..
2019-01-24 13:20:42 +01:00
2019-04-24 11:23:20 +09:00
2019-01-24 13:20:42 +01:00
2019-04-17 20:56:40 +08:00
2019-01-29 15:45:21 +01:00
2019-04-15 15:51:49 +10:00
2019-01-29 15:45:21 +01:00
2019-01-24 13:20:42 +01:00
2019-04-01 11:00:18 +02:00
2019-04-15 15:51:49 +10:00
2019-01-24 13:20:42 +01:00
2019-04-25 10:02:10 -04:00
2019-04-29 12:37:53 +02:00
2019-01-12 13:07:58 +01:00