mirror of
https://github.com/torvalds/linux.git
synced 2026-05-04 22:43:04 -04:00
drm/xe/gsc: Define GSCCS for MTL
Add the GSCCS to the media_xelpmp engine list. Note that since the GSCCS is only used with the GSC FW, we can consider it disabled if we don't have the FW available. v2: mark GSCCS as allowed on the media IP in kunit tests Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
This commit is contained in:
committed by
Rodrigo Vivi
parent
0881cbe040
commit
9897eb8555
@@ -33,13 +33,10 @@ static void check_media_ip(const struct xe_media_desc *media)
|
||||
struct kunit *test = xe_cur_kunit();
|
||||
u64 mask = media->hw_engine_mask;
|
||||
|
||||
/*
|
||||
* VCS and VECS engines are allowed on the media IP
|
||||
*
|
||||
* TODO: Add GSCCS once support is added to the driver.
|
||||
*/
|
||||
/* VCS, VECS and GSCCS engines are allowed on the media IP */
|
||||
mask &= ~(XE_HW_ENGINE_VCS_MASK |
|
||||
XE_HW_ENGINE_VECS_MASK);
|
||||
XE_HW_ENGINE_VECS_MASK |
|
||||
XE_HW_ENGINE_GSCCS_MASK);
|
||||
|
||||
/* Any remaining engines are an error */
|
||||
KUNIT_ASSERT_EQ(test, mask, 0);
|
||||
|
||||
Reference in New Issue
Block a user