[PATCH v4 0/7] drm/mgag200: Implement VBLANK support
Thomas Zimmermann
tzimmermann at suse.de
Fri Jul 5 11:47:43 UTC 2024
(was: Rate-limit shadow-FB-to-console-update to screen refresh)
Implement support for VBLANK events in mgag200.
Patches 1 to 5 prepare mgag200's modesetting code by renaming or
adding variables for various hardware fields. This makes the code
more readable and aligns it with the programming manuals for Matrox
hardware.
Patch 6 implements support for VBLANK events. The patch has been
reviewed before at [1]. That old patchset never found its way into
the kernel, but the VBLANK support is still useful.
Patch 7 adds support for VBLANK timestamps.
v4:
- split off the patchset from an earlier series [1]
[1] https://patchwork.freedesktop.org/series/66442/
Thomas Zimmermann (7):
drm/mgag200: Use hexadecimal register indeces
drm/mgag200: Align register field names with documentation
drm/mgag200: Use adjusted mode values for CRTCs
drm/mgag200: Add dedicated variables for blanking fields
drm/mgag200: Add dedicted variable for <linecomp> field
drm/mgag200: Add vblank support
drm/mgag200: Implement struct drm_crtc_funcs.get_vblank_timestamp
drivers/gpu/drm/mgag200/mgag200_drv.c | 47 ++++++
drivers/gpu/drm/mgag200/mgag200_drv.h | 14 +-
drivers/gpu/drm/mgag200/mgag200_g200.c | 5 +
drivers/gpu/drm/mgag200/mgag200_g200eh.c | 5 +
drivers/gpu/drm/mgag200/mgag200_g200eh3.c | 5 +
drivers/gpu/drm/mgag200/mgag200_g200er.c | 5 +
drivers/gpu/drm/mgag200/mgag200_g200ev.c | 5 +
drivers/gpu/drm/mgag200/mgag200_g200ew3.c | 5 +
drivers/gpu/drm/mgag200/mgag200_g200se.c | 5 +
drivers/gpu/drm/mgag200/mgag200_g200wb.c | 5 +
drivers/gpu/drm/mgag200/mgag200_mode.c | 169 ++++++++++++++++------
drivers/gpu/drm/mgag200/mgag200_reg.h | 7 +
12 files changed, 232 insertions(+), 45 deletions(-)
--
2.45.2
More information about the dri-devel
mailing list