]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Use offset-adjusted shadow-plane mappings
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Aug 2021 12:59:22 +0000 (14:59 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sun, 8 Aug 2021 18:27:30 +0000 (20:27 +0200)
commitaf022daf08a41a68e787cca2f66bce39945e7558
treeae95a4688224c3a4e1c829eb28b49f9a64408625
parent70594e8bed7f1fc53c52ee639ce60c4ba4dd2ecc
drm/mgag200: 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
mgag200.

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