mirror of
https://github.com/torvalds/linux.git
synced 2026-04-20 15:53:59 -04:00
Enable only one CCS engine by default with all the compute sices allocated to it. While generating the list of UABI engines to be exposed to the user, exclude any additional CCS engines beyond the first instance. This change can be tested with igt i915_query. Fixes:d2eae8e98d("drm/i915/dg2: Drop force_probe requirement") Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Cc: Chris Wilson <chris.p.wilson@linux.intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Cc: Matt Roper <matthew.d.roper@intel.com> Cc: <stable@vger.kernel.org> # v6.2+ Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Acked-by: Michal Mrozek <michal.mrozek@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240328073409.674098-4-andi.shyti@linux.intel.com (cherry picked from commit2bebae0112) Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
14 lines
254 B
C
14 lines
254 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_GT_CCS_MODE_H__
|
|
#define __INTEL_GT_CCS_MODE_H__
|
|
|
|
struct intel_gt;
|
|
|
|
void intel_gt_apply_ccs_mode(struct intel_gt *gt);
|
|
|
|
#endif /* __INTEL_GT_CCS_MODE_H__ */
|