]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/guc: Skip access counter queue init for unsupported platforms
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 25 Feb 2026 16:47:48 +0000 (22:17 +0530)
committerTejas Upadhyay <tejas.upadhyay@intel.com>
Tue, 3 Mar 2026 12:23:01 +0000 (17:53 +0530)
commit07eb8b54166b208ca23382d650b5262a26a4492b
treecac596dccce06403c8da214473003e535716e778
parent6bc6fec71ac45f52db609af4e62bdb96b9f5fadb
drm/xe/guc: Skip access counter queue init for unsupported platforms

Add a has_access_counter feature flag to the graphics IP descriptor
and skip writing parameters for the access counter queue in
guc_um_init_params(), leaving queue_params[2] zero-initialized
to signal unavailability to the GuC.

The queue_params[] array layout is fixed by firmware ABI, so we
maintain the structure with queues 0 and 1 (page fault request/response)
always configured, and queue 2 conditionally skipped based on the
has_access_counter flag.

Bspec: 59323
Cc: Stuart Summers <stuart.summers@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Suggested-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Varun Gupta <varun.gupta1@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patch.msgid.link/20260225164748.2302380-1-varun.gupta@intel.com
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_guc_ads.c
drivers/gpu/drm/xe/xe_pci.c
drivers/gpu/drm/xe/xe_pci_types.h