UPSTREAM: drm/rockchip: allocate correct crtc state structure on reset
authorJohn Keeping <john@metanate.com>
Thu, 14 Jul 2016 15:29:15 +0000 (16:29 +0100)
committerMark Yao <mark.yao@rock-chips.com>
Wed, 10 Aug 2016 02:56:48 +0000 (10:56 +0800)
commit46d10109aeafd2954aeef7e67529c3dadddea19a
tree91a3517eacd9fa0fee50ed77280b48ac51a811c7
parent42867049c4419b69ecec31be6639b7900e810eb7
UPSTREAM: drm/rockchip: allocate correct crtc state structure on reset

Because we are using a custom crtc_state structure, we must override the
reset helper to allocate the correct amount of memory.

Cc: stable@vger.kernel.org
Change-Id: I1895dbe994232991c1659cf2f4d63c4aa957b794
Fixes: 4e257d9eee23 ("drm/rockchip: get rid of rockchip_drm_crtc_mode_config")
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
(cherry picked from dc0b408f5a87cce3ea3f81a6800244fb7d395435)
drivers/gpu/drm/rockchip/rockchip_drm_vop.c