Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Decode] Do not report AV1d support in free kernel build on TGLx and DG2 #1862

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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