drm/vmwgfx: Honor the sg list segment size limitation
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 4 Jun 2019 11:54:26 +0000 (13:54 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 11 Jun 2019 15:00:23 +0000 (17:00 +0200)
commitbde15555ba61c7f664f40fd3c6fdbdb63f784c9b
tree90d968c43f713fa30b4a396a9a3e54054957433a
parentcc0ba0d8624f210995924bb57a8b181ce8976606
drm/vmwgfx: Honor the sg list segment size limitation

When building sg tables, honor the device sg list segment size limitation.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c