OpenCloudOS-Kernel/drivers/gpu/drm/gma500
Paul Kocialkowski f76c22ce8f drm/gma500: Add page flip support on psb/cdv
Legacy (non-atomic) page flip support is added to the driver by using the
mode_set_base CRTC function, that allows configuring a new framebuffer for
display. Since the function requires the primary plane's fb to be set
already, this is done prior to calling the function in the page flip helper
and reverted if the flip fails.

The vblank interrupt handler is also refactored to support passing an event.
The PIPE_TE_STATUS bit is also considered to indicate vblank on medfield
only, as explained in psb_enable_vblank.

It was tested by running weston on both poulsbo and cedartrail.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106094400.445834-3-paul.kocialkowski@bootlin.com
2019-11-07 10:16:31 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
accel_2d.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
backlight.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335 2019-06-05 17:37:06 +02:00
blitter.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
blitter.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
cdv_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
cdv_device.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
cdv_intel_crt.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
cdv_intel_display.c drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
cdv_intel_dp.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
cdv_intel_hdmi.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
cdv_intel_lvds.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
framebuffer.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
framebuffer.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gem.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gem.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
gma_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gma_device.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gma_display.c drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
gma_display.h drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
gtt.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
gtt.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
intel_bios.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
intel_bios.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
intel_gmbus.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
intel_i2c.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mdfld_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mdfld_dsi_dpi.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
mdfld_dsi_dpi.h
mdfld_dsi_output.c drm: Spelling s/connet/connect/ 2019-10-24 17:59:45 +02:00
mdfld_dsi_output.h drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
mdfld_dsi_pkg_sender.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
mdfld_dsi_pkg_sender.h drm/gma500: mdfld: Reuse video/mipi_display.h 2014-11-13 10:44:41 +01:00
mdfld_intel_display.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mdfld_output.c
mdfld_output.h
mdfld_tmd_vid.c drm/gma500: drop drmP.h from header files 2019-05-22 14:13:33 +02:00
mdfld_tpo_vid.c gpu: drm: gma500: remove two more dead variable 2017-05-23 17:38:33 +02:00
mid_bios.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mid_bios.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mmu.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
mmu.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
oaktrail.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
oaktrail_crtc.c drm/gma500: fix memory disclosures due to uninitialized bytes 2019-10-22 10:59:36 +02:00
oaktrail_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
oaktrail_hdmi.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
oaktrail_hdmi_i2c.c tree-wide: use reinit_completion instead of INIT_COMPLETION 2013-11-15 09:32:21 +09:00
oaktrail_lvds.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
oaktrail_lvds_i2c.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
opregion.c drm/gma500: remove unnecessary config_enabled() guard 2016-08-24 07:43:42 +02:00
opregion.h
power.c drm/gma500: use to_pci_dev() 2016-01-04 07:57:38 +01:00
power.h drm/gma500: drop drmP.h from header files 2019-05-22 14:13:33 +02:00
psb_device.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_device.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335 2019-06-05 17:37:06 +02:00
psb_drv.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_drv.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_intel_display.c drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
psb_intel_drv.h drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
psb_intel_lvds.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_intel_modes.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_intel_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335 2019-06-05 17:37:06 +02:00
psb_intel_sdvo.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
psb_intel_sdvo_regs.h
psb_irq.c drm/gma500: Add page flip support on psb/cdv 2019-11-07 10:16:31 +01:00
psb_irq.h Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_lid.c Linux 5.2-rc5 2019-06-19 12:07:29 +02:00
psb_reg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335 2019-06-05 17:37:06 +02:00
tc35876x-dsi-lvds.c drm/gma500: drop drmp.h include from all .c files 2019-05-22 14:13:40 +02:00
tc35876x-dsi-lvds.h