All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Deposite Pirate <dpirate@metalpunks.info>
Cc: "Michel Dänzer" <michel@daenzer.net>,
	"Peter Rosin" <peda@axentia.se>,
	dri-devel@lists.freedesktop.org
Subject: Re: [Bug 198123] Console is the wrong color at boot with radeon 6670
Date: Wed, 10 Jan 2018 13:15:22 +0100	[thread overview]
Message-ID: <20180110121522.GL13066@phenom.ffwll.local> (raw)
In-Reply-To: <efa36b7fc7231fb067b009168a08d9ff@metalpunks.info>

On Sun, Jan 07, 2018 at 07:14:41PM +0000, Deposite Pirate wrote:
> December 22, 2017 4:35 PM, "Michel Dänzer" <michel@daenzer.net> wrote:
> 
> > "Deposite Pirate", do the attached (only compile tested) patches work?
> 
> Hi,
> 
> Sorry for the delay. I was not at home for a while. So, I've compiled and booted a kernel with both
> of these patches and
> the issue is still present.

Below a revised version of Michel's first patch. This one should work I
hope.
-Daniel

diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index d22f4b6a8828..dc0abdf8be00 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -213,9 +213,6 @@ void radeon_crtc_load_lut(struct drm_crtc *crtc)
 	struct drm_device *dev = crtc->dev;
 	struct radeon_device *rdev = dev->dev_private;
 
-	if (!crtc->enabled)
-		return;
-
 	if (ASIC_IS_DCE5(rdev))
 		dce5_crtc_load_lut(crtc);
 	else if (ASIC_IS_DCE4(rdev))
@@ -702,6 +699,8 @@ static void radeon_crtc_init(struct drm_device *dev, int index)
 		radeon_atombios_init_crtc(dev, radeon_crtc);
 	else
 		radeon_legacy_init_crtc(dev, radeon_crtc);
+
+	radeon_crtc_load_lut(&radeon_crtc->base);
 }
 
 static const char *encoder_names[38] = {
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2018-01-10 12:15 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-10 16:53 [Bug 198123] New: Console is the wrong color at boot with radeon 6670 bugzilla-daemon
2017-12-11  3:56 ` [Bug 198123] " bugzilla-daemon
2017-12-11 23:31 ` bugzilla-daemon
2017-12-12 23:11 ` bugzilla-daemon
2017-12-12 23:26 ` bugzilla-daemon
2017-12-12 23:33 ` bugzilla-daemon
2017-12-12 23:48 ` bugzilla-daemon
2017-12-13  0:59 ` bugzilla-daemon
2017-12-16  1:41 ` bugzilla-daemon
2017-12-18 11:37   ` Michel Dänzer
2017-12-18 13:50     ` Peter Rosin
2017-12-19 10:48       ` Michel Dänzer
2017-12-22 15:34         ` Michel Dänzer
2018-01-07 19:14           ` Deposite Pirate
2018-01-10 12:15             ` Daniel Vetter [this message]
2018-01-11  8:57               ` Daniel Vetter
2018-01-11  9:09               ` Michel Dänzer
2017-12-28  9:35 ` bugzilla-daemon
2018-01-11 10:11 ` bugzilla-daemon
2018-01-12  8:46 ` bugzilla-daemon
2018-01-12  9:50 ` bugzilla-daemon
2018-01-12 21:12 ` bugzilla-daemon
2018-01-13  6:50 ` bugzilla-daemon
2018-01-13 13:34 ` bugzilla-daemon
2018-01-14 18:32 ` bugzilla-daemon
2018-01-14 20:40 ` bugzilla-daemon
2018-01-16 16:54 ` bugzilla-daemon
2018-01-17 13:48 ` bugzilla-daemon
2018-01-18  5:15 ` bugzilla-daemon
2018-01-22  8:39 ` bugzilla-daemon
2018-01-22  8:40 ` bugzilla-daemon
2018-01-26  6:50 ` bugzilla-daemon
2018-01-26 17:54 ` bugzilla-daemon
2018-01-28 22:55 ` bugzilla-daemon
2018-01-31 10:36 ` bugzilla-daemon
2018-01-31 10:44 ` bugzilla-daemon
2018-01-31 11:14 ` bugzilla-daemon
2018-02-01 15:39 ` bugzilla-daemon
2018-02-19  8:20 ` bugzilla-daemon
2018-02-19  8:35 ` bugzilla-daemon
2018-02-19 15:19 ` bugzilla-daemon
2018-02-26  2:57 ` bugzilla-daemon
2018-02-26  2:59 ` bugzilla-daemon
2018-03-13 18:53 ` bugzilla-daemon
2018-03-14  9:10 ` bugzilla-daemon
2018-03-14 23:48 ` bugzilla-daemon
2018-03-15  9:20 ` bugzilla-daemon
2018-03-15 22:18 ` bugzilla-daemon
2018-03-16  9:29 ` bugzilla-daemon
2018-03-16 19:20 ` bugzilla-daemon
2018-03-17 18:57 ` bugzilla-daemon
2018-03-18 14:33 ` bugzilla-daemon
2018-03-19  9:40 ` bugzilla-daemon
2018-03-19  9:43 ` bugzilla-daemon
2018-03-19 13:55 ` bugzilla-daemon
2018-03-20  4:37 ` bugzilla-daemon
2018-03-20  6:03 ` bugzilla-daemon
2018-08-09  7:39 ` bugzilla-daemon
2018-09-05 13:59 ` bugzilla-daemon
2018-11-26 18:21 ` bugzilla-daemon
2019-03-05  1:12 ` bugzilla-daemon
2023-10-01 21:32 ` bugzilla-daemon

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=20180110121522.GL13066@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=dpirate@metalpunks.info \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=michel@daenzer.net \
    --cc=peda@axentia.se \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.