diff options
author | Dave Airlie <airlied@redhat.com> | 2018-11-28 19:21:23 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2018-11-28 19:28:49 -0500 |
commit | 61647c77cb15354a329cbb36fe7a2253b36b51b1 (patch) | |
tree | 59d887f99bc4a2bdddc7cfc1d81794c2a4cdc759 /include/drm/drm_drv.h | |
parent | 1a31c26ed7b495f152e3103dc7c68e3307a39541 (diff) | |
parent | 08f73d668048ffa3ba6b1426b6ba0a89b16aefd7 (diff) |
Merge tag 'drm-misc-next-2018-11-28' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
drm-misc-next for v4.21:
Core Changes:
- Merge drm_info.c into drm_debugfs.c
- Complete the fake drm_crtc_commit's hw_done/flip_done sooner.
- Remove deprecated drm_obj_ref/unref functions. All drivers use get/put now.
- Decrease stack use of drm_gem_prime_mmap.
- Improve documentation for dumb callbacks.
Driver Changes:
- Add edid support to virtio.
- Wait on implicit fence in meson and sun4i.
- Add support for BGRX8888 to sun4i.
- Preparation patches for sun4i driver to start supporting linear and tiled YUV formats.
- Add support for HDMI 1.4 4k modes to meson, and support for VIC alternate timings.
- Drop custom dumb_map in vkms.
- Small fixes and cleanups to v3d.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/151a3270-b1be-ed75-bd58-6b29d741f592@linux.intel.com
Diffstat (limited to 'include/drm/drm_drv.h')
-rw-r--r-- | include/drm/drm_drv.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index dbb2f6ad184a..35af23f5fa0d 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h | |||
@@ -527,8 +527,10 @@ struct drm_driver { | |||
527 | * @dumb_map_offset: | 527 | * @dumb_map_offset: |
528 | * | 528 | * |
529 | * Allocate an offset in the drm device node's address space to be able to | 529 | * Allocate an offset in the drm device node's address space to be able to |
530 | * memory map a dumb buffer. GEM-based drivers must use | 530 | * memory map a dumb buffer. |
531 | * drm_gem_create_mmap_offset() to implement this. | 531 | * |
532 | * The default implementation is drm_gem_create_mmap_offset(). GEM based | ||
533 | * drivers must not overwrite this. | ||
532 | * | 534 | * |
533 | * Called by the user via ioctl. | 535 | * Called by the user via ioctl. |
534 | * | 536 | * |
@@ -548,6 +550,9 @@ struct drm_driver { | |||
548 | * | 550 | * |
549 | * Called by the user via ioctl. | 551 | * Called by the user via ioctl. |
550 | * | 552 | * |
553 | * The default implementation is drm_gem_dumb_destroy(). GEM based drivers | ||
554 | * must not overwrite this. | ||
555 | * | ||
551 | * Returns: | 556 | * Returns: |
552 | * | 557 | * |
553 | * Zero on success, negative errno on failure. | 558 | * Zero on success, negative errno on failure. |
@@ -625,7 +630,6 @@ void drm_dev_unregister(struct drm_device *dev); | |||
625 | 630 | ||
626 | void drm_dev_get(struct drm_device *dev); | 631 | void drm_dev_get(struct drm_device *dev); |
627 | void drm_dev_put(struct drm_device *dev); | 632 | void drm_dev_put(struct drm_device *dev); |
628 | void drm_dev_unref(struct drm_device *dev); | ||
629 | void drm_put_dev(struct drm_device *dev); | 633 | void drm_put_dev(struct drm_device *dev); |
630 | bool drm_dev_enter(struct drm_device *dev, int *idx); | 634 | bool drm_dev_enter(struct drm_device *dev, int *idx); |
631 | void drm_dev_exit(int idx); | 635 | void drm_dev_exit(int idx); |