]> Git Repo - J-linux.git/commitdiff
drm/xe/gsc: define GSCCS for LNL
authorDaniele Ceraolo Spurio <[email protected]>
Fri, 19 Apr 2024 18:34:12 +0000 (11:34 -0700)
committerDaniele Ceraolo Spurio <[email protected]>
Wed, 1 May 2024 17:47:20 +0000 (10:47 -0700)
LNL has 1 GSCCS, same as MTL. Note that the GSCCS will be disabled until
we have a GSC FW defined, but having it in the list of engine is a
requirement to add such definition.

v2: rebase

Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Reviewed-by: Shekhar Chauhan <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/xe/xe_pci.c

index fb20c98285633834eeb437536c68c275be6c08a7..d0d4d8f9749c70c02f9521752d446668f7072a90 100644 (file)
@@ -211,7 +211,8 @@ static const struct xe_media_desc media_xe2 = {
        .name = "Xe2_LPM / Xe2_HPM",
        .hw_engine_mask =
                GENMASK(XE_HW_ENGINE_VCS7, XE_HW_ENGINE_VCS0) |
-               GENMASK(XE_HW_ENGINE_VECS3, XE_HW_ENGINE_VECS0), /* TODO: GSC0 */
+               GENMASK(XE_HW_ENGINE_VECS3, XE_HW_ENGINE_VECS0) |
+               BIT(XE_HW_ENGINE_GSCCS0)
 };
 
 static const struct xe_device_desc tgl_desc = {
This page took 0.055325 seconds and 4 git commands to generate.