drm-misc-next for v7.2-rc1: UAPI Changes: - Add VIRTIO_GPU_F_BLOB_ALIGNMENT flag. Cross-subsystem Changes: - Add common TMDS character rate constants to video/hdmi and use those in bridge drivers. Core Changes: - Fix leak in drm_syncobj_find_fence. - Fix OOB reads related to DP-MST. - Create drm_get_bridge_by_endpoint and convert drivers to use it in preparation of hotplug. Driver Changes: - Assorted bugfixes and cleanups to accel/ethosu, imagination, virtio, rockchip. - Expandable device heap support to amdxdna, bridge/chipone-icn6211. - Add Surface Pro 12 panels. - Convert ite-it6211 to use drm hdmi audio helpers.
Showing the changes to include/uapi (2 of 62 files). Show all
Unified · Split
| @@ -98,6 +98,7 @@ struct drm_virtgpu_execbuffer { · 97 unmodified lines | ||
| 98 | 98 | #define VIRTGPU_PARAM_CONTEXT_INIT 6 /* DRM_VIRTGPU_CONTEXT_INIT */ |
| 99 | 99 | #define VIRTGPU_PARAM_SUPPORTED_CAPSET_IDs 7 /* Bitmask of supported capability set ids */ |
| 100 | 100 | #define VIRTGPU_PARAM_EXPLICIT_DEBUG_NAME 8 /* Ability to set debug name from userspace */ |
| 101 | +#define VIRTGPU_PARAM_BLOB_ALIGNMENT 9 /* Device alignment requirements for blobs */ | |
| 101 | 102 | |
| 102 | 103 | struct drm_virtgpu_getparam { |
| 103 | 104 | __u64 param; |
| @@ -64,6 +64,14 @@ · 63 unmodified lines | ||
| 64 | 64 | * context_init and multiple timelines |
| 65 | 65 | */ |
| 66 | 66 | #define VIRTIO_GPU_F_CONTEXT_INIT 4 |
| 67 | +/* | |
| 68 | + * The device provides a valid blob_alignment | |
| 69 | + * field in its configuration and both | |
| 70 | + * VIRTIO_GPU_CMD_RESOURCE_CREATE_BLOB and | |
| 71 | + * VIRTIO_GPU_CMD_RESOURCE_MAP_BLOB requests | |
| 72 | + * must be aligned to that value. | |
| 73 | + */ | |
| 74 | +#define VIRTIO_GPU_F_BLOB_ALIGNMENT 5 | |
| 67 | 75 | |
| 68 | 76 | enum virtio_gpu_ctrl_type { |
| 69 | 77 | VIRTIO_GPU_UNDEFINED = 0, |
| @@ -365,6 +373,7 @@ struct virtio_gpu_config { · 295 unmodified lines | ||
| 365 | 373 | __le32 events_clear; |
| 366 | 374 | __le32 num_scanouts; |
| 367 | 375 | __le32 num_capsets; |
| 376 | + __le32 blob_alignment; | |
| 368 | 377 | }; |
| 369 | 378 | |
| 370 | 379 | /* simple formats for fbcon/X use */ |