<Lynne>
in fact, even using copy or blit commands on multiplane images is sketchy according to the spec
paulk has quit [Remote host closed the connection]
paulk has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
flynnjiang has joined #dri-devel
flynnjiang has quit []
Duke`` has joined #dri-devel
crabbedhaloablut has joined #dri-devel
xzhan34 has joined #dri-devel
heat_ has joined #dri-devel
heat has quit [Read error: Connection reset by peer]
Haaninjo has joined #dri-devel
heat_ has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
Cyrinux9474 has quit [Ping timeout: 480 seconds]
Cyrinux9474 has joined #dri-devel
sima has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
fab has joined #dri-devel
elongbug has joined #dri-devel
elongbug has quit [Remote host closed the connection]
elongbug has joined #dri-devel
fab has quit [Read error: Connection reset by peer]
elongbug has quit []
<linkmauve>
Am I remembering correctly that not passing DRM_MODE_FB_MODIFIERS to ADDFB2 is guaranteed to be the same as passing in DRM_FORMAT_INVALID with the flag set?
<linkmauve>
Or are drivers allowed to treat it differently?
poputyn has joined #dri-devel
<co1umbarius>
Lynne: so the only thing I can do is create a convertion to the target formst
<co1umbarius>
at and use an identity shader?
fab has joined #dri-devel
fab has quit [Remote host closed the connection]
fab has joined #dri-devel
fab is now known as Guest2309
Guest2309 has quit [Killed (resistance.oftc.net (Nick change collision))]
poputyn has quit [Quit: Leaving]
flynnjiang has joined #dri-devel
rasterman has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
junaid has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
deathmist has left #dri-devel [WeeChat 4.0.3]
simon-perretta-img has joined #dri-devel
simon-perretta-img_ has joined #dri-devel
junaid has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
<emersion>
linkmauve: the kernel should reject INVALID when the flag is set
<emersion>
IOW, the kernel API does not work like the Wayland protocol, INVALID does not mean "implicit modifier" there
junaid has joined #dri-devel
<linkmauve>
Oh, interesting, thanks!
<linkmauve>
Does it make sense to allow INVALID in a libdrm-like library then?
penguin42 has joined #dri-devel
<emersion>
i think you need to pick one style or the other
<emersion>
I like the INVALID style because it allows to express the legacy path with the same params as the new path
<emersion>
but it's purely an aesthetic choice
<emersion>
in wlroots, I use INVALID style and then set/unset the flag when crossing to KMS
<linkmauve>
In drm-rs we can use Option<Modifier>, so None could mean no modifier, and Some(INVALID) could also be a thing.
<linkmauve>
I was wondering whether to accept INVALID there or to outright make it unrepresentable in the type.
<emersion>
i think that's a misuse
<emersion>
INVALID means "none", or at least "no valid value"
<linkmauve>
So None and Some(INVALID) would actually mean the same thing?
<vsyrjala>
kms has NONE but that actually means LINEAR. and the NONE name is deprecated
<linkmauve>
Of course I meant None as the absence of modifier, not DRM_FORMAT_MOD_NONE.
<vsyrjala>
i'd probably not pick such a similar name for it. could be confusing. unless that's forced on you by the language or something
<linkmauve>
It isn’t imposed, but that’s an extremely common way in every API in that language to express the absence of a value.
<linkmauve>
So people will already be used to None being completely different from Some(DRM_FORMAT_MOD_NONE).
Company has joined #dri-devel
fab has joined #dri-devel
<emersion>
i would recommend against exposing the NONE value from the header
<emersion>
LINEAR is a much better name
Haaninjo has quit [Quit: Ex-Chat]
junaid has quit [Ping timeout: 480 seconds]
fab has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
YuGiOhJCJ has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
Haaninjo has joined #dri-devel
Daanct12 has quit [Quit: WeeChat 4.0.4]
<linkmauve>
[184781.690548] sun4i-drm display-engine: [drm:drm_internal_framebuffer_create] bad fb modifier 648518346341351425 for plane 0
<linkmauve>
Yet drm_info says it is perfectly ok.
<linkmauve>
I’m trying to import a NV12 dmabuf exported from V4L2.
<linkmauve>
Using two planes, NV12 format, ALLWINNER_TILED modifier.
<dottedmag>
Nicely formatted modifier value btw
<linkmauve>
I could fix that in sun4i-drm indeed. :)
<linkmauve>
Hex would be much better here.
<emersion>
it's in core DRM i believe?
<emersion>
(drm_internal_framebuffer_create is the function name)
fab has joined #dri-devel
<linkmauve>
Ah, I was passing some wrong modifiers, now I got a fb, yay!
junaid has quit [Remote host closed the connection]
camus has quit []
rasterman has quit [Quit: Gettin' stinky!]
fab has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
<alyssa>
y/quit
alyssa has quit [Quit: alyssa]
Haaninjo has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
kzd has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
Jeremy_Rand_Talos_ has joined #dri-devel
ap51 has joined #dri-devel
fab has joined #dri-devel
ap51 has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
heat_ has joined #dri-devel
heat has quit [Read error: No route to host]
junaid has quit [Remote host closed the connection]
MrCooper has quit [Remote host closed the connection]
kts has joined #dri-devel
MrCooper has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
fab has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
fxkamd has quit []
fxkamd has joined #dri-devel
An0num0us has joined #dri-devel
junaid has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
fab has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
danylo has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
ap51 has joined #dri-devel
Leopold_ has quit [Ping timeout: 480 seconds]
Leopold has joined #dri-devel
junaid has quit [Remote host closed the connection]
dviola has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
heat has joined #dri-devel
heat_ has quit [Read error: Connection reset by peer]
jdavies has joined #dri-devel
jdavies is now known as Guest2334
jdavies_ has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
Guest2334 has quit [Ping timeout: 480 seconds]
hays has quit [Remote host closed the connection]
kts has quit [Quit: Leaving]
junaid has joined #dri-devel
hays has joined #dri-devel
illwieckz has quit [Ping timeout: 480 seconds]
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
DPA has quit [Ping timeout: 480 seconds]
DPA has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
Haaninjo has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
psykose has quit [Remote host closed the connection]
psykose has joined #dri-devel
junaid has quit [Remote host closed the connection]
illwieckz has joined #dri-devel
An0num0us has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Ping timeout: 480 seconds]
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
fxkamd has quit []
JTL has joined #dri-devel
sima has quit [Ping timeout: 480 seconds]
<cheako>
How do I use drm-xe-next? with 6.5.2-x64v3-xanmod1, do I need any args?
<cheako>
I'm trying to follow some instructions from karolherbs, must be the weekend?
<Sachiel>
if you have the module built, i915.force_probe=!* xe.force_probe=* in the kernel cmdline