drm: export crtc_ww_class
Subsystems (2)
PATCH 1/1 drm: export crtc_ww_class
kbuild noticed this:
ERROR: "crtc_ww_class" [drivers/gpu/drm/msm/msm.ko] undefined!
because crtc_ww_class is referenced by drm_modeset_lock_init() which is static-inline in a header file.
I guess we hadn't noticed yet because no driver so far is creating their own modeset-locks. That changes with the msm/mdp5 patches I have lined up for atomic hwpipe and SMP block assignment.
Signed-off-by Rob Clark <[email protected]>
--- drivers/gpu/drm/drm_crtc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_crtc.c +1 -0
@@ -103,6 +103,7 @@ out:EXPORT_SYMBOL (drm_crtc_force_disable_all);DEFINE_WW_CLASS (crtc_ww_class); +EXPORT_SYMBOL (crtc_ww_class);static unsigned int drm_num_crtcs (struct drm_device *dev) {
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel