All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] drm/ast: Convert to atomic modesetting
@ 2019-10-28 15:49 Thomas Zimmermann
  2019-10-28 15:49 ` [PATCH 1/9] drm/ast: Remove last traces of struct ast_gem_object Thomas Zimmermann
                   ` (9 more replies)
  0 siblings, 10 replies; 32+ messages in thread
From: Thomas Zimmermann @ 2019-10-28 15:49 UTC (permalink / raw)
  To: airlied, daniel, kraxel, sam, chen; +Cc: Thomas Zimmermann, dri-devel

This patch set adds universal planes to ast and converts the driver to
atomic modesetting.

The first patch is purely for clean-up.

Patches 2 to 5 prepare the ast modesetting code for universal planes and
atomic modesetting. The size calculation for each mode has to take double
buffering into account. Several functions have to be split to make them
work with the separate check and update on CRTCs and planes. There are no
functional changes.

Patches 6 to 8 add atomic modesetting code for planes and CRTC. Planes
immediately provide atomic functions. There's no intermediate step with
legacy functions for non-atomic drivers. The cursor plane HW only
supports ARGB4444, so the cursor plane converts the format internally;
just as the legacy implementation did.

Finally, patch 9 adds missing helpers and enables atomic modesetting. The
CRTC functions now provide page_flip, which enables Weston support on
ast hardware.

The patchset has been tested by running the fbdev console, X11 (Gnome)
and Weston on an AST2100 chipset.

Thomas Zimmermann (9):
  drm/ast: Remove last traces of struct ast_gem_object
  drm/ast: Check video-mode requirements against VRAM size
  drm/ast: Don't clear base address and offset with default values
  drm/ast: Split ast_set_ext_reg() into color and threshold function
  drm/ast: Split ast_set_vbios_mode_info()
  drm/ast: Add primary plane
  drm/ast: Add CRTC helpers for atomic modesetting
  drm/ast: Add cursor plane
  drm/ast: Enable atomic modesetting

 drivers/gpu/drm/ast/ast_drv.c  |  24 +-
 drivers/gpu/drm/ast/ast_drv.h  |   9 +-
 drivers/gpu/drm/ast/ast_main.c |  54 +--
 drivers/gpu/drm/ast/ast_mode.c | 698 ++++++++++++++++++++-------------
 4 files changed, 462 insertions(+), 323 deletions(-)

--
2.23.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2019-11-07  7:32 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 15:49 [PATCH 0/9] drm/ast: Convert to atomic modesetting Thomas Zimmermann
2019-10-28 15:49 ` [PATCH 1/9] drm/ast: Remove last traces of struct ast_gem_object Thomas Zimmermann
2019-11-05  9:42   ` Gerd Hoffmann
2019-10-28 15:49 ` [PATCH 2/9] drm/ast: Check video-mode requirements against VRAM size Thomas Zimmermann
2019-11-05  9:42   ` Gerd Hoffmann
2019-10-28 15:49 ` [PATCH 3/9] drm/ast: Don't clear base address and offset with default values Thomas Zimmermann
2019-11-05  9:44   ` Gerd Hoffmann
2019-10-28 15:49 ` [PATCH 4/9] drm/ast: Split ast_set_ext_reg() into color and threshold function Thomas Zimmermann
2019-11-05  9:45   ` Gerd Hoffmann
2019-10-28 15:49 ` [PATCH 5/9] drm/ast: Split ast_set_vbios_mode_info() Thomas Zimmermann
2019-11-05  9:47   ` Gerd Hoffmann
2019-10-28 15:49 ` [PATCH 6/9] drm/ast: Add primary plane Thomas Zimmermann
2019-11-05  9:51   ` Gerd Hoffmann
2019-11-05  9:54     ` Daniel Vetter
2019-11-06  8:24     ` Thomas Zimmermann
2019-10-28 15:49 ` [PATCH 7/9] drm/ast: Add CRTC helpers for atomic modesetting Thomas Zimmermann
2019-11-05  9:51   ` Gerd Hoffmann
2019-10-28 15:49 ` [PATCH 8/9] drm/ast: Add cursor plane Thomas Zimmermann
2019-11-05  9:52   ` Gerd Hoffmann
2019-11-05  9:55   ` Daniel Vetter
2019-11-06  8:31     ` Thomas Zimmermann
2019-11-06  9:05       ` Daniel Vetter
2019-11-06  9:46         ` Thomas Zimmermann
2019-10-28 15:49 ` [PATCH 9/9] drm/ast: Enable atomic modesetting Thomas Zimmermann
2019-11-05  9:57   ` Gerd Hoffmann
2019-11-05 10:31     ` Daniel Vetter
2019-11-06  8:28       ` Thomas Zimmermann
2019-11-06 13:36     ` Thomas Zimmermann
2019-11-07  6:55       ` Gerd Hoffmann
2019-11-07  7:32         ` Thomas Zimmermann
2019-10-28 16:00 ` [PATCH 0/9] drm/ast: Convert to " Thomas Zimmermann
2019-10-28 16:00   ` Thomas Zimmermann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.