Skip to content

Commit

Permalink
[Decode] Do not report AV1d support in free kernel build on TGLx and DG2
Browse files Browse the repository at this point in the history
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
  • Loading branch information
nyanmisaka authored and intel-mediadev committed Jan 7, 2025
1 parent 14c241a commit 9b1f173
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions media_driver/linux/Xe_M/ddi/media_sku_wa_xe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ static struct LinuxCodecInfo XehpSdvCodecInfo =
.vp8Encoding = 0,
.hevcVdenc = 0,
.vp9Vdenc = 0,
.adv0Decoding = 1,
.adv1Decoding = 1,
.adv0Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
.adv1Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
};

static struct LinuxCodecInfo Dg2CodecInfo =
Expand All @@ -96,8 +96,8 @@ static struct LinuxCodecInfo Dg2CodecInfo =
.vp8Encoding = 0,
.hevcVdenc = 1,
.vp9Vdenc = 1,
.adv0Decoding = 1,
.adv1Decoding = 1,
.adv0Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
.adv1Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
};

static struct LinuxCodecInfo PvcCodecInfo =
Expand Down Expand Up @@ -131,8 +131,8 @@ static struct LinuxCodecInfo PvcCodecInfo =
.hevcVdenc = 0,
.vp9Vdenc = 0,
#endif
.adv0Decoding = 1,
.adv1Decoding = 1,
.adv0Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
.adv1Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
};

static bool InitTglMediaSkuExt(struct GfxDeviceInfo *devInfo,
Expand Down
4 changes: 2 additions & 2 deletions media_driver/linux/gen12/ddi/media_sku_wa_g12.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ static struct LinuxCodecInfo tglCodecInfo =
.vp8Encoding = 0,
.hevcVdenc = 1,
.vp9Vdenc = 1,
.adv0Decoding = 1,
.adv1Decoding = 1,
.adv0Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
.adv1Decoding = SET_STATUS_BY_FULL_OPEN_SOURCE(1, 0),
};

static bool InitTglMediaSku(struct GfxDeviceInfo *devInfo,
Expand Down

0 comments on commit 9b1f173

Please sign in to comment.