summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_display.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2017-01-09 19:25:42 +0800
committerSean Paul <seanpaul@chromium.org>2017-01-18 09:21:06 -0500
commitffec8925836caf1e91dce9c37c322c363eef58b3 (patch)
tree4a435bfe209fcf59b2a255f668d3fa006a373178 /drivers/gpu/drm/nouveau/nouveau_display.c
parentb8bf6836bf00419e9b714ea70fbd8315b118c3bf (diff)
downloadlinux-ffec8925836caf1e91dce9c37c322c363eef58b3.tar.bz2
drm: mediatek: use crtc helper drm_crtc_from_index()
Use drm_crtc_from_index() to find drm_crtc for given index, so that we do not need to maintain a pointer array in struct mtk_drm_private. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Cc: CK Hu <ck.hu@mediatek.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1483961145-18453-4-git-send-email-shawnguo@kernel.org
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_display.c')
0 files changed, 0 insertions, 0 deletions