summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorDmitry Osipenko <dmitry.osipenko@collabora.com>2025-04-01 15:38:41 +0300
committerDmitry Osipenko <dmitry.osipenko@collabora.com>2025-04-01 23:11:54 +0300
commit7cf6dd467e87664f5b3f4ca7be324569464edf0b (patch)
treeb7c9673ddbad84722f685bf8c5a330fcef50f5e7 /tools/perf/scripts/python/exported-sql-viewer.py
parentd893da85e06edf54737bb80648bb58ba8fd56d9f (diff)
drm/virtio: Don't attach GEM to a non-created context in gem_object_open()
The vfpriv->ctx_id is always initialized to a non-zero value. Check whether context was created before attaching GEM to this context ID. This left unnoticed previously because host silently skips attachment if context doesn't exist, still we shouldn't do that for consistency. Fixes: 086b9f27f0ab ("drm/virtio: Don't create a context with default param if context_init is supported") Cc: <stable@vger.kernel.org> # v6.14+ Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com> Reviewed-by: Rob Clark <robdclark@gmail.com> Link: https://lore.kernel.org/r/20250401123842.2232205-1-dmitry.osipenko@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions