Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/vc4: Remove dead vc4_event_pending().

It is no longer used as of commit 34c8ea400ff6 ("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>

-9
-8
drivers/gpu/drm/vc4/vc4_crtc.c
··· 674 674 CRTC_WRITE(PV_INTEN, 0); 675 675 } 676 676 677 - /* Must be called with the event lock held */ 678 - bool vc4_event_pending(struct drm_crtc *crtc) 679 - { 680 - struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); 681 - 682 - return !!vc4_crtc->event; 683 - } 684 - 685 677 static void vc4_crtc_handle_page_flip(struct vc4_crtc *vc4_crtc) 686 678 { 687 679 struct drm_crtc *crtc = &vc4_crtc->base;
-1
drivers/gpu/drm/vc4/vc4_drv.h
··· 491 491 492 492 /* vc4_crtc.c */ 493 493 extern struct platform_driver vc4_crtc_driver; 494 - bool vc4_event_pending(struct drm_crtc *crtc); 495 494 int vc4_crtc_debugfs_regs(struct seq_file *m, void *arg); 496 495 bool vc4_crtc_get_scanoutpos(struct drm_device *dev, unsigned int crtc_id, 497 496 bool in_vblank_irq, int *vpos, int *hpos,