Index: MAINTAINERS.md =================================================================== --- /dev/null +++ MAINTAINERS.md @@ -0,0 +1,5 @@ +This file is used to indicate responsibility for the maintenance of this package. Individuals on this list should be the sole modifiers of the package, excluding cases where the Solus Team may need to perform necessary rebuilds, upgrades, or security fixes. This list should not be used for any direct contact usage. If you believe this package requires a package update, follow documentation from https://getsol.us/articles/packaging/request-a-package-update/en/. In the event this package no longer becomes sufficiently maintained, Core Team reserves the right to request a new maintainer or remove this package from the repository. + +- Campbell Jones + - IRC: serebit + - Email: dev@serebit.com Index: Makefile =================================================================== --- /dev/null +++ Makefile @@ -0,0 +1 @@ +include ../Makefile.common Index: abi_libs =================================================================== --- /dev/null +++ abi_libs @@ -0,0 +1 @@ +iHD_drv_video.so Index: abi_symbols =================================================================== --- /dev/null +++ abi_symbols @@ -0,0 +1,40 @@ +iHD_drv_video.so:CMRT_AddKernel +iHD_drv_video.so:CMRT_GetBufferIndex +iHD_drv_video.so:CMRT_GetSurface2DIndex +iHD_drv_video.so:CMRT_GetSurface3DIndex +iHD_drv_video.so:CMRT_ReadBuffer +iHD_drv_video.so:CMRT_ReadSurface2D +iHD_drv_video.so:CMRT_ReadSurface3D +iHD_drv_video.so:CMRT_SetKernelArgument +iHD_drv_video.so:CMRT_WaitForTaskFinished +iHD_drv_video.so:CMRT_WriteBuffer +iHD_drv_video.so:CMRT_WriteSurface2D +iHD_drv_video.so:CMRT_WriteSurface3D +iHD_drv_video.so:DdiMedia_ExtGetSurfaceHandle +iHD_drv_video.so:DdiMedia_HybridQueryBufferAttributes +iHD_drv_video.so:DdiMedia_MapBuffer2 +iHD_drv_video.so:MOS_GetMemNinjaCounter +iHD_drv_video.so:MOS_GetMemNinjaCounterGfx +iHD_drv_video.so:MOS_SetUltFlag +iHD_drv_video.so:_ZN12MosUtilities13MosSetUltFlagEh +iHD_drv_video.so:_ZN12MosUtilities21MosGetMemNinjaCounterEv +iHD_drv_video.so:_ZN12MosUtilities24MosGetMemNinjaCounterGfxEv +iHD_drv_video.so:__vaDriverInit_1_13 +iHD_drv_video.so:do_exec2 +iHD_drv_video.so:do_exec3 +iHD_drv_video.so:drmIoctl +iHD_drv_video.so:map_gtt +iHD_drv_video.so:mos_gem_bo_alloc_internal +iHD_drv_video.so:mos_gem_bo_clear_relocs +iHD_drv_video.so:mos_gem_bo_exec +iHD_drv_video.so:mos_gem_bo_free +iHD_drv_video.so:mos_gem_bo_is_exec_object_async +iHD_drv_video.so:mos_gem_bo_is_softpin +iHD_drv_video.so:mos_gem_bo_map +iHD_drv_video.so:mos_gem_bo_map_wc +iHD_drv_video.so:mos_gem_bo_unmap +iHD_drv_video.so:mos_gem_bo_unreference_final +iHD_drv_video.so:mos_gem_bo_wait +iHD_drv_video.so:mosdrmIoctl +iHD_drv_video.so:pfnUltGetCmdBuf +iHD_drv_video.so:vaCmExtSendReqMsg Index: abi_used_libs =================================================================== --- /dev/null +++ abi_used_libs @@ -0,0 +1,7 @@ +libc.so.6 +libdl.so.2 +libgcc_s.so.1 +libigdgmm.so.11 +libm.so.6 +libpthread.so.0 +libstdc++.so.6 Index: abi_used_symbols =================================================================== --- /dev/null +++ abi_used_symbols @@ -0,0 +1,207 @@ +libc.so.6:__cxa_atexit +libc.so.6:__fprintf_chk +libc.so.6:__isoc99_fscanf +libc.so.6:__libc_single_threaded +libc.so.6:__memcpy_chk +libc.so.6:__printf_chk +libc.so.6:__snprintf_chk +libc.so.6:__stack_chk_fail +libc.so.6:__strcpy_chk +libc.so.6:__vsnprintf_chk +libc.so.6:calloc +libc.so.6:clock_getres +libc.so.6:clock_gettime +libc.so.6:fclose +libc.so.6:feof +libc.so.6:fflush +libc.so.6:fopen +libc.so.6:fork +libc.so.6:fread +libc.so.6:free +libc.so.6:fseek +libc.so.6:ftell +libc.so.6:ftok +libc.so.6:getenv +libc.so.6:geteuid +libc.so.6:getpagesize +libc.so.6:getpid +libc.so.6:getuid +libc.so.6:ioctl +libc.so.6:kill +libc.so.6:localtime +libc.so.6:malloc +libc.so.6:memalign +libc.so.6:memchr +libc.so.6:memcmp +libc.so.6:memcpy +libc.so.6:memmove +libc.so.6:memset +libc.so.6:mmap +libc.so.6:munmap +libc.so.6:posix_memalign +libc.so.6:realloc +libc.so.6:semctl +libc.so.6:semget +libc.so.6:semop +libc.so.6:shmat +libc.so.6:shmctl +libc.so.6:shmdt +libc.so.6:shmget +libc.so.6:snprintf +libc.so.6:stat +libc.so.6:stderr +libc.so.6:stdout +libc.so.6:strchr +libc.so.6:strcmp +libc.so.6:strerror +libc.so.6:strlen +libc.so.6:strncmp +libc.so.6:strnlen +libc.so.6:strstr +libc.so.6:strtod +libc.so.6:strtok_r +libc.so.6:strtol +libc.so.6:strtoll +libc.so.6:syscall +libc.so.6:sysconf +libc.so.6:time +libc.so.6:usleep +libdl.so.2:dlclose +libdl.so.2:dlopen +libdl.so.2:dlsym +libgcc_s.so.1:_Unwind_Resume +libigdgmm.so.11:OpenGmm +libigdgmm.so.11:_ZN6GmmLib15GmmPageTableMgr14UpdateAuxTableEPK24__GMM_DDI_UPDATEAUXTABLE +libigdgmm.so.11:_ZN6GmmLib15GmmPageTableMgr17GetAuxL3TableAddrEv +libigdgmm.so.11:_ZN6GmmLib15GmmPageTableMgr18GetPageTableBOListEhPv +libigdgmm.so.11:_ZN6GmmLib15GmmPageTableMgr20GetNumOfPageTableBOsEh +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext11GetSkuTableEv +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext15GetPlatformInfoEv +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext19CreateResInfoObjectEP24GMM_RESCREATE_PARAMS_REC +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext19GetCachePolicyUsageEv +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext20DestroyResInfoObjectEPNS_18GmmResourceInfoLinE +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext21GetCachePolicyElementE28GMM_RESOURCE_USAGE_TYPE_ENUM +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext22CreatePageTblMgrObjectEP25_GMM_DEVICE_CALLBACKS_INTj +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext23DestroyPageTblMgrObjectEPNS_15GmmPageTableMgrE +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext25CreateCustomResInfoObjectEP32GMM_RESCREATE_CUSTOM_PARAMS__REC +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext26CachePolicyGetMemoryObjectEPNS_18GmmResourceInfoLinE28GMM_RESOURCE_USAGE_TYPE_ENUM +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext32GetSurfaceStateCompressionFormatE24GMM_RESOURCE_FORMAT_ENUM +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext37GetMediaSurfaceStateCompressionFormatE24GMM_RESOURCE_FORMAT_ENUM +libigdgmm.so.11:_ZN6GmmLib16GmmClientContext8IsPlanarE24GMM_RESOURCE_FORMAT_ENUM +libigdgmm.so.11:_ZN6GmmLib21GmmResourceInfoCommon18Is64KBPageSuitableEv +libigdgmm.so.11:_ZN6GmmLib21GmmResourceInfoCommon23IsArraySpacingSingleLodEv +libigdgmm.so.11:_ZN6GmmLib21GmmResourceInfoCommon6CpuBltEP20GMM_RES_COPY_BLT_REC +libigdgmm.so.11:_ZN6GmmLib21GmmResourceInfoCommon9GetOffsetER23GMM_REQ_OFFSET_INFO_REC +libigdgmm.so.11:_ZN6GmmLib21GmmResourceInfoCommon9GetQPitchEv +libm.so.6:cosf +libm.so.6:log +libm.so.6:log10 +libm.so.6:pow +libm.so.6:round +libm.so.6:sincosf +libm.so.6:sinf +libm.so.6:sqrt +libpthread.so.0:__errno_location +libpthread.so.0:close +libpthread.so.0:lseek +libpthread.so.0:open +libpthread.so.0:pthread_create +libpthread.so.0:pthread_mutex_destroy +libpthread.so.0:pthread_mutex_init +libpthread.so.0:pthread_mutex_lock +libpthread.so.0:pthread_mutex_unlock +libpthread.so.0:sem_destroy +libpthread.so.0:sem_init +libpthread.so.0:sem_post +libpthread.so.0:sem_timedwait +libpthread.so.0:sem_trywait +libpthread.so.0:sem_wait +libpthread.so.0:write +libstdc++.so.6:_ZNKSt12__basic_fileIcE7is_openEv +libstdc++.so.6:_ZNKSt5ctypeIcE13_M_widen_initEv +libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE17find_first_not_ofEcm +libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm +libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc +libstdc++.so.6:_ZNKSt8__detail20_Prime_rehash_policy14_M_need_rehashEmmm +libstdc++.so.6:_ZNSdD2Ev +libstdc++.so.6:_ZNSo3putEc +libstdc++.so.6:_ZNSo5flushEv +libstdc++.so.6:_ZNSo5writeEPKcl +libstdc++.so.6:_ZNSo9_M_insertIdEERSoT_ +libstdc++.so.6:_ZNSo9_M_insertImEERSoT_ +libstdc++.so.6:_ZNSt12__basic_fileIcED1Ev +libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode +libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv +libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev +libstdc++.so.6:_ZNSt13basic_filebufIcSt11char_traitsIcEED1Ev +libstdc++.so.6:_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev +libstdc++.so.6:_ZNSt6chrono3_V212steady_clock3nowEv +libstdc++.so.6:_ZNSt6localeC1Ev +libstdc++.so.6:_ZNSt6localeD1Ev +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_ +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_ +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_ +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEmmPKcm +libstdc++.so.6:_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev +libstdc++.so.6:_ZNSt8__detail15_List_node_base11_M_transferEPS0_S1_ +libstdc++.so.6:_ZNSt8__detail15_List_node_base4swapERS0_S1_ +libstdc++.so.6:_ZNSt8__detail15_List_node_base7_M_hookEPS0_ +libstdc++.so.6:_ZNSt8__detail15_List_node_base9_M_unhookEv +libstdc++.so.6:_ZNSt8ios_base4InitC1Ev +libstdc++.so.6:_ZNSt8ios_base4InitD1Ev +libstdc++.so.6:_ZNSt8ios_baseC2Ev +libstdc++.so.6:_ZNSt8ios_baseD2Ev +libstdc++.so.6:_ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E +libstdc++.so.6:_ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate +libstdc++.so.6:_ZSt11_Hash_bytesPKvmm +libstdc++.so.6:_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l +libstdc++.so.6:_ZSt16__throw_bad_castv +libstdc++.so.6:_ZSt17__throw_bad_allocv +libstdc++.so.6:_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base +libstdc++.so.6:_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base +libstdc++.so.6:_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base +libstdc++.so.6:_ZSt19__throw_logic_errorPKc +libstdc++.so.6:_ZSt20__throw_length_errorPKc +libstdc++.so.6:_ZSt20__throw_system_errori +libstdc++.so.6:_ZSt24__throw_out_of_range_fmtPKcz +libstdc++.so.6:_ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_ +libstdc++.so.6:_ZSt28__throw_bad_array_new_lengthv +libstdc++.so.6:_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_ +libstdc++.so.6:_ZSt7nothrow +libstdc++.so.6:_ZSt9terminatev +libstdc++.so.6:_ZTISt9bad_alloc +libstdc++.so.6:_ZTISt9exception +libstdc++.so.6:_ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE +libstdc++.so.6:_ZTTSt14basic_ofstreamIcSt11char_traitsIcEE +libstdc++.so.6:_ZTVN10__cxxabiv117__class_type_infoE +libstdc++.so.6:_ZTVN10__cxxabiv120__si_class_type_infoE +libstdc++.so.6:_ZTVN10__cxxabiv121__vmi_class_type_infoE +libstdc++.so.6:_ZTVNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEEE +libstdc++.so.6:_ZTVNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE +libstdc++.so.6:_ZTVSt13basic_filebufIcSt11char_traitsIcEE +libstdc++.so.6:_ZTVSt14basic_ofstreamIcSt11char_traitsIcEE +libstdc++.so.6:_ZTVSt15basic_streambufIcSt11char_traitsIcEE +libstdc++.so.6:_ZTVSt9basic_iosIcSt11char_traitsIcEE +libstdc++.so.6:_ZdaPv +libstdc++.so.6:_ZdlPv +libstdc++.so.6:_ZdlPvRKSt9nothrow_t +libstdc++.so.6:_Znam +libstdc++.so.6:_ZnamRKSt9nothrow_t +libstdc++.so.6:_Znwm +libstdc++.so.6:_ZnwmRKSt9nothrow_t +libstdc++.so.6:__cxa_bad_cast +libstdc++.so.6:__cxa_bad_typeid +libstdc++.so.6:__cxa_begin_catch +libstdc++.so.6:__cxa_end_catch +libstdc++.so.6:__cxa_guard_abort +libstdc++.so.6:__cxa_guard_acquire +libstdc++.so.6:__cxa_guard_release +libstdc++.so.6:__cxa_rethrow +libstdc++.so.6:__cxa_throw_bad_array_new_length +libstdc++.so.6:__dynamic_cast +libstdc++.so.6:__gxx_personality_v0 Index: files/0001-Set-BUILD_TYPE-to-CMAKE_BUILD_TYPE-if-undefined.patch =================================================================== --- /dev/null +++ files/0001-Set-BUILD_TYPE-to-CMAKE_BUILD_TYPE-if-undefined.patch @@ -0,0 +1,49 @@ +From 4f65ec3f167c72296b1ee8c85133313bfe400f10 Mon Sep 17 00:00:00 2001 +From: Reilly Brogan +Date: Sun, 11 Apr 2021 00:50:42 -0500 +Subject: [PATCH] Set BUILD_TYPE to CMAKE_BUILD_TYPE if undefined + +--- + Tools/bldsys/include/bs_base_utils.cmake | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/Tools/bldsys/include/bs_base_utils.cmake b/Tools/bldsys/include/bs_base_utils.cmake +index 4aebc03b..7b570293 100644 +--- a/Tools/bldsys/include/bs_base_utils.cmake ++++ b/Tools/bldsys/include/bs_base_utils.cmake +@@ -55,11 +55,14 @@ function(bs_check_build_type) + if(NOT DEFINED BUILD_TYPE OR "${BUILD_TYPE}" STREQUAL "") + if(DEFINED UFO_BUILD_TYPE AND NOT "${UFO_BUILD_TYPE}" STREQUAL "") + set(BUILD_TYPE "${UFO_BUILD_TYPE}") ++ elseif (NOT "${CMAKE_BUILD_TYPE}" STREQUAL "") ++ set(BUILD_TYPE "${CMAKE_BUILD_TYPE}") + else() + message("*BUILD_TYPE not defined, default to: release") + set(BUILD_TYPE "release") + endif() + endif() ++ set(ORIGINAL_BUILD_TYPE "${BUILD_TYPE}") + string(TOLOWER "${BUILD_TYPE}" BUILD_TYPE) + + if ("${BUILD_TYPE}" STREQUAL "release") +@@ -69,7 +72,7 @@ function(bs_check_build_type) + elseif ("${BUILD_TYPE}" STREQUAL "debug") + set(_val_cmake_build_type "Debug") + else() +- set(_val_cmake_build_type "${BUILD_TYPE}") ++ set(_val_cmake_build_type "${ORIGINAL_BUILD_TYPE}") + endif() + + if(DEFINED CMAKE_BUILD_TYPE AND NOT CMAKE_BUILD_TYPE STREQUAL "") +@@ -78,7 +81,7 @@ function(bs_check_build_type) + # in Linux legacy build system: + # In invocation of Source/instrumentation/instr.cmake : + # Inconsistent: BUILD_TYPE="release-internal" vs CMAKE_BUILD_TYPE="Release" +- message(WARNING "Inconsistent: BUILD_TYPE=\"${BUILD_TYPE}\" vs CMAKE_BUILD_TYPE=\"${CMAKE_BUILD_TYPE}\"") ++ message(WARNING "Inconsistent: BUILD_TYPE=\"${ORIGINAL_BUILD_TYPE}\" vs CMAKE_BUILD_TYPE=\"${CMAKE_BUILD_TYPE}\"") + endif() + else() + set(CMAKE_BUILD_TYPE "${_val_cmake_build_type}") +-- +2.30.2 + Index: package.yml =================================================================== --- /dev/null +++ package.yml @@ -0,0 +1,30 @@ +name : intel-media-driver +version : 21.3.5 +release : 1 +source : + - https://github.com/intel/media-driver/archive/refs/tags/intel-media-21.3.5.tar.gz : 182925ed21c0a9843a63865e34dc35bf713294260d14ceb29e8de0de2e34733f +license : + - MIT + - BSD-3-Clause +component : xorg.display +homepage : https://github.com/intel/media-driver +summary : VA-API driver for Intel Gen graphics +description: | + The Intel Media Driver is a VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for Intel Gen based graphics hardware. +builddeps : + - pkgconfig(igdgmm) + - pkgconfig(libva) + - pkgconfig(pciaccess) +setup : | + %patch -Np1 < "$pkgfiles/0001-Set-BUILD_TYPE-to-CMAKE_BUILD_TYPE-if-undefined.patch" + rm -f Tools/MediaDriverTools/UMDPerfProfiler/MediaPerfParser + + export CXXFLAGS="$(echo "$CXXFLAGS" | sed -e 's/-Wall //')" + %cmake_ninja -Wno-dev \ + -DCMAKE_INSTALL_LIBDIR="%libdir%" \ + -DBUILD_CMRTLIB:BOOL=False \ + -DMEDIA_RUN_TEST_SUITE:BOOL=False +build : | + %ninja_build +install : | + %ninja_install Index: pspec_x86_64.xml =================================================================== --- /dev/null +++ pspec_x86_64.xml @@ -0,0 +1,36 @@ + + + intel-media-driver + https://github.com/intel/media-driver + + Campbell Jones + dev@serebit.com + + MIT + BSD-3-Clause + xorg.display + VA-API driver for Intel Gen graphics + The Intel Media Driver is a VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for Intel Gen based graphics hardware. + + https://getsol.us/sources/README.Solus + + + intel-media-driver + VA-API driver for Intel Gen graphics + The Intel Media Driver is a VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for Intel Gen based graphics hardware. + + xorg.display + + /usr/lib64/dri/iHD_drv_video.so + + + + + 2021-12-25 + 21.3.5 + Packaging update + Campbell Jones + dev@serebit.com + + + \ No newline at end of file