summaryrefslogtreecommitdiff
path: root/include/drm-uapi/i915_drm.h
AgeCommit message (Collapse)Author
2022-07-09vm_bind: import uapi definitionsNiranjana Vishwanathapura
Import required VM_BIND kernel uapi definitions. Signed-off-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
2022-06-14include/drm-uapi: Update to latest i915_drm.hJohn Harrison
Update to the latest master version of the DRM UAPI header file from git://anongit.freedesktop.org/git/drm/drm: c4955d9cd2fc Merge tag 'drm-intel-next-fixes-2022-05-24' of git://anongit.freedesktop.org/drm/drm-intel into drm-next Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
2021-11-11i915_drm.h sync with drm-nextMatthew Brost
Also delete PXP defines / structures from i915_drm_local.h. Taken from 806acd381960 ("Merge tag 'amd-drm-fixes-5.16-2021-11-03' of https://gitlab.freedesktop.org/agd5f/linux into drm-next") Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com>
2021-10-07i915_drm.h sync with drm-nextRodrigo Vivi
Let's do a catch-up on i915_drm.h here. Only on i915_drm.h for now so we can have a clean view of the LOCAL_ ones that we need to remove. Taken from 25fed6b324ac ("Merge tag 'drm-intel-gt-next-2021-08-06-1' of ssh://git.freedesktop.org/git/drm/drm-intel into drm-next") Cc: Petri Latvala <petri.latvala@intel.com> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Acked-by: Petri Latvala <petri.latvala@intel.com>
2021-10-06Revert include/drm-uapi/i915_drm.h back to a drm-next one.Rodrigo Vivi
That was my mistake during review and merge since I had ignored the rules documented at README.md and considered drm-intel branches would be enough. I'm sorry. Instead, I should had used the new lib/i915/i915_drm_local.h as Ashutosh pointed out. Fixes: 4d5f8bcd2e35 ("i915_drm.h sync") Cc: Ashutosh Dixit <ashutosh.dixit@intel.com> Cc: Alan Previn <alan.previn.teres.alexis@intel.com> Cc: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
2021-10-06i915_drm.h syncAlan Previn
Sync UAPI changes to get I915_PROTECTED_CONTENT_DEFAULT_SESSION value as well as GEM_CREATE_EXT's I915_OBJECT_PARAM_PROTECTED_CONTENT and GEM_CONTEXT_CREATE's I915_CONTEXT_PARAM_PROTECTED_CONTENT. Taken from kernel commit: commit d3ac8d42168a9be7380be8035df8b6d3780ec2a1 ("drm/i915/pxp: interfaces for using protected objects") Signed-off-by: Alan Previn <alan.previn.teres.alexis@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2021-09-02i915_drm.h syncTejas Upadhyay
Sync to get I915_MMAP_OFFSET_FIXED define value. Taken from kernel commit: commit 7961c5b60f23 ("drm/i915: Add TTM offset argument to mmap.") Acked-by: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
2021-05-27i915_drm.h syncMatthew Auld
Sync to get gem_create_ext and the regions query stuff. Generated from kernel commit: 2459e56fd8af ("drm/i915/uapi: implement object placement extension") Signed-off-by: Matthew Auld <matthew.auld@intel.com> Acked-by: Petri Latvala <petri.latvala@intel.com>
2020-12-17i915/perf_pmu: Exercise I915_PMU_SOFTWARE_GT_AWAKE_TIMEChris Wilson
Measure the sample gt-awake time while each engine and every engine is busy. They should all report the same duration, the elapsed runtime of the batch. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
2020-08-05drm-uapi: bump i915_drm.h for timeline semaphores testsLionel Landwerlin
Update i915_drm.h to dc61199c09b1e191ebf21e8e15fc23c280781088 Author: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Date: Tue Aug 4 11:59:54 2020 +0300 drm/i915: add syncobj timeline support to expose execbuffer extensions. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2020-03-27include/drm-uapi: Update i915_drm.h for perf OA APIsLionel Landwerlin
Add APIs to configure poll delay in perf OA. v2: (Umesh) - Remove interrupt and flush APIs - Change commit message v3: (Umesh) - Rebase - Rename uapi parameter used to set poll timer interval v4: - Update uapi comment to reflect the kerne uapi header (Ashutosh) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
2020-02-25i915: Exercise I915_CONTEXT_PARAM_RINGSIZEChris Wilson
I915_CONTEXT_PARAM_RINGSIZE specifies how large to create the command ringbuffer for logical ring contects. This directly affects the number of batches userspace can submit before blocking waiting for space. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
2019-12-04Sync i915_drm.hChris Wilson
Sync upto kernel commit cc662126b4134e25fcfb6cad480de0fa95a4d3d8 Author: Abdiel Janulgue <abdiel.janulgue@linux.intel.com> Date: Wed Dec 4 12:00:32 2019 +0000 drm/i915: Introduce DRM_I915_GEM_MMAP_OFFSET to expose MMAP_OFFSET_IOCTL Signed-off-by: Chris Wilson <ickle@braswell.alporthouse.com> Acked-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
2019-10-29i915_drm.h syncChris Wilson
Update to commit a0e047156cde ("drm/i915/gem: Make context persistence optional") for I915_CONTEXT_PARAM_PERSISTENCE Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Andi Shyti <andi.shyti@intel.com>
2019-05-22drm-uapi: Import i915_drm.h upto c5d3e39caa456b1e061644b739131f2b54c84c08Tvrtko Ursulin
commit c5d3e39caa456b1e061644b739131f2b54c84c08 Author: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Date: Wed May 22 10:00:54 2019 +0100 drm/i915: Engine discovery query Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
2019-05-22drm-uapi: Import i915_drm.h upto a88b6e4cbafdChris Wilson
commit a88b6e4cbafd6f23b3450c087acdbe23d90e7606 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue May 21 22:11:34 2019 +0100 drm/i915: Allow specification of parallel execbuf Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
2019-04-17i915: Update i915_drm.hChris Wilson
Copy uapi/i915_drm.h across from kernel commit d1172ab3d443e84ade75285f8c107bfac7e386d8 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Fri Apr 12 08:14:16 2019 +0100 drm/i915: Introduce struct class_instance for engines across the uAPI and adapt gem_ctx_sseu to match the new struct. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
2019-03-16lib/i915: Pretty print HW semaphoresChris Wilson
Include whether the scheduler is using HW semaphore assistance in our pretty debug strings, and make the caps known for requires. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>
2019-02-18drm-uapi: Update i915_drm.h for I915_CONTEXT_PARAM_RECOVERABLEChris Wilson
Copying i915_drm.h from commit ba4fda620a5f7db521aa9e0262cf49854c1b1d9c (HEAD -> drm-intel-next-queued, drm-intel/drm-intel-next-queued) Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Mon Feb 18 10:58:21 2019 +0000 drm/i915: Optionally disable automatic recovery after a GPU reset in order to expose the I915_CONTEXT_PARAM_RECOVERABLE for testing. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
2019-02-05headers: bumpTvrtko Ursulin
Sync with latest drm headers from drm-tip. Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
2018-12-04include/drm-uapi: bump headersLukasz Kalamarz
Taken from drm-next : commit 1ec28f8b8ada4e4f77d1af006a3a474f4f83b8e3 Merge: 61647c77cb15 2e6e902d1850 Author: Dave Airlie <airlied@redhat.com> Date: Thu Nov 29 10:34:03 2018 +1000 Merge v4.20-rc4 into drm-next Generated by 'make headers_install' Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz@intel.com>
2018-03-12include: bump drm uAPI headersLionel Landwerlin
Taken from drm-tip : commit 1e6aa7e55c28ecd842b8b4599e4273c2429ee061 Author: Jani Nikula <jani.nikula@intel.com> Date: Tue Mar 6 12:41:55 2018 +0200 drm/i915/icl: do not save DDI A/E sharing bit for ICL Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
2017-12-08include/drm-uapi: bump headersLionel Landwerlin
Taken from drm-next : commit 9c606cd4117a3c45e04a6616b1a0dbeb18eeee62 Merge: c5dd52f653fa 3997eea57caf Author: Dave Airlie <airlied@redhat.com> Date: Thu Dec 7 06:28:22 2017 +1000 Merge branch 'drm-next-4.16' of git://people.freedesktop.org/~agd5f/linux into drm-next Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2017-11-21headers: Import drm-next uapi headers.Eric Anholt
These will be used for tests that want to use a local copy of the headers instead of depending on libdrm releases. Taken from drm-next d65d31388a23 ("Merge tag 'drm-misc-next-fixes-2017-11-07' of git://anongit.freedesktop.org/drm/drm-misc into drm-next") See README for rules on updating these headers. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Acked-by: Petri Latvala <petri.latvala@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>