* [PATCH] drm: export crtc_ww_class
@ 2016-11-13 17:00 Rob Clark
0 siblings, 0 replies; only message in thread
From: Rob Clark @ 2016-11-13 17:00 UTC (permalink / raw)
To: dri-devel
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 <robdclark@gmail.com>
---
drivers/gpu/drm/drm_crtc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
index e8bc1ae..194e898 100644
--- a/drivers/gpu/drm/drm_crtc.c
+++ b/drivers/gpu/drm/drm_crtc.c
@@ -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)
{
--
2.7.4
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-13 17:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-13 17:00 [PATCH] drm: export crtc_ww_class Rob Clark
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).