search for: i915_drm

Displaying 20 results from an estimated 44 matches for "i915_drm".

Did you mean: i915_drv
2016 Apr 21
0
[PATCH 07/24] drm/i915: add extern C guard for the UAPI header
Cc: Daniel Vetter <daniel.vetter at intel.com> Cc: Jani Nikula <jani.nikula at linux.intel.com> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com> --- include/uapi/drm/i915_drm.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/uapi/drm/i915_drm.h b/include/uapi/drm/i915_drm.h index a5524cc..c17d63d 100644 --- a/include/uapi/drm/i915_drm.h +++ b/include/uapi/drm/i915_drm.h @@ -29,6 +29,10 @@ #include "drm.h" +#if defined(__cplusplus) +ext...
2016 Apr 21
25
[PATCH 00/24] drm: add extern C guard for the UAPI headers
...plus) extern "C" { #endif struct foo { int bar; ... }; ... #if defined(__cplusplus) } #endif In order to work around the lack of these users can wrap the header inclusion in the same way. For example: ... #if defined(__cplusplus) extern "C" { #endif #include <i915_drm.h> #if defined(__cplusplus) } #endif Yet we should avoid this approach, as it might cause issues [1] [2] [3]. Thus here is a series which systematically updates all the UAPI headers in one go. I would prefer if we get this merged in one go. Daniel, is it possible to go through drm-misc ?...
2020 Mar 03
1
[PATCH][next] drm: Replace zero-length array with flexible-array member
...| 2 +- >> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 2 +- >> drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 2 +- >> include/drm/bridge/mhl.h | 4 ++-- >> include/drm/drm_displayid.h | 2 +- >> include/uapi/drm/i915_drm.h | 4 ++-- > > Not sure it's worth touching uapi headers. They're full of both [0] and > []. Again, please at least split it to a separate patch to be decided > separately. > Yeah, it's worth it; the purpose of these patches is to replace [0] with []...
2023 Dec 25
2
[PATCH -next] drm/nouveau: uapi: fix kerneldoc warnings
...UN_ASYNC' description in 'drm_nouveau_vm_bind' The problem is that these values are #define constants, but had kerneldoc comments attached to them as if they were actual struct members. There are a number of ways we could fix this, but I chose to draw inspiration from include/uapi/drm/i915_drm.h, which pulls them into the corresponding kerneldoc comment for the struct member that they are intended to be used with. To keep the diff readable, there are a number of things I _didn't_ do in this patch, but which we should also consider: - This is pretty good documentation, but it ends u...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...6 +++--- include/uapi/drm/drm_fourcc.h | 6 +++--- include/uapi/drm/drm_mode.h | 6 +++--- include/uapi/drm/drm_sarea.h | 6 +++--- include/uapi/drm/exynos_drm.h | 6 +++--- include/uapi/drm/i810_drm.h | 6 +++--- include/uapi/drm/i915_drm.h | 6 +++--- include/uapi/drm/mga_drm.h | 6 +++--- include/uapi/drm/nouveau_drm.h | 6 +++--- include/uapi/drm/omap_drm.h | 6 +++--- include/uapi/drm/qxl_drm.h | 6 +++--- include/uapi/drm/r128_drm.h | 6 +++--- i...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...6 +++--- include/uapi/drm/drm_fourcc.h | 6 +++--- include/uapi/drm/drm_mode.h | 6 +++--- include/uapi/drm/drm_sarea.h | 6 +++--- include/uapi/drm/exynos_drm.h | 6 +++--- include/uapi/drm/i810_drm.h | 6 +++--- include/uapi/drm/i915_drm.h | 6 +++--- include/uapi/drm/mga_drm.h | 6 +++--- include/uapi/drm/nouveau_drm.h | 6 +++--- include/uapi/drm/omap_drm.h | 6 +++--- include/uapi/drm/qxl_drm.h | 6 +++--- include/uapi/drm/r128_drm.h | 6 +++--- i...
2013 Aug 02
3
[PATCH trivial] include: uapi: standard all files' macro prefix and suffix, excluding "linux/" sub-directory
...6 +++--- include/uapi/drm/drm_fourcc.h | 6 +++--- include/uapi/drm/drm_mode.h | 6 +++--- include/uapi/drm/drm_sarea.h | 6 +++--- include/uapi/drm/exynos_drm.h | 6 +++--- include/uapi/drm/i810_drm.h | 6 +++--- include/uapi/drm/i915_drm.h | 6 +++--- include/uapi/drm/mga_drm.h | 6 +++--- include/uapi/drm/nouveau_drm.h | 6 +++--- include/uapi/drm/omap_drm.h | 6 +++--- include/uapi/drm/qxl_drm.h | 6 +++--- include/uapi/drm/r128_drm.h | 6 +++--- i...
2012 Aug 11
0
[ANNOUNCE] libdrm 2.4.38
...libdrm/nouveau: add prime handle->bo and bo->handle support. intel: add prime interface for getting/setting a prime bo. (v4) Eric Anholt (4): intel: Quiet valgrind warnings in context creation. Drop "-Wunsafe-loop-optimizations". intel: Import updated i915_drm.h. intel: Add a function for the new register read ioctl. Kenneth Graunke (1): intel: Change context create failure message to from fprintf to DBG(). Laurent Pinchart (8): modetest: Unify buffer allocation modetest: Add SMPTE test pattern modetest: Add test pattern s...
2023 Dec 25
2
[PATCH -next] drm/nouveau: uapi: fix kerneldoc warnings
...#39;drm_nouveau_vm_bind' > > The problem is that these values are #define constants, but had kerneldoc > comments attached to them as if they were actual struct members. > > There are a number of ways we could fix this, but I chose to draw > inspiration from include/uapi/drm/i915_drm.h, which pulls them into the > corresponding kerneldoc comment for the struct member that they are > intended to be used with. > > To keep the diff readable, there are a number of things I _didn't_ do in > this patch, but which we should also consider: > > - This is prett...
2017 Jan 28
0
[ANNOUNCE] libdrm 2.4.75
..._test amdgpu: verify the tested device amdgpu: A new option to choose which device to run most tests amdgpu: A new option to run tests on render node Chad Versace (2): Bump version for 2.4.75 release Bump version for 2.4.75 release Chris Wilson (5): Import uapi/i915_drm.h from v4.10-rc5-950-g152d5750dda9 intel: Allow the client to control implicit synchronisation intel: Support passing of explicit fencing from execbuf intel: Clear execobject flags before preserving object in reuse cache intel: Export a function to re-enable implicit synchro...
2015 May 07
0
[ANNOUNCE] libdrm 2.4.61
...entation fault modetest: make use of drmModeRmFB modetest: fix the error path handling modetest: clear buffer and framebuffer for planes modetest: destroy the cursor bo modetest: fix the arguments of the MAKE_RGB_INFO define Neil Roberts (1): intel: Merge latest i915_drm.h Rob Clark (2): modeprint: add missing encoder/connector type names modetest: fix allocation for yuv420/yvu420 Tobias Jakobi (1): modetest: initialize handles/pitches in set_plane() Tvrtko Ursulin (1): intel: Leak the userptr test bo git tag: libdrm-2.4.61 http://dri.f...
2015 Dec 27
0
[ANNOUNCE] libdrm 2.4.66
...c function as the one we use Felix Janda (1): xf86drm: include <limits.h> for PATH_MAX Jammy Zhou (1): amdgpu: fix overflow for timeout calculation Jonathan Gray (1): configure.ac: rework compiler builtin atomic tests Kristian Høgsberg Kristensen (3): intel: Update i915_drm.h Add tests/drmdevice to .gitignore intel: Add drm_intel_bo_set_softpin_offset to intel-symbol-check Matt Roper (3): xf86drm: Fix error handling for drmGetDevices() xf86drm: Fix error handling for drmGetDevice() xf86drm: Handle unrecognized subsystems safely in drmGet...
2023 Jan 27
1
[PATCH drm-next 05/14] drm/nouveau: new VM_BIND uapi interfaces
...cumentation/gpu/driver-uapi.rst >> index 4411e6919a3d..9c7ca6e33a68 100644 >> --- a/Documentation/gpu/driver-uapi.rst >> +++ b/Documentation/gpu/driver-uapi.rst >> @@ -6,3 +6,11 @@ drm/i915 uAPI >> ============= >> >> .. kernel-doc:: include/uapi/drm/i915_drm.h >> + >> +drm/nouveau uAPI >> +================ >> + >> +VM_BIND / EXEC uAPI >> +------------------- >> + >> +.. kernel-doc:: include/uapi/drm/nouveau_drm.h >> diff --git a/include/uapi/drm/nouveau_drm.h b/include/uapi/drm/nouveau_drm.h >&gt...
2023 Jan 27
1
[PATCH drm-next 05/14] drm/nouveau: new VM_BIND uapi interfaces
...u/driver-uapi.rst >>> index 4411e6919a3d..9c7ca6e33a68 100644 >>> --- a/Documentation/gpu/driver-uapi.rst >>> +++ b/Documentation/gpu/driver-uapi.rst >>> @@ -6,3 +6,11 @@ drm/i915 uAPI >>> ? ============= >>> ? ? .. kernel-doc:: include/uapi/drm/i915_drm.h >>> + >>> +drm/nouveau uAPI >>> +================ >>> + >>> +VM_BIND / EXEC uAPI >>> +------------------- >>> + >>> +.. kernel-doc:: include/uapi/drm/nouveau_drm.h >>> diff --git a/include/uapi/drm/nouveau_drm.h &gt...
2023 Jul 25
1
[PATCH drm-misc-next v8 03/12] drm/nouveau: new VM_BIND uapi interfaces
...b/Documentation/gpu/driver-uapi.rst > index 4411e6919a3d..9c7ca6e33a68 100644 > --- a/Documentation/gpu/driver-uapi.rst > +++ b/Documentation/gpu/driver-uapi.rst > @@ -6,3 +6,11 @@ drm/i915 uAPI > ?============= > > ?.. kernel-doc:: include/uapi/drm/i915_drm.h > + > +drm/nouveau uAPI > +================ > + > +VM_BIND / EXEC uAPI > +------------------- > + > +.. kernel-doc:: include/uapi/drm/nouveau_drm.h > diff --git a/include/uapi/drm/nouveau_drm.h > b/include/uapi/drm/nouveau_drm....
2023 Jan 27
0
[PATCH drm-next 05/14] drm/nouveau: new VM_BIND uapi interfaces
...t;>> index 4411e6919a3d..9c7ca6e33a68 100644 >>>> --- a/Documentation/gpu/driver-uapi.rst >>>> +++ b/Documentation/gpu/driver-uapi.rst >>>> @@ -6,3 +6,11 @@ drm/i915 uAPI >>>> ============= >>>> .. kernel-doc:: include/uapi/drm/i915_drm.h >>>> + >>>> +drm/nouveau uAPI >>>> +================ >>>> + >>>> +VM_BIND / EXEC uAPI >>>> +------------------- >>>> + >>>> +.. kernel-doc:: include/uapi/drm/nouveau_drm.h >>>> diff --git a...
2007 Jul 30
0
Nouveau and Debian Unstable
...all-exec-am'. test -z "/usr/include/drm" || /bin/mkdir -p "/usr/include/drm" /usr/bin/install -c -m 644 'drm.h' '/usr/include/drm/drm.h' /usr/bin/install -c -m 644 'drm_sarea.h' '/usr/include/drm/drm_sarea.h' /usr/bin/install -c -m 644 'i915_drm.h' '/usr/include/drm/i915_drm.h' /usr/bin/install -c -m 644 'mach64_drm.h' '/usr/include/drm/mach64_drm.h' /usr/bin/install -c -m 644 'mga_drm.h' '/usr/include/drm/mga_drm.h' /usr/bin/install -c -m 644 'nouveau_drm.h' '/usr/include/drm/nouv...
2019 Jan 17
3
[PATCH] drm: Split out drm_probe_helper.h
...44 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -41,7 +41,7 @@ #include <linux/vt.h> #include <acpi/video.h> -#include <drm/drm_crtc_helper.h> +#include <drm/drm_probe_helper.h> #include <drm/drm_atomic_helper.h> #include <drm/i915_drm.h> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index b359390ba22c..44c82a6b9934 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -26,6 +26,7 @@ */ #include <drm/drm_vma_manager.h> +#include <drm/drm_pci.h>...
2019 Jan 16
3
[PATCH] drm: Split out drm_probe_helper.h
...44 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -41,7 +41,7 @@ #include <linux/vt.h> #include <acpi/video.h> -#include <drm/drm_crtc_helper.h> +#include <drm/drm_probe_helper.h> #include <drm/drm_atomic_helper.h> #include <drm/i915_drm.h> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 80264cb9ca7f..e2bee8a994ca 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -27,6 +27,7 @@ #include <drm/drm_vma_manager.h> #include <drm/i915_drm.h> +#i...
2019 Jan 16
1
[PATCH] drm: Split out drm_probe_helper.h
...44 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -41,7 +41,7 @@ #include <linux/vt.h> #include <acpi/video.h> -#include <drm/drm_crtc_helper.h> +#include <drm/drm_probe_helper.h> #include <drm/drm_atomic_helper.h> #include <drm/i915_drm.h> diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 80264cb9ca7f..e2bee8a994ca 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -27,6 +27,7 @@ #include <drm/drm_vma_manager.h> #include <drm/i915_drm.h> +#i...