]> git.karo-electronics.de Git - linux-beck.git/commit
drm/mediatek: Use drm_atomic destroy_state helpers
authorBibby Hsieh <bibby.hsieh@mediatek.com>
Thu, 4 Aug 2016 02:59:54 +0000 (10:59 +0800)
committerSean Paul <seanpaul@chromium.org>
Mon, 8 Aug 2016 18:20:01 +0000 (14:20 -0400)
commit903daff60fc5629d39ceb5f870afecdc477bcd6c
treef27a86ab8aa6d5ed4cee0a3fd3bf4a9cb573563f
parent5bfafad8059b40be3ab60be26d3270b74303639a
drm/mediatek: Use drm_atomic destroy_state helpers

Use the core destroy_state helpers to destroy core state to ensure we don't
leak if/when more fields get added later.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Bibby Hsieh <bibby.hsieh@mediatek.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1470279597-60453-5-git-send-email-bibby.hsieh@mediatek.com
drivers/gpu/drm/mediatek/mtk_drm_crtc.c
drivers/gpu/drm/mediatek/mtk_drm_plane.c