Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/todo: Add some cleanup tasks

Motivated by review comments from Ville&Sean.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Sean Paul <sean@poorly.run>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181004202446.22905-21-daniel.vetter@ffwll.ch

+10
+10
Documentation/gpu/todo.rst
··· 339 339 leftovers from older (never merged into upstream) KMS designs where modes 340 340 where set using their ID, including support to add/remove modes. 341 341 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 + 342 352 Better Testing 343 353 ============== 344 354