drm/mode: introduce wrapper to read framebuffer refcount.
authorDave Airlie <airlied@redhat.com>
Fri, 15 Apr 2016 05:10:35 +0000 (15:10 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 22 Apr 2016 00:33:53 +0000 (10:33 +1000)
commit747a598ffa7dff499ee93d414b74a08af6ec657e
treeb6606905e2e8ef261db4ef8e9ce8a26c11db2599
parent19ab3f8bb4edbc576d4a2cc94a80d0e28296b649
drm/mode: introduce wrapper to read framebuffer refcount.

Avoids drivers knowing where the kref is stored.

[airlied: add kerneldoc]
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/msm/msm_fb.c
drivers/gpu/drm/tegra/drm.c
include/drm/drm_crtc.h