Commit 5faf45be authored by Ian Forbes's avatar Ian Forbes Committed by Greg Kroah-Hartman
Browse files

drm/vmwgfx: Add new keep_resv BO param



[ Upstream commit b7d40627 ]

Adds a new BO param that keeps the reservation locked after creation.
This removes the need to re-reserve the BO after creation which is a
waste of cycles.

This also fixes a bug in vmw_prime_import_sg_table where the imported
reservation is unlocked twice.

Signed-off-by: default avatarIan Forbes <ian.forbes@broadcom.com>
Fixes: b32233ac ("drm/vmwgfx: Fix prime import/export")
Reviewed-by: default avatarZack Rusin <zack.rusin@broadcom.com>
Signed-off-by: default avatarZack Rusin <zack.rusin@broadcom.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250110185335.15301-1-ian.forbes@broadcom.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ff5b9e9b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment