aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-01-25 09:12:22 +0000
committerThomas Zimmermann <[email protected]>2022-01-27 08:21:14 +0000
commitbb7eb3b19f198b704feb13cc38067db4104961a4 (patch)
tree0508a4c11246ae8e1dab081815456f6bb857aa46
parentfbdev/simplefb: Request memory region in driver (diff)
downloadkernel-bb7eb3b19f198b704feb13cc38067db4104961a4.tar.gz
kernel-bb7eb3b19f198b704feb13cc38067db4104961a4.zip
drm: Add TODO item for requesting memory regions
Add a TODO item about requesting memory regions for each driver. The current DRM drivers don't do this consistently. Signed-off-by: Thomas Zimmermann <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Hans de Goede <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r--Documentation/gpu/todo.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index da138dd39883..1b2372ef4131 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -467,6 +467,21 @@ Contact: Thomas Zimmermann <[email protected]>
Level: Intermediate
+Request memory regions in all drivers
+-------------------------------------
+
+Go through all drivers and add code to request the memory regions that the
+driver uses. This requires adding calls to request_mem_region(),
+pci_request_region() or similar functions. Use helpers for managed cleanup
+where possible.
+
+Drivers are pretty bad at doing this and there used to be conflicts among
+DRM and fbdev drivers. Still, it's the correct thing to do.
+
+Contact: Thomas Zimmermann <[email protected]>
+
+Level: Starter
+
Core refactorings
=================