drm/crtc_helper: Replace open-coded CRTC state helpers
authorDaniel Stone <daniels@collabora.com>
Fri, 22 May 2015 12:34:45 +0000 (13:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 22 May 2015 14:18:20 +0000 (16:18 +0200)
commit9f658b7b62e7aefc1ee067136126eca3f58cabfd
tree1f207c37618f4e16dbef041c2bd389339b703d5f
parentf102c16ebbeb40ba2f2a7ba4703ed3e2fc013c68
drm/crtc_helper: Replace open-coded CRTC state helpers

Rather than open-coding our own CRTC state helpers, use the atomic helpers
added in f5e7840b0c, and make our freeing behaviour consistent as well.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Tested-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc_helper.c