Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: intel/gmmlib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: fancybits/gmmlib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fancybits
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 23 files changed
  • 2 contributors

Commits on Aug 8, 2019

  1. Build static library

    tmm1 authored Aug 8, 2019
    Configuration menu
    Copy the full SHA
    654af97 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2020

  1. Merge tag 'intel-gmmlib-20.3.3' into fancybits

    Intel Graphics Memory Management Library 2020 Q3 Release 3.
    tmm1 committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    ab75276 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2022

  1. <malloc.h> is deprecated by POSIX and not required here

    In file included from Source/GmmLib/ULT/GmmAuxTableULT.cpp:25:
    In file included from Source/GmmLib/ULT/./GmmAuxTableULT.h:33:
    /usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
     #error "<malloc.h> has been replaced by <stdlib.h>"
      ^
    jbeich committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    530bda0 View commit details
    Browse the repository at this point in the history
  2. <linux/limits.h> is implicitly included via <limits.h> but not requir…

    …ed here
    
    Source/GmmLib/Utility/GmmLog/GmmLog.cpp:36:10: fatal error: 'linux/limits.h' file not found
     #include <linux/limits.h>
              ^~~~~~~~~~~~~~~~
    jbeich committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    8e88fa4 View commit details
    Browse the repository at this point in the history
  3. Avoid -ldl if not required or not supported

    ld: error: unable to find library -ldl
    jbeich committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    2cadaa5 View commit details
    Browse the repository at this point in the history
  4. __sync* are GCC/Clang atomic builtins supported on any platform

    In file included from Source/GmmLib/Platform/GmmGen11Platform.cpp:23:
    In file included from Source/GmmLib/inc/Internal/Common/GmmLibInc.h:35:
    In file included from Source/GmmLib/inc/External/Common/GmmCachePolicy.h:332:
    Source/GmmLib/inc/External/Common/GmmCachePolicyCommon.h:74:13: error: control reaches end of non-void function [-Werror,-Wreturn-type]
                }
                ^
    
    Source/GmmLib/GlobalInfo/GmmInfo.cpp:600:1: error: non-void function does not return a value in all control paths [-Werror,-Wreturn-type]
    }
    ^
    Source/GmmLib/GlobalInfo/GmmInfo.cpp:635:5: error: expected 'while' in do/while loop
        else
        ^
    Source/GmmLib/GlobalInfo/GmmInfo.cpp:616:9: note: to match this 'do'
            do
            ^
    Source/GmmLib/GlobalInfo/GmmInfo.cpp:803:18: error: qualified reference to 'Context' is a constructor name rather than a type in this context
    GmmLib::Context::Context()
                     ^
    Source/GmmLib/GlobalInfo/GmmInfo.cpp:804:5: error: expected ';' after expression
        : ClientType(),
        ^
    [...]
    jbeich committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    9e844d7 View commit details
    Browse the repository at this point in the history
  5. Relax Linux checks for the code works on any non-Windows platform

    In file included from Source/GmmLib/CachePolicy/GmmCachePolicy.cpp:23:
    In file included from Source/GmmLib/inc/Internal/Common/GmmLibInc.h:58:
    In file included from Source/GmmLib/inc/External/Common/GmmResourceInfo.h:91:
    In file included from Source/GmmLib/inc/External/Common/../Linux/GmmResourceInfoLin.h:26:
    In file included from Source/GmmLib/inc/External/Common/../Linux/../Common/GmmResourceInfoCommon.h:32:
    Source/GmmLib/inc/External/Common/GmmClientContext.h:59:5: error: unknown type name 'GMM_DEVICE_CALLBACKS_INT'
        GMM_DEVICE_CALLBACKS_INT     *pDeviceCb;
        ^
    Source/GmmLib/inc/External/Common/GmmClientContext.h:85:9: error: unknown type name 'GMM_DEVICE_CALLBACKS_INT'
            GMM_DEVICE_CALLBACKS_INT          DeviceCB;       //OS-specific defn: Will be used by Clients to send as input arguments.
            ^
    Source/GmmLib/inc/External/Common/GmmClientContext.h:139:80: error: unknown type name 'GMM_DEVICE_CALLBACKS_INT'
            GMM_VIRTUAL GMM_PAGETABLE_MGR* GMM_STDCALL      CreatePageTblMgrObject(GMM_DEVICE_CALLBACKS_INT* pDevCb, uint32_t TTFlags);
                                                                                   ^
    Source/GmmLib/inc/External/Common/GmmClientContext.h:154:57: error: unknown type name 'GMM_DEVICE_CALLBACKS_INT'
                                                            GMM_DEVICE_CALLBACKS_INT* pDevCb,
                                                            ^
    In file included from Source/GmmLib/CachePolicy/GmmCachePolicy.cpp:23:
    In file included from Source/GmmLib/inc/Internal/Common/GmmLibInc.h:62:
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:56:5: error: unknown type name 'GMM_UMD_SYNCCONTEXT'; did you mean 'GMM_UMD_CONTEXT'?
        GMM_UMD_SYNCCONTEXT * UmdContext;     // [in]  pointer to thread-specific data, specifying BBQHandle/Fence etc
        ^~~~~~~~~~~~~~~~~~~
        GMM_UMD_CONTEXT
    Source/GmmLib/inc/External/Common/GmmInfo.h:58:3: note: 'GMM_UMD_CONTEXT' declared here
    } GMM_UMD_CONTEXT;
      ^
    In file included from Source/GmmLib/CachePolicy/GmmCachePolicy.cpp:23:
    In file included from Source/GmmLib/inc/Internal/Common/GmmLibInc.h:62:
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:72:9: error: unknown type name 'HANDLE'
            HANDLE BBQueueHandle;
            ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:75:21: error: unknown type name 'HANDLE'
            SyncInfoLin(HANDLE Handle, uint64_t Fence) {}
                        ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:115:9: error: unknown type name 'GMM_DEVICE_CALLBACKS'
            GMM_DEVICE_CALLBACKS DeviceCb;       //OS-specific defn: Will be used by Clients to send as input arguments for TR-TT APIs
            ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:116:9: error: unknown type name 'GMM_DEVICE_CALLBACKS_INT'
            GMM_DEVICE_CALLBACKS_INT DeviceCbInt;       //OS-specific defn: Will be used internally GMM lib
            ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:117:9: error: unknown type name 'GMM_TRANSLATIONTABLE_CALLBACKS'
            GMM_TRANSLATIONTABLE_CALLBACKS TTCb; //OS-specific defn
            ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:118:9: error: unknown type name 'HANDLE'
            HANDLE hCsr;  // OCL per-device command stream receiver handle for aubcapture
            ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:121:25: error: unknown type name 'GMM_DEVICE_CALLBACKS_INT'
            GmmPageTableMgr(GMM_DEVICE_CALLBACKS_INT *, uint32_t TTFlags, GmmClientContext  *pClientContextIn); // Allocates memory for indicate TT’s root-tables, initializes common node-pool
                            ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:128:60: error: unknown type name 'HANDLE'
            GMM_VIRTUAL GMM_STATUS InitContextAuxTableRegister(HANDLE initialBBHandle, GMM_ENGINE_TYPE engType); //Clients call it to update Aux-Table pointer in context-image, engType reqd. if @ context level
                                                               ^
    Source/GmmLib/inc/External/Common/GmmPageTableMgr.h:133:46: error: unknown type name 'GMM_UMD_SYNCCONTEXT'; did you mean 'GMM_UMD_CONTEXT'?
            GMM_VIRTUAL void __ReleaseUnusedPool(GMM_UMD_SYNCCONTEXT *UmdContext);
                                                 ^~~~~~~~~~~~~~~~~~~
                                                 GMM_UMD_CONTEXT
    Source/GmmLib/inc/External/Common/GmmInfo.h:58:3: note: 'GMM_UMD_CONTEXT' declared here
    } GMM_UMD_CONTEXT;
      ^
    jbeich committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    a9e16c4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ffe31a2 View commit details
    Browse the repository at this point in the history
  7. Avoid __fastcall conflicting with system definition

    In file included from media_driver/agnostic/common/cm/cm_hal_hashtable.cpp:36:
    In file included from media_driver/agnostic/common/cm/cm_hal_hashtable.h:29:
    In file included from media_driver/agnostic/common/os/mos_os.h:31:
    In file included from media_driver/linux/common/os/media_skuwa_specific.h:32:
    In file included from media_driver/linux/common/os/linux_shadow_skuwa.h:31:
    In file included from /usr/local/include/igdgmm/GmmLib/inc/GmmLib.h:30:
    /usr/local/include/igdgmm/inc/portable_compiler.h:33:13: error: '__fastcall' macro redefined [-Werror,-Wmacro-redefined]
        #define __fastcall
                ^
    /usr/include/sys/cdefs.h:372:9: note: previous definition is here
     #define __fastcall      __attribute__((__fastcall__))
             ^
    jbeich committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    0673cfc View commit details
    Browse the repository at this point in the history
  8. Switch to optimized ffsl supported on more platforms

    In file included from Source/GmmLib/TranslationTable/GmmAuxTable.cpp:30:
    Source/GmmLib/TranslationTable/../TranslationTable/GmmUmdTranslationTable.h: In function ‘int _BitScanForward(uint32_t*, uint32_t)’:
    Source/GmmLib/TranslationTable/../TranslationTable/GmmUmdTranslationTable.h:63:9: error: ‘ffsl’ was not declared in this scope
         i = ffsl(mask);
             ^~~~
    Source/GmmLib/TranslationTable/../TranslationTable/GmmUmdTranslationTable.h:63:9: note: suggested alternative: ‘ffs’
         i = ffsl(mask);
             ^~~~
             ffs
    jbeich committed Jun 25, 2022
    Configuration menu
    Copy the full SHA
    877eaea View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Merge tag 'intel-gmmlib-22.1.8' into fancybits

    Intel Graphics Memory Management Library 22.1.8
    tmm1 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    8f71eb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec914f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a5d560f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2024

  1. Merge tag 'intel-gmmlib-22.5.2' into fancybits

    Intel Graphics Memory Management Library 22.5.2
    tmm1 committed Nov 10, 2024
    Configuration menu
    Copy the full SHA
    89a27ee View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2025

  1. Merge tag 'intel-gmmlib-22.8.0' into fancybits

    Intel Graphics Memory Management Library 22.8.0
    tmm1 committed Aug 15, 2025
    Configuration menu
    Copy the full SHA
    31befe5 View commit details
    Browse the repository at this point in the history
  2. Merge tag 'intel-gmmlib-22.8.1' into fancybits

    Intel Graphics Memory Management Library 22.8.1
    tmm1 committed Aug 15, 2025
    Configuration menu
    Copy the full SHA
    3f59261 View commit details
    Browse the repository at this point in the history
Loading