Commit 54b2f90a authored by Matt Coster's avatar Matt Coster Committed by Greg Kroah-Hartman
Browse files

drm/imagination: Use pvr_vm_context_get()



[ Upstream commit eb4accc5 ]

I missed this open-coded kref_get() while trying to debug a refcount
bug, so let's use the helper function here to avoid that waste of time
again in the future.

Fixes: ff5f643d ("drm/imagination: Add GEM and VM related code")
Reviewed-by: default avatarFrank Binns <frank.binns@imgtec.com>
Link: https://patchwork.freedesktop.org/patch/msgid/8616641d-6005-4b25-bc0a-0b53985a0e08@imgtec.com


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