drm/fb-helper: Allocate shadow buffer of surface height
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 10 Nov 2021 10:36:59 +0000 (11:36 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 11 Nov 2021 11:06:58 +0000 (12:06 +0100)
commit18ac700d75e81b7892c6377f6d8b917453ac69fd
tree122dd4e8a36fef35a0bbf08bc43c229e48894c31
parent19b20a8021315fce38ae95607e5de389913471a7
drm/fb-helper: Allocate shadow buffer of surface height

Allocating a shadow buffer of the height of the buffer object does
not support fbdev overallocation. Use surface height instead.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211110103702.374-7-tzimmermann@suse.de
drivers/gpu/drm/drm_fb_helper.c