OSDN Git Service

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>
Tue, 19 Jul 2016 06:01:53 +0000 (14:01 +0800)
commitdc0b408f5a87cce3ea3f81a6800244fb7d395435
tree21aa1e4f4d86bad13199474cd310a927304ccd30
parentf5e193a16dbe715b82ae8c5b1d70a3ca8f07c1ff
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
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>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c