drm/vc4: Remove dead vc4_event_pending().
It is no longer used as of commit 34c8ea400f
("drm/vc4: Mimic
drm_atomic_helper_commit() behavior")
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621185002.28563-4-eric@anholt.net
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This commit is contained in:
@@ -674,14 +674,6 @@ static void vc4_disable_vblank(struct drm_crtc *crtc)
|
||||
CRTC_WRITE(PV_INTEN, 0);
|
||||
}
|
||||
|
||||
/* Must be called with the event lock held */
|
||||
bool vc4_event_pending(struct drm_crtc *crtc)
|
||||
{
|
||||
struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc);
|
||||
|
||||
return !!vc4_crtc->event;
|
||||
}
|
||||
|
||||
static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc)
|
||||
{
|
||||
struct drm_crtc *crtc = &vc4_crtc->base;
|
||||
|
Reference in New Issue
Block a user