search for: fourcc_mod_cod

Displaying 11 results from an estimated 11 matches for "fourcc_mod_cod".

Did you mean: fourcc_mod_code
2019 Oct 15
2
[PATCH] drm: Generalized NV Block Linear DRM format mod
...diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h > index 3feeaa3f987a..cc9853d42a24 100644 > --- a/include/uapi/drm/drm_fourcc.h > +++ b/include/uapi/drm/drm_fourcc.h > @@ -497,7 +497,99 @@ extern "C" { > #define DRM_FORMAT_MOD_NVIDIA_TEGRA_TILED fourcc_mod_code(NVIDIA, 1) > > /* > - * 16Bx2 Block Linear layout, used by desktop GPUs, and Tegra K1 and later > + * Generalized Block Linear layout, used by desktop GPUs starting with NV50/G80, > + * and Tegra GPUs starting with Tegra K1. > + * > + * Pixels are arranged in Groups of Byte...
2019 Oct 14
2
[PATCH] drm: Generalized NV Block Linear DRM format mod
Beyond general review, I'm looking for feedback on a few things specifically here: -Is the level of backwards compatibility described here sufficient? Technically I can make the user space drivers support the old modifiers too, but that would mean the layout they specify would morph based on the GPU they're being used on, and sharing buffers between two different NV GPUs, which would
2019 Oct 15
1
[PATCH] drm: Generalized NV Block Linear DRM format mod
...include/uapi/drm/drm_fourcc.h > >> index 3feeaa3f987a..cc9853d42a24 100644 > >> --- a/include/uapi/drm/drm_fourcc.h > >> +++ b/include/uapi/drm/drm_fourcc.h > >> @@ -497,7 +497,99 @@ extern "C" { > >> #define DRM_FORMAT_MOD_NVIDIA_TEGRA_TILED fourcc_mod_code(NVIDIA, 1) > >> > >> /* > >> - * 16Bx2 Block Linear layout, used by desktop GPUs, and Tegra K1 and later > >> + * Generalized Block Linear layout, used by desktop GPUs starting with NV50/G80, > >> + * and Tegra GPUs starting with Tegra K1. > >&g...
2019 Oct 14
0
[PATCH] drm: Generalized NV Block Linear DRM format mod
...tions(+), 8 deletions(-) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 3feeaa3f987a..cc9853d42a24 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -497,7 +497,99 @@ extern "C" { #define DRM_FORMAT_MOD_NVIDIA_TEGRA_TILED fourcc_mod_code(NVIDIA, 1) /* - * 16Bx2 Block Linear layout, used by desktop GPUs, and Tegra K1 and later + * Generalized Block Linear layout, used by desktop GPUs starting with NV50/G80, + * and Tegra GPUs starting with Tegra K1. + * + * Pixels are arranged in Groups of Bytes (GOBs). GOB size and layout vari...
2019 Oct 16
0
[PATCH v2] drm: Generalized NV Block Linear DRM format mod
...ions(+), 8 deletions(-) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 3feeaa3f987a..56c8fe30caab 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -497,7 +497,107 @@ extern "C" { #define DRM_FORMAT_MOD_NVIDIA_TEGRA_TILED fourcc_mod_code(NVIDIA, 1) /* - * 16Bx2 Block Linear layout, used by desktop GPUs, and Tegra K1 and later + * Generalized Block Linear layout, used by desktop GPUs starting with NV50/G80, + * and Tegra GPUs starting with Tegra K1. + * + * Pixels are arranged in Groups of Bytes (GOBs). GOB size and layout vari...
2019 Dec 11
0
[PATCH v3] drm: Generalized NV Block Linear DRM format mod
...ions(+), 8 deletions(-) diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h index 3feeaa3f987a..4330d930bdbb 100644 --- a/include/uapi/drm/drm_fourcc.h +++ b/include/uapi/drm/drm_fourcc.h @@ -497,7 +497,113 @@ extern "C" { #define DRM_FORMAT_MOD_NVIDIA_TEGRA_TILED fourcc_mod_code(NVIDIA, 1) /* - * 16Bx2 Block Linear layout, used by desktop GPUs, and Tegra K1 and later + * Generalized Block Linear layout, used by desktop GPUs starting with NV50/G80, + * and Tegra GPUs starting with Tegra K1. + * + * Pixels are arranged in Groups of Bytes (GOBs). GOB size and layout vari...
2019 Oct 15
0
[PATCH] drm: Generalized NV Block Linear DRM format mod
.../uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h >> index 3feeaa3f987a..cc9853d42a24 100644 >> --- a/include/uapi/drm/drm_fourcc.h >> +++ b/include/uapi/drm/drm_fourcc.h >> @@ -497,7 +497,99 @@ extern "C" { >> #define DRM_FORMAT_MOD_NVIDIA_TEGRA_TILED fourcc_mod_code(NVIDIA, 1) >> >> /* >> - * 16Bx2 Block Linear layout, used by desktop GPUs, and Tegra K1 and later >> + * Generalized Block Linear layout, used by desktop GPUs starting with NV50/G80, >> + * and Tegra GPUs starting with Tegra K1. >> + * >> + * Pixels...
2016 Apr 21
0
[PATCH 03/24] drm: add extern C guard for the UAPI headers
...@@ #include "drm.h" +#if defined(__cplusplus) +extern "C" { +#endif + #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \ ((__u32)(c) << 16) | ((__u32)(d) << 24)) @@ -229,4 +233,8 @@ */ #define DRM_FORMAT_MOD_SAMSUNG_64_32_TILE fourcc_mod_code(SAMSUNG, 1) +#if defined(__cplusplus) +} +#endif + #endif /* DRM_FOURCC_H */ diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index 7a7856e0..a4c5378 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -29,6 +29,10 @@ #include "drm.h"...
2018 Mar 05
0
[ANNOUNCE] libdrm 2.4.91
...erring (4): android: revert making handle magic and version members const android: fix mis-named alloc_handle_t android: add helper to convert buffer_handle_t to gralloc_handle_t ptr android: fix gralloc_handle_create() problems Thierry Reding (2): drm/fourcc: Fix fourcc_mod_code() definition drm/tegra: Sanitize format modifiers git tag: libdrm-2.4.91 https://dri.freedesktop.org/libdrm/libdrm-2.4.91.tar.bz2 MD5: 23d87cda92700b710a37d9b8edaa9f54 libdrm-2.4.91.tar.bz2 SHA1: 44e42ce3cd41666e343ba393c73f6f1ad9fe1e74 libdrm-2.4.91.tar.bz2 SHA256: 634a0ed0cc1eff06f486...
2015 Dec 27
0
[ANNOUNCE] libdrm 2.4.66
...required is invalid amdgpu: Fix use-after-free bug in vamgr_deinit amdgpu: Cleanly handle ENOMEM on result in amdgpu_bo_list_create() amdgpu: Make amdgpu_cs_calculate_timeout() return something sensible on error Tvrtko Ursulin (1): libdrm: Use userspace compatible type in fourcc_mod_code macro git tag: libdrm-2.4.66 http://dri.freedesktop.org/libdrm/libdrm-2.4.66.tar.bz2 MD5: c6809c48538d6e5999588832045ff014 libdrm-2.4.66.tar.bz2 SHA1: 6637cc2d71b0011516804cc223a521bf301a9910 libdrm-2.4.66.tar.bz2 SHA256: 79cb8e988749794edfb2d777b298d5292eff353bbbb71ed813589e61d2bc2d76 libdr...
2016 Apr 21
25
[PATCH 00/24] drm: add extern C guard for the UAPI headers
Hi all, As some of you may know there some subtle distinction between C and C++ structs, thus one should wrap/annotate them roughly like below. ... #if defined(__cplusplus) 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: