aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2021-06-21 15:38:56 +0200
committerBoris Brezillon <[email protected]>2021-06-24 09:25:56 +0200
commit7fdc48cc63a30fa3480d18bdd8c5fff2b9b15212 (patch)
treef27b690510267a2c25d52c2ea3867945fc8f265a /tools/perf/scripts/python
parent7601d53c2c49e3a7e8150e8cf332b3c17943f75a (diff)
drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv
Jobs can be in-flight when the file descriptor is closed (either because the process did not terminate properly, or because it didn't wait for all GPU jobs to be finished), and apparently panfrost_job_close() does not cancel already running jobs. Let's refcount the MMU context object so it's lifetime is no longer bound to the FD lifetime and running jobs can finish properly without generating spurious page faults. Reported-by: Icecream95 <[email protected]> Fixes: 7282f7645d06 ("drm/panfrost: Implement per FD address spaces") Cc: <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Steven Price <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions