<xdarklight>
narmstrong: that same hack still works more than 5 years later
<xdarklight>
narmstrong: and here's someone reporting some that poking the replaced_alpha and replaced_alpha_en bits into VIU_OSD1_CTRL_STAT2 does something on Odroid-C1: https://forum.odroid.com/viewtopic.php?f=138&t=19403 - but when I read that register back at the end of meson_plane_atomic_update it gives me all zeros
<xdarklight>
sorry, I'm getting back all zeros in meson_crtc_irq but setting the right value in meson_plane_atomic_update
<xdarklight>
I'm out for a while, if you have any ideas (on how to solve it or where to ask for help): I'll continue hacking tonight
Darkmatter66_ has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #linux-amlogic
<narmstrong>
xdarklight: if I understand you can’t replace alpha with a fixed value to support xrgb but only argb ?
<narmstrong>
xdarklight: solution is to not support xrgb but add support for 24bit formats without alpha
<xdarklight>
ich123
buzzmarshall has joined #linux-amlogic
<narmstrong>
xdarklight: I hope it’s not your password !
CEnnis91 has quit [*.net *.split]
khilman has quit [*.net *.split]
AUser has quit [*.net *.split]
khilman has joined #linux-amlogic
AUser has joined #linux-amlogic
CEnnis91 has joined #linux-amlogic
<chewitt>
some ge2d options mentioned in that thread too
<xdarklight>
narmstrong: heh, no - I'm using generated passwords everywhere
<xdarklight>
narmstrong: I'll try implementing the 24bit formats and see if that gives better results
<xdarklight>
ah, support for DRM_FORMAT_RGB888 is already there
<xdarklight>
hmm, dropping DRM_FORMAT_XRGB8888 makes kmscube unhappy
<narmstrong>
Yep the default is xrgb8888
mag has joined #linux-amlogic
<xdarklight>
narmstrong: do you think that this is some issue that can be worked around in the DRM code (or if there's a workaround somewhere already)?
<xdarklight>
narmstrong: also does this make sense to you: https://pastebin.com/yL2yyprT ? (problem description in the comment)
sputnik__ has joined #linux-amlogic
vagrantc has joined #linux-amlogic
<narmstrong>
xdarklight: not sure, not having xrgb8888 is quite an issue
<narmstrong>
xdarklight: do you still have a fbcon without it ?
<narmstrong>
Pretty sure kmscube could run with argb8888 or rgb888 but it would need to be tweaked
<xdarklight>
narmstrong: without DRM_FORMAT_XBGR8888 I still don't have any fbcon
<narmstrong>
I think xrgb8888 is the default one
<xdarklight>
narmstrong: I'm wondering if technically DRM_FORMAT_XBGR8888 is supported, it just needs surface_depth = 32 (whatever that means in the graphics world :-))