commit | 40609d4820b21ff0bb0a58e196601a6747fd55b7 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Thu Mar 14 09:34:51 2019 -0700 |
committer | Eric Anholt <eric@anholt.net> | Thu Mar 14 12:06:44 2019 -0700 |
tree | 36d2425a250703e7d984e0eebdae1670e3e74cc8 | |
parent | 2194a63a818db71065ebe09c8104f5f021ca4e7b [diff] |
drm/v3d: Use the new shmem helpers to reduce driver boilerplate. The new shmem helpers from Noralf and Rob abstract out a bunch of our BO creation and mapping code. v2: Use the new sgt getter, and flag pages as dirty before freeing. v3: Remove the mismatched put_pages. Signed-off-by: Eric Anholt <eric@anholt.net> Link: https://patchwork.freedesktop.org/patch/msgid/20190314163451.13431-1-eric@anholt.net Reviewed-by: Rob Herring <robh@kernel.org> (v2)