drm/cirrus: Use offset-adjusted shadow-plane mappings
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Aug 2021 12:59:23 +0000 (14:59 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:27:34 +0000 (20:27 +0200)
commit12f84ab2ff568768699f73b0b32feebc25d38406
tree4c17a420d680548af3d3b8932f083ff74e3bd15b
parentaf022daf08a41a68e787cca2f66bce39945e7558
drm/cirrus: Use offset-adjusted shadow-plane mappings

For framebuffers with non-zero offset fields, shadow-plane helpers
provide a pointer to the first byte of the contained data. Use it in
cirrus.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210803125928.27780-7-tzimmermann@suse.de
drivers/gpu/drm/tiny/cirrus.c