linux/drivers/gpu/drm/ast
Thomas Zimmermann 78336798ce drm/ast: Only map cursor BOs during updates
The HW cursor's BO used to be mapped permanently into the kernel's
address space. GEM's vmap operation will be protected by locks, and
we don't want to lock the BO's for an indefinate period of time.

Change the cursor code to map the HW BOs only during updates. The
vmap operation in VRAM helpers is cheap, as a once estabished mapping
is being reused until the BO actually moves. As the HW cursor BOs are
permanently pinned, they never move at all.

v2:
	* fix typos in commit description

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Christian König <christian.koenig@amd.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20201209142527.26415-3-tzimmermann@suse.de
2020-12-11 12:35:32 +01:00
..
ast_cursor.c drm/ast: Only map cursor BOs during updates 2020-12-11 12:35:32 +01:00
ast_dp501.c drm/ast: Managed release of ast firmware 2020-08-03 09:04:37 +02:00
ast_dram_tables.h
ast_drv.c drm/<drivers>: Constify struct drm_driver 2020-11-06 10:31:26 +01:00
ast_drv.h drm/ast: Only map cursor BOs during updates 2020-12-11 12:35:32 +01:00
ast_main.c drm/ast: Create chip AST2600 2020-11-10 08:57:24 +01:00
ast_mm.c drm/ast: Embed struct drm_device in struct ast_private 2020-08-03 09:04:28 +02:00
ast_mode.c drm: Use state helper instead of CRTC state pointer 2020-11-10 12:41:06 +01:00
ast_post.c drm/ast: Embed struct drm_device in struct ast_private 2020-08-03 09:04:28 +02:00
ast_tables.h drm/ast: Fixed 1920x1080 sync. polarity issue 2020-11-09 09:00:44 +01:00
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/ast: Rename ast_ttm.c to ast_mm.c 2020-07-20 09:16:05 +02:00