[Bug 198123] Console is the wrong color at boot with radeon 6670

Michel Dänzer michel at daenzer.net
Thu Jan 11 09:09:01 UTC 2018


On 2018-01-10 01:15 PM, Daniel Vetter wrote:
> On Sun, Jan 07, 2018 at 07:14:41PM +0000, Deposite Pirate wrote:
>> December 22, 2017 4:35 PM, "Michel Dänzer" <michel at 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))

Good catch, thanks Daniel. FWIW though, I'd prefer this to be a separate
patch, in case it causes any regressions. But let's wait for test
results first.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the dri-devel mailing list