aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/gpu/todo.rst
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2018-11-28 19:21:23 -0500
committerDave Airlie <airlied@redhat.com>2018-11-28 19:28:49 -0500
commit61647c77cb15354a329cbb36fe7a2253b36b51b1 (patch)
tree59d887f99bc4a2bdddc7cfc1d81794c2a4cdc759 /Documentation/gpu/todo.rst
parent1a31c26ed7b495f152e3103dc7c68e3307a39541 (diff)
parent08f73d668048ffa3ba6b1426b6ba0a89b16aefd7 (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 'Documentation/gpu/todo.rst')
-rw-r--r--Documentation/gpu/todo.rst20
1 files changed, 7 insertions, 13 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index 31ef4adc91c9..ab347dec5079 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -28,22 +28,16 @@ them, but also all the virtual ones used by KVM, so everyone qualifies).
28 28
29Contact: Daniel Vetter, Thierry Reding, respective driver maintainers 29Contact: Daniel Vetter, Thierry Reding, respective driver maintainers
30 30
31Switch from reference/unreference to get/put
32--------------------------------------------
33
34For some reason DRM core uses ``reference``/``unreference`` suffixes for
35refcounting functions, but kernel uses ``get``/``put`` (e.g.
36``kref_get``/``put()``). It would be good to switch over for consistency, and
37it's shorter. Needs to be done in 3 steps for each pair of functions:
38 31
39* Create new ``get``/``put`` functions, define the old names as compatibility 32Remove custom dumb_map_offset implementations
40 wrappers 33---------------------------------------------
41* Switch over each file/driver using a cocci-generated spatch.
42* Once all users of the old names are gone, remove them.
43 34
44This way drivers/patches in the progress of getting merged won't break. 35All GEM based drivers should be using drm_gem_create_mmap_offset() instead.
36Audit each individual driver, make sure it'll work with the generic
37implementation (there's lots of outdated locking leftovers in various
38implementations), and then remove it.
45 39
46Contact: Daniel Vetter 40Contact: Daniel Vetter, respective driver maintainers
47 41
48Convert existing KMS drivers to atomic modesetting 42Convert existing KMS drivers to atomic modesetting
49-------------------------------------------------- 43--------------------------------------------------