summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/renesas
diff options
context:
space:
mode:
authorZack Rusin <zack.rusin@broadcom.com>2024-04-12 05:55:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-27 18:13:03 +0300
commit2cdb71c975a10b8774fcd199f16f9ea88948de50 (patch)
tree3762613d31f014d141d5768dc993a207ed4b4aea /drivers/gpu/drm/renesas
parent7d8ac0942c312abda43b407eff72d31747a7b472 (diff)
downloadlinux-2cdb71c975a10b8774fcd199f16f9ea88948de50.tar.xz
drm/vmwgfx: Fix prime import/export
commit b32233accefff1338806f064fb9b62cf5bc0609f upstream. vmwgfx never supported prime import of external buffers. Furthermore the driver exposes two different objects to userspace: vmw_surface's and gem buffers but prime import/export only worked with vmw_surfaces. Because gem buffers are used through the dumb_buffer interface this meant that the driver created buffers couldn't have been prime exported or imported. Fix prime import/export. Makes IGT's kms_prime pass. Signed-off-by: Zack Rusin <zack.rusin@broadcom.com> Fixes: 8afa13a0583f ("drm/vmwgfx: Implement DRIVER_GEM") Cc: <stable@vger.kernel.org> # v6.6+ Reviewed-by: Martin Krastev <martin.krastev@broadcom.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240412025511.78553-4-zack.rusin@broadcom.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/renesas')
0 files changed, 0 insertions, 0 deletions