History

drm/todo: Add some cleanup tasks

Motivated by review comments from Ville&Sean.

Daniel Vetter committed 8 years ago

Commit e6a3e401 parent 4af67de1 file · +10 −0Browse files

Unified · Split

Documentation/gpu/todo.rst+10−0
@@ -339,6 +339,16 @@ Some of these date from the very introduction of KMS in 2008 ... · 338 unmodified lines
339339 leftovers from older (never merged into upstream) KMS designs where modes
340340 where set using their ID, including support to add/remove modes.
341341
342+- Make ->funcs and ->helper_private vtables optional. There's a bunch of empty
343+ function tables in drivers, but before we can remove them we need to make sure
344+ that all the users in helpers and drivers do correctly check for a NULL
345+ vtable.
346+
347+- Cleanup up the various ->destroy callbacks. A lot of them just wrapt the
348+ drm_*_cleanup implementations and can be removed. Some tack a kfree() at the
349+ end, for which we could add drm_*_cleanup_kfree(). And then there's the (for
350+ historical reasons) misnamed drm_primary_helper_destroy() function.
351+
342352 Better Testing
343353 ==============
344354

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t