dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] ast: Replace DRAM info code
@ 2025-08-26  6:49 Thomas Zimmermann
  2025-08-26  6:49 ` [PATCH v2 1/6] drm/ast: Do not print DRAM info Thomas Zimmermann
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Thomas Zimmermann @ 2025-08-26  6:49 UTC (permalink / raw)
  To: jfalempe, airlied, maarten.lankhorst, mripard, airlied, simona
  Cc: dri-devel, Thomas Zimmermann

The ast driver's ast_get_dram_info() helper is supposed to return
information about the hardware's memory setup. It depends on the
various types of configurations and the chipset model. The problem
is that most of this is not needed or outright wrong.

Really needed is only the bank layout of the memory for posting Gen2
and Gen3 systems with P2A configuration.

This series removes ast_gem_dram_info(). The code for retrieving the
bank layout goes into the Gen2 source code and runs when required.

Tested on AST2100 and AST2600 hardware.

Thomas Zimmermann (6):
  drm/ast: Do not print DRAM info
  drm/ast: Remove unused dram_bus_width field
  drm/ast: Remove unused mclk field
  drm/ast: Remove unused SCU-MPLL and SCU-STRAP values
  drm/ast: Move DRAM info next to its only user
  drm/ast: Put AST_DRAM_ constants into enum ast_dram_layout

 drivers/gpu/drm/ast/ast_2100.c |  46 +++++++++++-
 drivers/gpu/drm/ast/ast_drv.h  |  20 +++---
 drivers/gpu/drm/ast/ast_main.c | 126 ---------------------------------
 3 files changed, 52 insertions(+), 140 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2025-09-02  6:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-26  6:49 [PATCH v2 0/6] ast: Replace DRAM info code Thomas Zimmermann
2025-08-26  6:49 ` [PATCH v2 1/6] drm/ast: Do not print DRAM info Thomas Zimmermann
2025-09-02  6:52   ` Jocelyn Falempe
2025-08-26  6:49 ` [PATCH v2 2/6] drm/ast: Remove unused dram_bus_width field Thomas Zimmermann
2025-09-02  6:52   ` Jocelyn Falempe
2025-08-26  6:49 ` [PATCH v2 3/6] drm/ast: Remove unused mclk field Thomas Zimmermann
2025-09-02  6:52   ` Jocelyn Falempe
2025-08-26  6:49 ` [PATCH v2 4/6] drm/ast: Remove unused SCU-MPLL and SCU-STRAP values Thomas Zimmermann
2025-09-02  6:53   ` Jocelyn Falempe
2025-08-26  6:49 ` [PATCH v2 5/6] drm/ast: Move DRAM info next to its only user Thomas Zimmermann
2025-09-02  6:53   ` Jocelyn Falempe
2025-08-26  6:49 ` [PATCH v2 6/6] drm/ast: Put AST_DRAM_ constants into enum ast_dram_layout Thomas Zimmermann
2025-09-02  6:53   ` Jocelyn Falempe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).