drm: export crtc_ww_class

Submitted by Rob Clark on Nov. 13, 2016, 5 p.m.


Message ID 1479056420-1017-1-git-send-email-robdclark@gmail.com
State New
Headers show
Series "drm: export crtc_ww_class" ( rev: 1 ) in DRI devel

Not browsing as part of any series.

Commit Message

Rob Clark Nov. 13, 2016, 5 p.m.
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(+)

Patch hide | download patch | download mbox

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:
 static unsigned int drm_num_crtcs(struct drm_device *dev)