Skip to content

Commit

Permalink
[Decode] Try to enable xe drm build option to support XE KMD driver
Browse files Browse the repository at this point in the history
Signed-off-by: Xu, Zhengguo <[email protected]>
  • Loading branch information
Jexu committed Feb 2, 2024
1 parent 38e14b1 commit 795df74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 2 additions & 0 deletions media_driver/cmake/linux/media_feature_flags_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.

option (ENABLE_NEW_KMD "Enable NEW Linux KMD header files" ON)

# global flag for encode AVC_VME/HEVC_VME/MPEG2/VP8
bs_set_if_undefined(Encode_VME_Supported "yes")
# global flag for encode AVC_VDENC/HEVC_VDENC/VP9_VDENC/JPEG
Expand Down
7 changes: 2 additions & 5 deletions media_softlet/linux/common/os/media_srcs.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@ if(NOT CMAKE_WDDM_LINUX)

media_include_subdirectory(i915)

if(NOT ENABLE_PRODUCTION_KMD)
if(ENABLE_NEW_KMD)
media_include_subdirectory(xe)
endif()
if(ENABLE_NEW_KMD)
media_include_subdirectory(xe)
endif()


if(ENABLE_PRODUCTION_KMD)
media_include_subdirectory(i915_production)
endif()
Expand Down

0 comments on commit 795df74

Please sign in to comment.