CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Matthew Auld <[email protected]> TO: [email protected] CC: [email protected]
Hi Matthew, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on drm-tip/drm-tip] [cannot apply to drm-intel/for-linux-next drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next drm/drm-next v5.14-rc1 next-20210713] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Matthew-Auld/drm-i915-document-caching-related-bits/20210713-185026 base: git://anongit.freedesktop.org/drm/drm-tip drm-tip :::::: branch date: 2 hours ago :::::: commit date: 2 hours ago compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: cd tools/perf && ./check-headers.sh If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> perfheadercheck warnings: (new ones prefixed by >>) Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1351< * I915_CONTEXT_SET_ENGINES parameter and via perf, i.e. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1351> * I915_CONTEXT_PARAM_ENGINES context parameter and via perf, i.e. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1353< * reported as active itself. Some hardware may have parallel Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1354< * execution engines, e.g. multiple media engines, which are Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1355< * mapped to the same class identifier and so are not separately Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1356< * reported for busyness. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1353> * Some hardware may have parallel execution engines, e.g. multiple Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1354> * media engines, which are mapped to the same class identifier and so Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1355> * are not separately reported for busyness. >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1496< #define >> I915_MADV_WILLNEED 0 >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1497< #define >> I915_MADV_DONTNEED 1 >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1498< #define >> __I915_MADV_PURGED 2 /* internal state */ Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1499< Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1495> /** >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1496> * struct >> drm_i915_gem_madvise - Update the madvise hint for the object. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1497> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1498> * The kernel >> uses this to know when it can safely discard the backing pages for >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1499> * an object, >> when under memory pressure. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1500> */ >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1501< /** >> Handle of the buffer to change the backing store advice */ Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1502> /** >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1503> * >> @handle: Handle of the buffer to change the backing store advice for. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1504> */ >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1504< /* >> Advice: either the buffer will be needed again in the near future, >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1505< * >> or wont be and could be discarded under memory pressure. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1507> /** >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1508> * @madv: >> The madvise hint to set for the object. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1509> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1510> * >> Supported values: Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1511> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1512> * >> I915_MADV_WILLNEED: Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1513> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1514> * The >> buffer will be needed again in the near future. By default all >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1515> * >> objects are set as I915_MADV_WILLNEED. Once the pages become >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1516> * dirty, >> the kernel is no longer allowed to simply discard the pages, >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1517> * and >> instead can only resort to swapping the pages out, if under >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1518> * memory >> pressure, where the page contents must persist when swapping >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1519> * the >> pages back in. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1520> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1521> * >> I915_MADV_DONTNEED: Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1522> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1523> * The >> buffer wont be needed. The pages and their contents can be >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1524> * >> discarded under memory pressure. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1525> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1526> * Note >> that if the pages were discarded then the kernel updates the >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1527> * >> internal madvise value of the object to __I915_MADV_PURGED, which >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1528> * >> effectively kills the object, since all further requests to allocate >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1529> * pages >> for the object will be rejected. At this point a new object is >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1530> * >> needed. This will be reflected in @retained. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1532> #define I915_MADV_WILLNEED 0 Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1533> #define I915_MADV_DONTNEED 1 Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1534> #define __I915_MADV_PURGED 2 /* internal state */ >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1509< /** >> Whether the backing store still exists. */ Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1537> /** >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1538> * >> @retained: Whether the backing store still exists. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1539> * >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1540> * Set to >> false if the kernel purged the object and marked the object as >> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs >> from latest version at 'include/uapi/drm/i915_drm.h': 1541> * >> __I915_MADV_PURGED. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1542> */ Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1675> /* I915_CONTEXT_PARAM_NO_ZEROMAP has been removed. On the off chance Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1676> * someone somewhere has attempted to use it, never re-use this context Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1677> * param number. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1678> */ Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1726< /* Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1727< * I915_CONTEXT_PARAM_RINGSIZE: Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1728< * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1729< * Sets the size of the CS ringbuffer to use for logical ring contexts. This Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1730< * applies a limit of how many batches can be queued to HW before the caller Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1731< * is blocked due to lack of space for more commands. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1732< * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1733< * Only reliably possible to be set prior to first use, i.e. during Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1734< * construction. At any later point, the current execution must be flushed as Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1735< * the ring can only be changed while the context is idle. Note, the ringsize Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1736< * can be specified as a constructor property, see Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1737< * I915_CONTEXT_CREATE_EXT_SETPARAM, but can also be set later if required. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1738< * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1739< * Only applies to the current set of engine and lost when those engines Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1740< * are replaced by a new mapping (see I915_CONTEXT_PARAM_ENGINES). Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1741< * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1742< * Must be between 4 - 512 KiB, in intervals of page size [4 KiB]. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1743< * Default is 16 KiB. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1763> /* This API has been removed. On the off chance someone somewhere has Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1764> * attempted to use it, never re-use this context param number. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1831> /** Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1832> * DOC: Virtual Engine uAPI Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1833> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1834> * Virtual engine is a concept where userspace is able to configure a set of Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1835> * physical engines, submit a batch buffer, and let the driver execute it on any Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1836> * engine from the set as it sees fit. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1837> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1838> * This is primarily useful on parts which have multiple instances of a same Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1839> * class engine, like for example GT3+ Skylake parts with their two VCS engines. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1840> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1841> * For instance userspace can enumerate all engines of a certain class using the Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1842> * previously described `Engine Discovery uAPI`_. After that userspace can Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1843> * create a GEM context with a placeholder slot for the virtual engine (using Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1844> * `I915_ENGINE_CLASS_INVALID` and `I915_ENGINE_CLASS_INVALID_NONE` for class Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1845> * and instance respectively) and finally using the Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1846> * `I915_CONTEXT_ENGINES_EXT_LOAD_BALANCE` extension place a virtual engine in Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1847> * the same reserved slot. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1848> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1849> * Example of creating a virtual engine and submitting a batch buffer to it: Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1850> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1851> * .. code-block:: C Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1852> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1853> * I915_DEFINE_CONTEXT_ENGINES_LOAD_BALANCE(virtual, 2) = { Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1854> * .base.name = I915_CONTEXT_ENGINES_EXT_LOAD_BALANCE, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1855> * .engine_index = 0, // Place this virtual engine into engine map slot 0 Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1856> * .num_siblings = 2, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1857> * .engines = { { I915_ENGINE_CLASS_VIDEO, 0 }, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1858> * { I915_ENGINE_CLASS_VIDEO, 1 }, }, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1859> * }; Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1860> * I915_DEFINE_CONTEXT_PARAM_ENGINES(engines, 1) = { Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1861> * .engines = { { I915_ENGINE_CLASS_INVALID, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1862> * I915_ENGINE_CLASS_INVALID_NONE } }, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1863> * .extensions = to_user_pointer(&virtual), // Chains after load_balance extension Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1864> * }; Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1865> * struct drm_i915_gem_context_create_ext_setparam p_engines = { Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1866> * .base = { Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1867> * .name = I915_CONTEXT_CREATE_EXT_SETPARAM, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1868> * }, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1869> * .param = { Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1870> * .param = I915_CONTEXT_PARAM_ENGINES, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1871> * .value = to_user_pointer(&engines), Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1872> * .size = sizeof(engines), Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1873> * }, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1874> * }; Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1875> * struct drm_i915_gem_context_create_ext create = { Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1876> * .flags = I915_CONTEXT_CREATE_FLAGS_USE_EXTENSIONS, Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1877> * .extensions = to_user_pointer(&p_engines); Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1878> * }; Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1879> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1880> * ctx_id = gem_context_create_ext(drm_fd, &create); Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1881> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1882> * // Now we have created a GEM context with its engine map containing a Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1883> * // single virtual engine. Submissions to this slot can go either to Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1884> * // vcs0 or vcs1, depending on the load balancing algorithm used inside Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1885> * // the driver. The load balancing is dynamic from one batch buffer to Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1886> * // another and transparent to userspace. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1887> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1888> * ... Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1889> * execbuf.rsvd1 = ctx_id; Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1890> * execbuf.flags = 0; // Submits to index 0 which is the virtual engine Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1891> * gem_execbuf(drm_fd, &execbuf); Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1892> */ Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1893> Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1970> /** Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1971> * DOC: Context Engine Map uAPI Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1972> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1973> * Context engine map is a new way of addressing engines when submitting batch- Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1974> * buffers, replacing the existing way of using identifiers like `I915_EXEC_BLT` Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1975> * inside the flags field of `struct drm_i915_gem_execbuffer2`. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1976> * Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1977> * To use it created GEM contexts need to be configured with a list of engines Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1978> * the user is intending to submit to. This is accomplished using the Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1979> * `I915_CONTEXT_PARAM_ENGINES` parameter and `struct Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1980> * i915_context_param_engines`. Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h': 1981> * --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
