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

Michel Dänzer michel at daenzer.net
Mon Dec 18 11:37:39 UTC 2017


Following up by e-mail, since I can't find Peter Rosin in the kernel
bugzilla.


On 2017-12-16 02:41 AM, bugzilla-daemon at bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=198123
> 
> --- Comment #8 from Deposite Pirate (dpirate at metalpunks.info) ---
> Ok, I went through all the git bisect process. Here are the results:
> 
> [...]
> 
> b8e2b0199cc377617dc238f5106352c06dcd3fa2 is the first bad commit
> commit b8e2b0199cc377617dc238f5106352c06dcd3fa2
> Author: Peter Rosin <peda at axentia.se>
> Date:   Tue Jul 4 12:36:57 2017 +0200
> 
>     drm/fb-helper: factor out pseudo-palette
> 
>     The pseudo-palette has nothing to do with the crtc, so move it
>     out of the crtc loop and update the palette once, then break out
>     early.
> 
>     Signed-off-by: Peter Rosin <peda at axenita.se>
>     Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
>     Link:
> http://patchwork.freedesktop.org/patch/msgid/1499164632-5582-2-git-send-email-peda@axentia.se
> 
> :040000 040000 a8c2650554e199fee994ac63c2700c73ba2ecffe
> 7f72ed414efadd77ef1d718e7477475c4ba1127d M      drivers

My guess would be this is because fb_helper->funcs->gamma_set is no
longer called from drm_fb_helper_setcmap in the FB_VISUAL_TRUECOLOR case
(was previously called via setcolreg).

Peter, how is the hardware CLUT intended to be initialized in that case
with this change?


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


More information about the dri-devel mailing list