drm: vkms: get the reference to drm_framebuffer instead if coping it

Instead of coping `drm_framebuffer` - which can cause problems -
we just get the reference and add the ref count.

Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Igor Torrente <igormtorrente@gmail.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220905190811.25024-5-igormtorrente@gmail.com
This commit is contained in:
Igor Torrente 2022-09-05 16:08:06 -03:00 • committed by Melissa Wen
commit 2eef1ef6e2
3 changed files with 8 additions and 8 deletions