]> git.itanic.dy.fi Git - linux-stable/commit
drm/xe: Replace PVC check by engine type check
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 23 May 2023 20:14:45 +0000 (13:14 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:34:10 +0000 (18:34 -0500)
commit4e40483644098ef75ea1344e5cdc9285e30c28ae
treee61b1b13c21ad47018a99cca933b2782e808930c
parentfb31517cd712f9a29608bc24fbcaf45d14e9c40e
drm/xe: Replace PVC check by engine type check

__emit_job_gen12_render_compute() masks some PIPE_CONTROL bits that
do not exist in platforms without render engine.
So here replacing the PVC check by something more generic that will
support any future platforms without render engine.

Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_ring_ops.c