summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
diff options
context:
space:
mode:
authorDaniel Vetter2015-12-04 09:45:45 +0100
committerDaniel Vetter2015-12-08 16:07:52 +0100
commit4490d4c7111e1ebf748ea2c3e1e64d103d73bae7 (patch)
tree3f169f7d490c11407ea6132589b4600c47a21b2b /drivers/gpu/drm
parentdrm: Reorganize helper vtables and their docs (diff)
downloadkernel-qcow2-linux-4490d4c7111e1ebf748ea2c3e1e64d103d73bae7.tar.gz
kernel-qcow2-linux-4490d4c7111e1ebf748ea2c3e1e64d103d73bae7.tar.xz
kernel-qcow2-linux-4490d4c7111e1ebf748ea2c3e1e64d103d73bae7.zip
drm: Make helper vtable pointers type-safe
Originally the idea behind void* was to allow different sets of helpers. But now we have that (with probe, plane, crtc and atomic helpers) and we still just use the same set of vtables. That's the only way to make the individual helpers modular and allow drivers to pick&choose and transition between them. So this flexibility isn't really needed. Also we have lots of non-vtable data meanwhile in core structures too, this is not the first one at all. Given that the void * is only trouble since gcc can't warn you if you mix them up. Let's fix that and make them typesafe. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1449218769-16577-5-git-send-email-daniel.vetter@ffwll.ch Reviewed-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions