✓ CI.checkpatch: success for drm/xe/oa: Disallow OA from being enabled on active exec_queue's
Patchwork
patchwork at emeril.freedesktop.org
Tue Nov 19 02:10:48 UTC 2024
== Series Details ==
Series: drm/xe/oa: Disallow OA from being enabled on active exec_queue's
URL : https://patchwork.freedesktop.org/series/141528/
State : success
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 71385fde4e53cde4c69862d34e8aa19ff60fb726
Author: Ashutosh Dixit <ashutosh.dixit at intel.com>
Date: Mon Nov 18 17:32:56 2024 -0800
drm/xe/oa: Disallow OA from being enabled on active exec_queue's
Enabling OA on an exec_queue toggles the OAC_CONTEXT_ENABLE bit in
CTXT_SR_CTL register. Toggling this bit changes the size and layout of the
underlying HW context image. Therefore, enabling OA on an already active
exec_queue (as currently implemented in xe) is an invalid operation and can
cause hangs. Therefore, disallow OA from being enabled on active
exec_queue's (here, by active we mean a context on which submissions have
previously happened).
Transition from 1 -> 0 for this bit was disallowed in
'0c8650b09a36 ("drm/xe/oa: Don't reset OAC_CONTEXT_ENABLE on OA stream
close")'. Here we disallow the 0 -> 1 transition on active contexts.
v2: Don't export exec_queue_enabled, define new xe_exec_queue_op (M Brost)
Directly check OAC_CONTEXT_ENABLE bit from context image (J Cavitt)
Bspec: 60314
Fixes: 2f4a730fcd2d ("drm/xe/oa: Add OAR support")
Cc: stable at vger.kernel.org
Signed-off-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
+ /mt/dim checkpatch 1fe9a6cc7d136c9a34c47ccd6ee5a2b7d02c0bd6 drm-intel
71385fde4e53 drm/xe/oa: Disallow OA from being enabled on active exec_queue's
More information about the Intel-xe
mailing list