mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 23:23:55 +08:00
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:
parent
cf1b372ec1
commit
55a0b9d70a
@ -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;
|
||||
|
@ -491,7 +491,6 @@ int vc4_bo_stats_debugfs(struct seq_file *m, void *arg);
|
||||
|
||||
/* vc4_crtc.c */
|
||||
extern struct platform_driver vc4_crtc_driver;
|
||||
bool vc4_event_pending(struct drm_crtc *crtc);
|
||||
int vc4_crtc_debugfs_regs(struct seq_file *m, void *arg);
|
||||
bool vc4_crtc_get_scanoutpos(struct drm_device *dev, unsigned int crtc_id,
|
||||
bool in_vblank_irq, int *vpos, int *hpos,
|
||||
|
Loading…
Reference in New Issue
Block a user