summaryrefslogtreecommitdiff
path: root/scripts/diffconfig
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2023-04-11 00:26:58 +0300
committerRodrigo Vivi <rodrigo.vivi@intel.com>2023-12-20 02:31:40 +0300
commit67f2f0d7371709cb91d46d4c557aaa28b902674c (patch)
treea45184f07789adb07e9468afa13960cb218d333d /scripts/diffconfig
parent0a12a612c870231172d30196e6245ea471fabaed (diff)
downloadlinux-67f2f0d7371709cb91d46d4c557aaa28b902674c.tar.xz
drm/xe: Don't grab runtime PM ref in engine create IOCTL
A VM had a runtime PM ref, a engine can't be created without a VM, and the engine holds a ref to the VM thus this is unnecessary. Beyond that taking a ref in the engine create IOCTL and dropping it in the destroy IOCTL is wrong as a user doesn't have to call the destroy IOCTL (e.g. they can just kill the process or close the driver FD). If a user does this PM refs are leaked. Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions