xserver/hw/xfree86/drivers/modesetting
Povilas Kanapickas 1a1bd5cf7a modesetting: Add a limit on async page flip error log frequency
In certain circumstances we will have a lot of flip errors without a
reasonable way to prevent them. In such case we reduce the number of
logged messages to at least not fill the error logs.

The details are as follows:

At least on i915 hardware support for async page flip support depends on
the used modifiers which themselves can change dynamically for a screen.
This results in the following problems:

- We can't know about whether a particular CRTC will be able to do an
async flip without hardcoding the same logic as the kernel as there's no
interface to query this information.

- There is no way to give this information to an application, because
the protocol of the present extension does not specify anything about
changing of the capabilities on runtime or the need to re-query them.

Even if the above was solved, the only benefit would be avoiding a
roundtrip to the kernel and reduced amount of error logs. The former
does not seem to be a good enough benefit compared to the amount of work
that would need to be done. The latter is solved in this commit.

Reviewed-by: Eero Tamminen <eero.t.tamminen@intel.com>
Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
2021-06-15 12:53:33 +03:00
..
Makefile.am modesetting: Fix broken manpage in autoconf build 2019-10-04 10:29:23 +02:00
dri2.c modesetting: Remove few common functions from ms namespace 2021-04-16 10:53:43 +00:00
driver.c modesetting: Disable reverse prime offload mode for displays running on evdi,udl 2021-06-08 16:20:36 +00:00
driver.h modesetting: Remove few common functions from ms namespace 2021-04-16 10:53:43 +00:00
drmmode_display.c modesetting: Defer crtc gamma size upgrade to drmmode_setup_colormap 2021-04-05 14:25:33 -07:00
drmmode_display.h modesetting: Add missing copyright notices 2020-11-25 04:28:42 +00:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build xfree86: Link fb statically 2019-07-23 14:24:00 -04:00
modesetting.man modesetting: Use GAMMA_LUT when available 2020-10-29 15:13:17 -07:00
pageflip.c modesetting: Add a limit on async page flip error log frequency 2021-06-15 12:53:33 +03:00
present.c modesetting: Remove few common functions from ms namespace 2021-04-16 10:53:43 +00:00
vblank.c modesetting: Remove few common functions from ms namespace 2021-04-16 10:53:43 +00:00