]> git.baikalelectronics.ru Git - kernel.git/commit
drm/simpledrm: Use offset-adjusted shadow-plane mapping
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Aug 2021 12:59:25 +0000 (14:59 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:27:40 +0000 (20:27 +0200)
commit8b9b88b94b96dbd9aad888ac2c730a9e3ffa4ec3
tree23b634b517813a8b318bc5bbe88cffa21fcb0537
parent229d94680878c83b5bb163e47f74ef778133a14e
drm/simpledrm: Use offset-adjusted shadow-plane mapping

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

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