diff options
author | Nirmoy Das <nirmoy.das@intel.com> | 2023-09-26 10:37:40 +0200 |
---|---|---|
committer | Nirmoy Das <nirmoy.das@intel.com> | 2023-09-30 13:49:30 +0200 |
commit | 8a7f77fabac16e284cc47191fe033770012bf48d (patch) | |
tree | c458edc7e07c0d9ad00d855a2697c3b1df15927d /crypto/rsapubkey.asn1 | |
parent | 3f5f62883631a987964102bc5044f7bf62c26323 (diff) |
drm/i915: Implement GGTT update method with MI_UPDATE_GTT
Implement GGTT update method with blitter command, MI_UPDATE_GTT
and install those handlers if a platform requires that.
v2: Make sure we hold the GT wakeref and Blitter engine wakeref before
we call mutex_lock/intel_context_enter below. When GT/engine are not
awake, the intel_context_enter calls into some runtime pm function which
can end up with kmalloc/fs_reclaim. But trigger fs_reclaim holding a
mutex lock is not allowed because shrinker can also try to hold the same
mutex lock. It is a circular lock. So hold the GT/blitter engine wakeref
before calling mutex_lock, to fix the circular lock.
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Signed-off-by: Oak Zeng <oak.zeng@intel.com>
Acked-by: Oak Zeng <oak.zeng@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230926083742.14740-6-nirmoy.das@intel.com
Diffstat (limited to 'crypto/rsapubkey.asn1')
0 files changed, 0 insertions, 0 deletions