]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Aug 2016 16:11:00 +0000 (18:11 +0200)
commit2b3e6e64292a78b1620efefa63a7aa18cc3d46ff
tree5cea141b56e9467867d51e8c97d116a0d5ff3ec6
parentb1fa9693c0047a22ba8181a2078ba7a29d1a9591
drm/rockchip: allocate correct crtc state structure on reset

commit dc0b408f5a87cce3ea3f81a6800244fb7d395435 upstream.

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

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c