Re: [PATCH 6/6] drm: vc4: use crtc helper drm_crtc_from_index()

2017-01-18 Thread Sean Paul
On Mon, Jan 9, 2017 at 6:25 AM, Shawn Guo wrote: > From: Shawn Guo > > 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 vc4_dev. > > Signed-off-by: Shawn Guo

[PATCH 6/6] drm: vc4: use crtc helper drm_crtc_from_index()

2017-01-09 Thread Shawn Guo
From: Shawn Guo 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 vc4_dev. Signed-off-by: Shawn Guo Cc: Eric Anholt --- drivers/gpu/drm/vc4/vc4_crtc.c | 17 +++--