linux_dsm_epyc7002/drivers/gpu/drm/mgag200
Thomas Zimmermann d6237687e0 drm/mgag200: Clean up mga_set_start_address()
All register names and fields are now named according to the
MGA programming manuals. The function doesn't need the CRTC, so
callers pass in the device structure directly. The logging now
uses device-specific macros.

The original implementation busy-waited for the VSYNC flag to go
up, to synchronize the page flip with the display's vblank. This
code has been moved to mga_crtc_mode_set_base(). It's still present
in the non-atomic code paths, but won't be used in atomic commits.
With atomic, we should use interrupts to synchronize with vblanks.

v3:
	* clarify commit message wrt. vblank busy-waiting
v2:
	* use to_mga_device()
	* use MiB instead of MB
	* replace empty while loop with do-while, fixes checkpatch warning
	* replace uint{8,32}_t with u{8,32}

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: John Donnelly <John.p.donnelly@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200515083233.32036-3-tzimmermann@suse.de
2020-05-19 09:41:32 +02:00
..
Kconfig drm/mgag200: Fix Kconfig indentation 2019-11-20 17:40:32 +01:00
Makefile drm/mgag200: Remove HW cursor 2020-05-19 09:41:32 +02:00
mgag200_cursor.c drm/mgag200: Convert struct drm_device to struct mga_device with helper 2020-05-11 16:39:45 +02:00
mgag200_drv.c drm/mgag200: Convert struct drm_device to struct mga_device with helper 2020-05-11 16:39:45 +02:00
mgag200_drv.h drm/mgag200: Clean up mga_set_start_address() 2020-05-19 09:41:32 +02:00
mgag200_i2c.c drm/mgag200: Convert struct drm_device to struct mga_device with helper 2020-05-11 16:39:45 +02:00
mgag200_main.c drm/mgag200: Remove HW cursor 2020-05-19 09:41:32 +02:00
mgag200_mode.c drm/mgag200: Clean up mga_set_start_address() 2020-05-19 09:41:32 +02:00
mgag200_reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mgag200_ttm.c drm/mgag200: Don't include <drm/drm_pci.h> 2019-12-05 08:44:19 +01:00