]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: move the kernel lrc from hwe to execlist port
authorIlia Levi <ilia.levi@intel.com>
Mon, 26 Aug 2024 10:06:55 +0000 (13:06 +0300)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 28 Aug 2024 18:50:13 +0000 (14:50 -0400)
commitaeb4ae66cb50faddf60be9297d0d5d392aacdd3e
tree411a89b0476664e8ff41fd2375abe1f9a5f2c744
parent3adcf970dc7ec0469ec3116a5a8be9161d17a335
drm/xe: move the kernel lrc from hwe to execlist port

The kernel lrc is used solely by the execlist infra.
Move it to the execlist port struct and initialize it only when
execlists are used.

v2: Rebase, improve error handling readability (Jonathan)

Signed-off-by: Ilia Levi <ilia.levi@intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240826100655.1719060-1-ilia.levi@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_execlist.c
drivers/gpu/drm/xe/xe_execlist_types.h
drivers/gpu/drm/xe/xe_hw_engine.c
drivers/gpu/drm/xe/xe_hw_engine_types.h