drm/ast: Use offset-adjusted shadow-plane mappings
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Aug 2021 12:59:19 +0000 (14:59 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:27:06 +0000 (20:27 +0200)
commitadd8b6a9a568b57b3f61d59cc09b3157a275257e
tree17c6dc89c6011116ebc0c37f1ffd430da4cc83e6
parent43b36232ded23ce943224df3d1451f981446ae23
drm/ast: 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
ast.

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