drm: encapsulate crtc->set_config calls
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Dec 2012 12:47:23 +0000 (13:47 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 20 Jan 2013 14:57:58 +0000 (15:57 +0100)
commit2d13b6796e420ed00389b7399a5d5ac7b1fed436
tree8889af1340e267331fd7969d7f949ac9d6661019
parentaf26ef3b3978349cfbd864163a6ebb4906b733b5
drm: encapsulate crtc->set_config calls

With refcounting we need to adjust framebuffer refcounts at each
callsite - much easier to do if they all call the same little helper
function.

Reviewed-by: Rob Clark <rob@ti.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c
drivers/gpu/drm/drm_fb_helper.c
drivers/gpu/drm/i2c/ch7006_drv.c
drivers/gpu/drm/nouveau/nv04_display.c
drivers/gpu/drm/nouveau/nv17_tv.c
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
include/drm/drm_crtc.h