diff options
| author | Andrzej Hajda <andrzej.hajda@intel.com> | 2023-10-30 20:40:13 +0300 |
|---|---|---|
| committer | Andrzej Hajda <andrzej.hajda@intel.com> | 2023-11-20 14:36:56 +0300 |
| commit | 5e4e06e4087eb91b0e5405ed42e792415d055e45 (patch) | |
| tree | 26b8153313c3005c4802972cad61f5817cf27a3a /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | b49e894c3fd83f67aae2a4778b98ea3838e41020 (diff) | |
| download | linux-5e4e06e4087eb91b0e5405ed42e792415d055e45.tar.xz | |
drm/i915: Track gt pm wakerefs
Track every intel_gt_pm_get() until its corresponding release in
intel_gt_pm_put() by returning a cookie to the caller for acquire that
must be passed by on released. When there is an imbalance, we can see who
either tried to free a stale wakeref, or who forgot to free theirs.
v2: track recently added calls in gen8_ggtt_bind_get_ce and
destroyed_worker_func
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231030-ref_tracker_i915-v1-2-006fe6b96421@intel.com
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
