From: Rob Clark <robdclark@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH] drm: export crtc_ww_class
Date: Sun, 13 Nov 2016 12:00:20 -0500 [thread overview]
Message-ID: <1479056420-1017-1-git-send-email-robdclark@gmail.com> (raw)
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
reply other threads:[~2016-11-13 17:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479056420-1017-1-git-send-email-robdclark@gmail.com \
--to=robdclark@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).