Skip to contentSkip to conversation

drm: export crtc_ww_class

PATCH New Rob Clark 1 participant 1 message Nov 13, 2016

Subsystems (2)
lore
Share & tools
lore

Rob Clark

author
#0 lore raw

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.

---
 drivers/gpu/drm/drm_crtc.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/drm_crtc.c +1 -0
index e8bc1ae..194e898 100644
@@ -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