> -Original Message-
> From: Andi Shyti
> Sent: Tuesday, September 13, 2022 7:00 PM
> To: Gupta, Anshuman
> Cc: intel-gfx@lists.freedesktop.org; ch...@chris-wilson.co.uk; Auld, Matthew
> ; Vivi, Rodrigo
> Subject: Re: [Intel-gfx] [PATCH v4 2/2] drm/i915/dgfx
Hi Anshuman,
[...]
> struct ttm_buffer_object *bo = area->vm_private_data;
> struct drm_device *dev = bo->base.dev;
> struct drm_i915_gem_object *obj;
> + intel_wakeref_t wakeref = 0;
> vm_fault_t ret;
> int idx;
>
> @@ -990,18 +1000,24 @@ static vm_fault_t vm_
Release all mmap mapping for all lmem objects which are associated
with userfault such that, while pcie function in D3hot, any access
to memory mappings will raise a userfault.
Runtime resume the dgpu(when gem object lies in lmem).
This will transition the dgpu graphics function to D0
state if it