]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/xe/vm: tidy up xe_runtime_pm usage
authorMatthew Auld <matthew.auld@intel.com>
Wed, 19 Jul 2023 08:38:04 +0000 (09:38 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:37:35 +0000 (11:37 -0500)
commit2d30332a5ec004effe24d669003bf94e7f167387
treec2a2afac4ecf852e103db32d939af3fa06ce54dd
parenta00b8f1aae43c46658de0f7f55d8a65acb002159
drm/xe/vm: tidy up xe_runtime_pm usage

The xe_device_mem_access_get() should be all that's needed here and
should now work as expected, without any strange races. In theory should
be no functional changes here.

Reported-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_vm.c