dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Zimmermann <tzimmermann@suse.de>
To: airlied@redhat.com, daniel@ffwll.ch, sam@ravnborg.org,
	emil.velikov@collabora.com, kraxel@redhat.com,
	noralf@tronnes.org, yc_chen@aspeedtech.com
Cc: Thomas Zimmermann <tzimmermann@suse.de>, dri-devel@lists.freedesktop.org
Subject: [PATCH v2 0/4] ast cleanups
Date: Wed, 17 Jun 2020 10:03:36 +0200	[thread overview]
Message-ID: <20200617080340.29584-1-tzimmermann@suse.de> (raw)

Ast still has to be converted to managed initialization, and embed the
DRM device in the ast structure. In preparation of these changes, add
some cleanups to the driver.

Tested on ast HW.

v2:
	* remove device tests from ast_pm_freeze() (Daniel)
	* convert WARN_*() (Sam)
	* typo fixes

Thomas Zimmermann (4):
  drm/ast: Remove unused code paths for AST 1180
  drm/ast: Remove test for device from ast_pm_freeze()
  drm/ast: Upcast from DRM device to ast structure via to_ast_private()
  drm/ast: Use per-device logging macros

 drivers/gpu/drm/ast/ast_dp501.c |  24 +++----
 drivers/gpu/drm/ast/ast_drv.c   |   4 --
 drivers/gpu/drm/ast/ast_drv.h   |   7 +-
 drivers/gpu/drm/ast/ast_main.c  | 115 +++++++++++++++-----------------
 drivers/gpu/drm/ast/ast_mode.c  |  73 ++++++++++----------
 drivers/gpu/drm/ast/ast_post.c  |  28 ++++----
 drivers/gpu/drm/ast/ast_ttm.c   |   2 +-
 7 files changed, 116 insertions(+), 137 deletions(-)

--
2.27.0

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

             reply	other threads:[~2020-06-17  8:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-17  8:03 Thomas Zimmermann [this message]
2020-06-17  8:03 ` [PATCH v2 1/4] drm/ast: Remove unused code paths for AST 1180 Thomas Zimmermann
2020-06-17  8:03 ` [PATCH v2 2/4] drm/ast: Remove test for device from ast_pm_freeze() Thomas Zimmermann
2020-06-20 21:11   ` Sam Ravnborg
2020-06-17  8:03 ` [PATCH v2 3/4] drm/ast: Upcast from DRM device to ast structure via to_ast_private() Thomas Zimmermann
2020-06-17  8:03 ` [PATCH v2 4/4] drm/ast: Use per-device logging macros Thomas Zimmermann

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=20200617080340.29584-1-tzimmermann@suse.de \
    --to=tzimmermann@suse.de \
    --cc=airlied@redhat.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=emil.velikov@collabora.com \
    --cc=kraxel@redhat.com \
    --cc=noralf@tronnes.org \
    --cc=sam@ravnborg.org \
    --cc=yc_chen@aspeedtech.com \
    /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).