]> git.baikalelectronics.ru Git - kernel.git/commit
drm/todo: Add entry to remove load/unload hooks
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 23 Oct 2019 14:49:53 +0000 (16:49 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 4 Nov 2019 17:17:36 +0000 (18:17 +0100)
commit3a44e12f123e849208c7cc16f48cdef09e51641e
tree806883ed396f74abcd194afc541bd7c3f0bbb9bb
parenta2025c077ecd757fd956fb5bbb7a99b23c4278e3
drm/todo: Add entry to remove load/unload hooks

They're midlayer, broken, and because of the old gunk, we can't fix
them. For examples see the various checks in drm_mode_object.c against
dev->registered, which cannot be enforced if the driver still uses the
load hook.

Unfortunately our biggest driver still uses load/unload, so this would
be really great to get fixed.

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191023144953.28190-2-daniel.vetter@ffwll.ch
Documentation/gpu/todo.rst