linux_dsm_epyc7002/drivers/gpu/drm/arm
Liviu Dudau d862b2d622 drm/mali-dp: Fix malidp_atomic_commit_hw_done() for event sending.
Mali DP hardware has a 'go' bit (config_valid) for making the new scene
parameters active at the next page flip. The problem with the current
code is that the driver first sets this bit and then proceeds to wait
for confirmation from the hardware that the configuration has been
updated before arming the vblank event. As config_valid is actually
asserted by the hardware after the vblank event, during the prefetch
phase, when we get to arming the vblank event we are going to send it
at the next vblank, in effect halving the vblank rate from the userspace
perspective.

Fix it by sending the userspace event from the IRQ handler, when we
handle the config_valid interrupt, which syncs with the time when the
hardware is active with the new parameters.

Reported-by: Alexandru-Cosmin Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
2018-03-14 11:38:02 +00:00
..
hdlcd_crtc.c drm: Don't pass clip to drm_atomic_helper_check_plane_state() 2018-03-05 20:48:25 +02:00
hdlcd_drv.c Merge tag 'drm-misc-next-2017-11-30' of git://anongit.freedesktop.org/drm/drm-misc into drm-next 2017-12-04 05:42:49 +10:00
hdlcd_drv.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdlcd_regs.h
Kconfig drm/arm: make fbdev support really optional 2016-07-18 09:11:42 +02:00
Makefile drm/arm: Add support for Mali Display Processors 2016-06-15 17:29:22 +01:00
malidp_crtc.c drm: mali-dp: Fix bug on scaling with rotation 2018-03-14 11:38:02 +00:00
malidp_drv.c drm/mali-dp: Fix malidp_atomic_commit_hw_done() for event sending. 2018-03-14 11:38:02 +00:00
malidp_drv.h drm/mali-dp: Fix malidp_atomic_commit_hw_done() for event sending. 2018-03-14 11:38:02 +00:00
malidp_hw.c drm/mali-dp: Fix malidp_atomic_commit_hw_done() for event sending. 2018-03-14 11:38:02 +00:00
malidp_hw.h drm/mali-dp: Rotated planes need a larger pitch size. 2018-03-14 11:38:02 +00:00
malidp_planes.c drm/arm/malidp: Disable pixel alpha blending for colors that do not have alpha 2018-03-14 11:38:02 +00:00
malidp_regs.h drm: mali-dp: Enable image enhancement when scaling 2017-04-24 13:28:08 +01:00