From: Thomas Zimmermann <tzimmermann@suse.de>
To: lyude@redhat.com, airlied@redhat.com, daniel@ffwll.ch,
sam@ravnborg.org, emil.velikov@collabora.com, kraxel@redhat.com,
john.p.donnelly@oracle.com
Cc: dri-devel@lists.freedesktop.org
Subject: Re: [PATCH 0/7] drm/mgag200: Inline prepare/commit helpers
Date: Tue, 14 Jul 2020 11:02:59 +0200 [thread overview]
Message-ID: <8011f6af-195b-1735-4c4a-913ec3b56f9a@suse.de> (raw)
In-Reply-To: <db709fc4e8b038871b93897bfaa715dd4acea388.camel@redhat.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 2366 bytes --]
Hi
Am 07.07.20 um 18:40 schrieb Lyude Paul:
> For context - I already reviewed this once, it just missed the dri-devel list by
> accident
>
> For the whole series:
>
> Reviewed-by: Lyude Paul <lyude@redhat.com>
I pushed the patches into drm-misc-next and also added a comment in the
commit message on the busy-waiting thing you asked about.
Best regards
Thomas
>
> On Tue, 2020-07-07 at 10:24 +0200, Thomas Zimmermann wrote:
>> Mgag200's modesetting still utilizes the prepare and commit functions
>> that were part of the non-atomic interface. This patchset integrates
>> them into the simple-display's enable function.
>>
>> Patch 1 disables CRTC write protection once when initializing the
>> registers. Before, CRTC registers were temporarily write-protected for
>> no apparent reason.
>>
>> The screen is toggled on and off multiple times while setting a mode.
>> Patch 3 removes any intermediate screen on/off changes.
>>
>> In patch 4, DPMS functionality is reduced to on an off. The DPMS helper
>> function implemements on, off, suspend and standby. In atomic modesetting,
>> only on and off is required.
>>
>> Tested on G200SE HW with Xorg, Weston and fbdev.
>>
>> Thomas Zimmermann (7):
>> drm/mgag200: Don't write-protect CRTC 0-7 while in mga_crtc_prepare()
>> drm/mgag200: Move PLL setup out of mode-setting function
>> drm/mgag200: Don't set or clear <scroff> field during modeset
>> drm/mgag200: Split DPMS function into helpers
>> drm/mgag200: Set/clear <syncrst> field in display enable/disable
>> helpers
>> drm/mgag200: Rename G200WB prepare/commit function
>> drm/mgag200: Inline mga_crtc_{prepare,commit}() into enable function
>>
>> drivers/gpu/drm/mgag200/mgag200_drv.h | 6 +
>> drivers/gpu/drm/mgag200/mgag200_mode.c | 168 +++++++++----------------
>> drivers/gpu/drm/mgag200/mgag200_reg.h | 11 ++
>> 3 files changed, 76 insertions(+), 109 deletions(-)
>>
>> --
>> 2.27.0
>>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 516 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2020-07-14 9:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-07 8:24 [PATCH 0/7] drm/mgag200: Inline prepare/commit helpers Thomas Zimmermann
2020-07-07 8:24 ` [PATCH 1/7] drm/mgag200: Don't write-protect CRTC 0-7 while in mga_crtc_prepare() Thomas Zimmermann
2020-07-07 8:24 ` [PATCH 2/7] drm/mgag200: Move PLL setup out of mode-setting function Thomas Zimmermann
2020-07-07 8:24 ` [PATCH 3/7] drm/mgag200: Don't set or clear <scroff> field during modeset Thomas Zimmermann
2020-07-07 8:24 ` [PATCH 4/7] drm/mgag200: Split DPMS function into helpers Thomas Zimmermann
2020-07-07 8:24 ` [PATCH 5/7] drm/mgag200: Set/clear <syncrst> field in display enable/disable helpers Thomas Zimmermann
2020-07-07 8:24 ` [PATCH 6/7] drm/mgag200: Rename G200WB prepare/commit function Thomas Zimmermann
2020-07-07 8:24 ` [PATCH 7/7] drm/mgag200: Inline mga_crtc_{prepare, commit}() into enable function Thomas Zimmermann
2020-07-07 16:40 ` [PATCH 0/7] drm/mgag200: Inline prepare/commit helpers Lyude Paul
2020-07-14 9:02 ` Thomas Zimmermann [this message]
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=8011f6af-195b-1735-4c4a-913ec3b56f9a@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=john.p.donnelly@oracle.com \
--cc=kraxel@redhat.com \
--cc=lyude@redhat.com \
--cc=sam@ravnborg.org \
/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).