Final drm-misc feature pull for 4.15: UAPI Changes: - new madvise ioctl for vc4 (Boris) Core Changes: - plane commit tracking fixes (Maarten) - vgaarb improvements for fancy new platforms (aka ppc64 and arm64) by Bjorn Helgaas Driver Changes: - pile of new panel drivers: Toshiba LT089AC19000, Innolux AT043TN24 - more sun4i work to support A10/A20 Tcon and hdmi outputs - vc4: fix sleep in irq handler by making it threaded (Eric) - udl probe/edid read fixes (Robert Tarasov) And a bunch of misc small cleanups/refactors and doc fixes all over. * tag 'drm-misc-next-2017-10-20' of git://anongit.freedesktop.org/drm/drm-misc: (32 commits) drm/vc4: Fix sleeps during the IRQ handler for DSI transactions. drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl drm/panel: simple: add Toshiba LT089AC19000 dma-fence: remove duplicate word in comment drm/panel: simple: add delays for Innolux AT043TN24 drm/panel: simple: add bus flags for Innolux AT043TN24 drm/panel: simple: fix vertical timings for Innolux AT043TN24 drm/atomic-helper: check that drivers call drm_crtc_vblank_off drm: some KMS todo ideas vgaarb: Factor out EFI and fallback default device selection vgaarb: Select a default VGA device even if there's no legacy VGA drm/bridge: adv7511: Fix a use after free drm/sun4i: Add support for A20 display pipeline components drm/sun4i: Add support for A10 display pipeline components drm/sun4i: hdmi: Support HDMI controller on A10 drm/sun4i: tcon: Add support for A10 TCON drm/sun4i: backend: Support output muxing drm/sun4i: tcon: Move out the tcon0 common setup drm/sun4i: tcon: Don't rely on encoders to set the TCON mode drm/sun4i: tcon: Don't rely on encoders to enable the TCON ...
Showing the changes to include/uapi/drm (1 of 39 files). Show all
Unified · Split
| @@ -41,6 +41,7 @@ extern "C" { · 40 unmodified lines | |||
| 41 | #define DRM_VC4_SET_TILING 0x08 | 41 | #define DRM_VC4_SET_TILING 0x08 |
| 42 | #define DRM_VC4_GET_TILING 0x09 | 42 | #define DRM_VC4_GET_TILING 0x09 |
| 43 | #define DRM_VC4_LABEL_BO 0x0a | 43 | #define DRM_VC4_LABEL_BO 0x0a |
| 44 | #define DRM_VC4_GEM_MADVISE 0x0b | ||
| 44 | 45 | ||
| 45 | #define DRM_IOCTL_VC4_SUBMIT_CL DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SUBMIT_CL, struct drm_vc4_submit_cl) | 46 | #define DRM_IOCTL_VC4_SUBMIT_CL DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SUBMIT_CL, struct drm_vc4_submit_cl) |
| 46 | #define DRM_IOCTL_VC4_WAIT_SEQNO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_WAIT_SEQNO, struct drm_vc4_wait_seqno) | 47 | #define DRM_IOCTL_VC4_WAIT_SEQNO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_WAIT_SEQNO, struct drm_vc4_wait_seqno) |
| @@ -53,6 +54,7 @@ extern "C" { · 6 unmodified lines | |||
| 53 | #define DRM_IOCTL_VC4_SET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SET_TILING, struct drm_vc4_set_tiling) | 54 | #define DRM_IOCTL_VC4_SET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_SET_TILING, struct drm_vc4_set_tiling) |
| 54 | #define DRM_IOCTL_VC4_GET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GET_TILING, struct drm_vc4_get_tiling) | 55 | #define DRM_IOCTL_VC4_GET_TILING DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GET_TILING, struct drm_vc4_get_tiling) |
| 55 | #define DRM_IOCTL_VC4_LABEL_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_LABEL_BO, struct drm_vc4_label_bo) | 56 | #define DRM_IOCTL_VC4_LABEL_BO DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_LABEL_BO, struct drm_vc4_label_bo) |
| 57 | #define DRM_IOCTL_VC4_GEM_MADVISE DRM_IOWR(DRM_COMMAND_BASE + DRM_VC4_GEM_MADVISE, struct drm_vc4_gem_madvise) | ||
| 56 | 58 | ||
| 57 | struct drm_vc4_submit_rcl_surface { | 59 | struct drm_vc4_submit_rcl_surface { |
| 58 | __u32 hindex; /* Handle index, or ~0 if not present. */ | 60 | __u32 hindex; /* Handle index, or ~0 if not present. */ |
| @@ -305,6 +307,7 @@ struct drm_vc4_get_hang_state { · 246 unmodified lines | |||
| 305 | #define DRM_VC4_PARAM_SUPPORTS_ETC1 4 | 307 | #define DRM_VC4_PARAM_SUPPORTS_ETC1 4 |
| 306 | #define DRM_VC4_PARAM_SUPPORTS_THREADED_FS 5 | 308 | #define DRM_VC4_PARAM_SUPPORTS_THREADED_FS 5 |
| 307 | #define DRM_VC4_PARAM_SUPPORTS_FIXED_RCL_ORDER 6 | 309 | #define DRM_VC4_PARAM_SUPPORTS_FIXED_RCL_ORDER 6 |
| 310 | #define DRM_VC4_PARAM_SUPPORTS_MADVISE 7 | ||
| 308 | 311 | ||
| 309 | struct drm_vc4_get_param { | 312 | struct drm_vc4_get_param { |
| 310 | __u32 param; | 313 | __u32 param; |
| @@ -333,6 +336,22 @@ struct drm_vc4_label_bo { · 22 unmodified lines | |||
| 333 | __u64 name; | 336 | __u64 name; |
| 334 | }; | 337 | }; |
| 335 | 338 | ||
| 339 | /* | ||
| 340 | * States prefixed with '__' are internal states and cannot be passed to the | ||
| 341 | * DRM_IOCTL_VC4_GEM_MADVISE ioctl. | ||
| 342 | */ | ||
| 343 | #define VC4_MADV_WILLNEED 0 | ||
| 344 | #define VC4_MADV_DONTNEED 1 | ||
| 345 | #define __VC4_MADV_PURGED 2 | ||
| 346 | #define __VC4_MADV_NOTSUPP 3 | ||
| 347 | |||
| 348 | struct drm_vc4_gem_madvise { | ||
| 349 | __u32 handle; | ||
| 350 | __u32 madv; | ||
| 351 | __u32 retained; | ||
| 352 | __u32 pad; | ||
| 353 | }; | ||
| 354 | |||
| 336 | #if defined(__cplusplus) | 355 | #if defined(__cplusplus) |
| 337 | } | 356 | } |
| 338 | #endif | 357 | #endif |