[PATCH] drm: don't let crtc_ww_class leak out

2016-11-15 Thread Daniel Vetter
On Mon, Nov 14, 2016 at 05:40:57PM -0500, Rob Clark wrote: > kbuild spotted this error, with drm/msm patches that add a new > modeset-lock in the driver and driver built as a module: > > ERROR: "crtc_ww_class" [drivers/gpu/drm/msm/msm.ko] undefined! > > Really the only reason for crtc_ww_class

[PATCH] drm: don't let crtc_ww_class leak out

2016-11-14 Thread Rob Clark
kbuild spotted this error, with drm/msm patches that add a new modeset-lock in the driver and driver built as a module: ERROR: "crtc_ww_class" [drivers/gpu/drm/msm/msm.ko] undefined! Really the only reason for crtc_ww_class not being internal to drm_modeset_lock.c is that drm_modeset_lock_init(