History

Merge tag 'drm-misc-next-2019-10-24-2' of git://anongit.freedesktop.org/drm/drm-misc into drm-next

drm-misc-next for 5.5: UAPI Changes: -syncobj: allow querying the last submitted timeline value (David) -fourcc: explicitly defineDRM_FORMAT_BIG_ENDIAN as unsigned (Adam) -omap: revert the OMAP_BO_* flags that were added -- no userspace (Sean) Cross-subsystem Changes: -MAINTAINERS: add Mihail as komeda co-maintainer (Mihail) Core Changes: -edid: a few cleanups, add AVI infoframe bar info (Ville) -todo: remove i915 device_link item and add difficulty levels (Daniel) -dp_helpers: add a few new helpers to parse dpcd (Thierry) Driver Changes: -gma500: fix a few memory disclosure leaks (Kangjie) -qxl: convert to use the new drm_gem_object_funcs.mmap (Gerd) -various: open code dp_link helpers in preparation for helper removal (Thierry) Cc: Chunming Zhou <david1.zhou@amd.com> Cc: Adam Jackson <ajax@redhat.com> Cc: Sean Paul <seanpaul@chromium.org> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Kangjie Lu <kjlu@umn.edu> Cc: Mihail Atanassov <mihail.atanassov@arm.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Dave Airlie <airlied@redhat.com>

Dave Airlie committed 7 years ago

Commit a24e4b02 parents 60845e3 9a42c7c137 files · +1859 −2019Browse files

Showing the changes to include/uapi (3 of 137 files). Show all

Unified · Split

3 files
  1. include/uapi/drm/drm.h +2 −1
  2. include/uapi/drm/drm_fourcc.h +1 −1
  3. include/uapi/drm/omap_drm.h +9 −9
include/uapi/drm/drm.h+2−1
@@ -778,11 +778,12 @@ struct drm_syncobj_array { · 777 unmodified lines
778778 __u32 pad;
779779 };
780780
781+#define DRM_SYNCOBJ_QUERY_FLAGS_LAST_SUBMITTED (1 << 0) /* last available point on timeline syncobj */
781782 struct drm_syncobj_timeline_array {
782783 __u64 handles;
783784 __u64 points;
784785 __u32 count_handles;
785− __u32 pad;
786+ __u32 flags;
786787 };
787788
788789
include/uapi/drm/drm_fourcc.h+1−1
@@ -69,7 +69,7 @@ extern "C" { · 68 unmodified lines
6969 #define fourcc_code(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | \
7070 ((__u32)(c) << 16) | ((__u32)(d) << 24))
7171
72−#define DRM_FORMAT_BIG_ENDIAN (1<<31) /* format is big endian instead of little endian */
72+#define DRM_FORMAT_BIG_ENDIAN (1U<<31) /* format is big endian instead of little endian */
7373
7474 /* Reserve 0 for the invalid format specifier */
7575 #define DRM_FORMAT_INVALID 0
include/uapi/drm/omap_drm.h+9−9
@@ -38,20 +38,20 @@ struct drm_omap_param { · 37 unmodified lines
3838 __u64 value; /* in (set_param), out (get_param) */
3939 };
4040
41−#define OMAP_BO_SCANOUT 0x00000001 /* scanout capable (phys contiguous) */
42−#define OMAP_BO_CACHE_MASK 0x00000006 /* cache type mask, see cache modes */
43−#define OMAP_BO_TILED_MASK 0x00000f00 /* tiled mapping mask, see tiled modes */
41+/* Scanout buffer, consumable by DSS */
42+#define OMAP_BO_SCANOUT 0x00000001
4443
45−/* cache modes */
46−#define OMAP_BO_CACHED 0x00000000 /* default */
47−#define OMAP_BO_WC 0x00000002 /* write-combine */
48−#define OMAP_BO_UNCACHED 0x00000004 /* strongly-ordered (uncached) */
44+/* Buffer CPU caching mode: cached, write-combining or uncached. */
45+#define OMAP_BO_CACHED 0x00000000
46+#define OMAP_BO_WC 0x00000002
47+#define OMAP_BO_UNCACHED 0x00000004
48+#define OMAP_BO_CACHE_MASK 0x00000006
4949
50−/* tiled modes */
50+/* Use TILER for the buffer. The TILER container unit can be 8, 16 or 32 bits. */
5151 #define OMAP_BO_TILED_8 0x00000100
5252 #define OMAP_BO_TILED_16 0x00000200
5353 #define OMAP_BO_TILED_32 0x00000300
54−#define OMAP_BO_TILED (OMAP_BO_TILED_8 | OMAP_BO_TILED_16 | OMAP_BO_TILED_32)
54+#define OMAP_BO_TILED_MASK 0x00000f00
5555
5656 union omap_gem_size {
5757 __u32 bytes; /* (for non-tiled formats) */