Re: [PATCH] drm/i915/gt: Hold rpm wakeref before taking ggtt->vm.mutex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 10 Jan 2020 at 14:44, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>
> We need to hold the runtime-pm wakeref to update the global PTEs (as
> they exist behind a PCI BAR). However, some systems invoke ACPI during
> runtime resume and so require allocations, which is verboten inside the
> vm->mutex. Ergo, we must not use intel_runtime_pm_get() inside the
> mutex, but lift the call outside.
>
> Closes: https://gitlab.freedesktop.org/drm/intel/issues/958
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Cc: Maarten Lankhorst <maarten.lankhorst@xxxxxxxxxxxxxxx>
> Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
> Cc: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux