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

[Media Common] Add non-free build info inside the vendor string #1735

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
3 changes: 3 additions & 0 deletions media_driver/cmake/linux/media_feature_flags_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ endif()

if(NOT ENABLE_NONFREE_KERNELS)
add_definitions(-D_FULL_OPEN_SOURCE)
add_definitions(-DBUILD_DETAILS="")
else()
add_definitions(-DBUILD_DETAILS="non-free")
endif()

if(ENABLE_NEW_KMD AND NOT ENABLE_PRODUCTION_KMD)
Expand Down
2 changes: 1 addition & 1 deletion media_driver/linux/common/ddi/media_libva.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
#endif
#define DDI_CODEC_GEN_MAX_ATTRIBS_TYPE 4 //VAConfigAttribRTFormat, VAConfigAttribRateControl, VAConfigAttribDecSliceMode, VAConfigAttribEncPackedHeaders

#define DDI_CODEC_GEN_STR_VENDOR "Intel iHD driver for Intel(R) Gen Graphics - " MEDIA_VERSION " (" MEDIA_VERSION_DETAILS ")"
#define DDI_CODEC_GEN_STR_VENDOR "Intel iHD driver for Intel(R) Gen Graphics - " MEDIA_VERSION " (" MEDIA_VERSION_DETAILS BUILD_DETAILS ")"

#define DDI_CODEC_GET_VTABLE(ctx) (ctx->vtable)
#define DDI_CODEC_GET_VTABLE_VPP(ctx) (ctx->vtable_vpp)
Expand Down