dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: jfalempe@redhat.com, airlied@redhat.com,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	airlied@gmail.com, simona@ffwll.ch
Cc: dri-devel@lists.freedesktop.org, Thomas Zimmermann <tzimmermann@suse.de>
Subject: [PATCH v2 0/6] ast: Replace DRAM info code
Date: Tue, 26 Aug 2025 08:49:19 +0200	[thread overview]
Message-ID: <20250826065032.344412-1-tzimmermann@suse.de> (raw)

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


             reply	other threads:[~2025-08-26  6:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-26  6:49 Thomas Zimmermann [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250826065032.344412-1-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@gmail.com \
    --cc=airlied@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jfalempe@redhat.com \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).