From: "Li, Samuel" <Samuel.Li@amd.com>
To: Daniel Vetter <daniel@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: "Maxime Ripard" <maxime.ripard@bootlin.com>,
"Daniel Vetter" <daniel.vetter@ffwll.ch>,
"DRI Development" <dri-devel@lists.freedesktop.org>,
"Huang, Ray" <Ray.Huang@amd.com>,
"Daniel Vetter" <daniel.vetter@intel.com>,
"linux-rockchip@lists.infradead.org"
<linux-rockchip@lists.infradead.org>,
"David Airlie" <airlied@linux.ie>,
"Ben Skeggs" <bskeggs@redhat.com>,
"nouveau@lists.freedesktop.org" <nouveau@lists.freedesktop.org>,
"Michel Dänzer" <michel@daenzer.net>,
"Daniel Stone" <daniels@collabora.com>,
"Intel Graphics Development" <intel-gfx@lists.freedesktop.org>,
"Rodrigo Vivi" <rodrigo.vivi@intel.com>,
"Zhang, Jerry" <Jerry.Zhang@amd.com>,
"Sean Paul" <sean@poorly.run>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"Daenzer, Michel" <Michel.Daenzer@amd.com>,
"S, Shirish" <Shirish.S@amd.com>,
"Deucher, Alexander" <Alexander.Deucher@amd.com>
Subject: Re: [PATCH] drm/fbdev: Make skip_vt_switch the default
Date: Wed, 28 Nov 2018 16:00:42 +0000 [thread overview]
Message-ID: <7a37ad7d-7706-7fe6-5b7a-5b867a87e8ed@amd.com> (raw)
In-Reply-To: <20181128082057.GH4266@phenom.ffwll.local>
Reviewed-by: Samuel Li <samuel.li@amd.com>
On 2018-11-28 3:20 a.m., Daniel Vetter wrote:
> On Wed, Nov 28, 2018 at 08:17:04AM +0100, Maarten Lankhorst wrote:
>> Op 27-11-18 om 18:34 schreef Daniel Vetter:
>>> KMS drivers really should all be able to restore their display state
>>> on resume without fbcon helping out. So make this the default.
>>>
>>> Since I'm not entirely foolish, make it only a default, which drivers
>>> can still override. That way when the inevitable regression report
>>> happens I can fix things up with a one-liner plus FIXME comment that
>>> someone should fix up the suspend/resume code in that driver.
>>>
>>> But at least all new drivers won't be broken by accident as soon as
>>> you turn off fbcon because "suspend/resume worked when I tested it".
>>>
>>> v2: Keep this for radeon because of
>>>
>>> commit 18c437caa5b18a235dd65cec224eab54bebcee65
>>> Author: Alex Deucher <alexander.deucher@amd.com>
>>> Date: Tue Nov 14 17:19:29 2017 -0500
>>>
>>> Revert "drm/radeon: dont switch vt on suspend"
>>>
>>> Thanks to Michel Dänzer for pointing this one out.
>>
>> Maybe just reload the gamma lut on resume for radeon, instead of relying on fbcon?
>
> It also caused random sound issues and other fun. Also, afaiui radeon does
> load the lut. Except because of timing or bad luck, it doesn't work
> reliably, and the vt switch doing it a 2nd time helps out.
> -Daniel
>
>> Otherwise patch looks sane, would be nice if radeon was fixed instead of worked around.
>>
>> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-11-28 16:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-27 17:09 [PATCH] drm/fbdev: Make skip_vt_switch the default Daniel Vetter
2018-11-27 17:34 ` Daniel Vetter
2018-11-28 7:17 ` Maarten Lankhorst
2018-11-28 8:20 ` Daniel Vetter
2018-11-28 16:00 ` Li, Samuel [this message]
2019-03-26 15:25 ` Daniel Vetter
[not found] ` <20181127173424.301-1-daniel.vetter-/w4YWyX8dFk@public.gmane.org>
2018-11-28 15:12 ` Heiko Stübner
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=7a37ad7d-7706-7fe6-5b7a-5b867a87e8ed@amd.com \
--to=samuel.li@amd.com \
--cc=Alexander.Deucher@amd.com \
--cc=Jerry.Zhang@amd.com \
--cc=Michel.Daenzer@amd.com \
--cc=Ray.Huang@amd.com \
--cc=Shirish.S@amd.com \
--cc=airlied@linux.ie \
--cc=bskeggs@redhat.com \
--cc=daniel.vetter@ffwll.ch \
--cc=daniel.vetter@intel.com \
--cc=daniel@ffwll.ch \
--cc=daniels@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=maxime.ripard@bootlin.com \
--cc=michel@daenzer.net \
--cc=nouveau@lists.freedesktop.org \
--cc=rodrigo.vivi@intel.com \
--cc=sean@poorly.run \
/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