19:23 karolherbst: imirkin: I sent out a patch which only requires a quick check. Mind reviewing it?
19:24 imirkin_: sec, checking something
22:15 karolherbst: imirkin_: do we have to do some weirdo lowering for fbfetch in addition to the TXF stuff?
22:15 karolherbst: like format conversion stuff or anything?
22:17 imirkin_: why would we need that?
22:17 imirkin_: TXF just works
22:18 imirkin_: the texture descriptor is configured with the proper format, we can sample all renderable formats
22:25 karolherbst: okay
22:25 karolherbst: I was just wondering
22:26 imirkin_: for images, we have format conversion things
22:26 imirkin_: since pre-maxwell, there is no formatted read
22:32 HdkR: imirkin_: Drop everything pre-maxwell. It's the only option :)
22:32 imirkin_: i'd rather go the other way
22:33 karolherbst: :)
22:33 imirkin_:is debating whether to drop $50 on a quadro k4000
22:33 karolherbst: kepler is the only worthy gpu arch nvidia ever made
22:33 karolherbst: tesla is open for debate
22:34 karolherbst: everything else is crap :p
22:34 imirkin_: that'll get me DP-MST for my monitors, and i can get a DP 1.2 -> HDMI 2.0 adapter for my tv
22:34 karolherbst: good idea
22:34 karolherbst: imirkin_: an active adapter?
22:34 imirkin_: ya
22:34 karolherbst: nice
22:34 karolherbst: those are the best
22:34 imirkin_: one with working CEC ideally
22:35 karolherbst: mhh, I think mine has working CEC actually... not 100% sure
22:35 imirkin_: nvidia doesn't have native cec support
22:36 HdkR: Unless Tegra I guess?
22:36 karolherbst: .. now idea if my adapter can do CEC :D
22:37 karolherbst: but shouldn't that just work?
22:37 imirkin_: HdkR: tegra is a separate piece of hw
22:37 imirkin_: e.g. tegradrm vs nouveau
22:37 imirkin_: karolherbst: more often than not, apparently they don't wire the CEC pin to the dp aux stuff
22:38 karolherbst: heh
22:38 HdkR: imirkin_: Is that because of host1x differences or something?
22:38 imirkin_: HdkR: it's just different logic than desktop display engine
22:38 imirkin_: why? who knows. but it's different.
22:38 HdkR: ah right
22:39 imirkin_: the "gpu" component in a tegra soc doesn't have any connectors / display capability
22:40 HdkR: I'm beginning to remember the pain
22:40 imirkin_: there's certainly a lot of cross-polination though
22:41 imirkin_: apparently tegra now has a VIC, just like MCP89 had a VIC
22:41 imirkin_: and all the terminology is the same, "sor" and whatnot
22:42 HdkR: Wonder if it was part of the initiative to license Nvidia GPU core to other vendors and they could just stick their display controller hardware on it
22:42 HdkR: Even though that died very quickly
22:42 imirkin_: yeah, can't help with that question :)
22:42 HdkR: :D
22:43 karolherbst: HdkR: it's probably the other way around
22:43 HdkR: Stick the Nvidia display controller on other things?
22:43 karolherbst: arm _required_ you do buy some non working 2D GPU you had to enhance with your crap, because... no idea
22:43 karolherbst: but thing about it
22:43 karolherbst: why does _every_ arm soc has this stupid 2D/3D split
22:44 karolherbst: *think
22:44 RSpliet: imirkin_: VIC-40?
22:45 HdkR: karolherbst: Isn't it because every company loves creating their own 2D acceleration and display controller hardware? :P
22:45 karolherbst: :p
22:45 karolherbst: of course
22:45 karolherbst: that's why GPUs usually have both features
22:46 RSpliet: karolherbst: not sure Android requires 3D for rasterisation. I suspect the separate 2D/3D engine thing is so that they can powergate the 3D component. Easiest way to save power in the common case
22:47 karolherbst: I think everything in android requires 3D
22:47 karolherbst: :p
22:47 karolherbst: but yeah... I think you can run it 2d only
22:47 karolherbst: but I am sure it's not technically required to have two piceses of thing inside the soc
22:47 karolherbst: could just power down the 3d engine
22:47 RSpliet: Nah, it's just lazy engineering
22:48 RSpliet: When it's an integrated component, you need to think about shared resources. Thinking is hard
22:48 RSpliet: (and expensive. You know how rare thinking people are? :-P)
22:48 HdkR: Push your result out to system memory, require everything to pull from that. :D
22:49 HdkR: Snooping caches, coherency? Overrated. dump to system memory and send a signal when it's safe
22:49 HdkR: (Signal is also memory)
22:49 airlied: if you are watching movies etc, android can turn off 3d I think
22:50 RSpliet: airlied: I presume it's just GL and browser workloads really requiring 3D?
22:50 airlied: RSpliet: I think some of the android comppositing can use it, but it can also use 2d engines
22:50 RSpliet: Of course, a lot of workloads are browser workloads by virtue of lazy app developers :-P
22:51 RSpliet: Ah hmm, if compositing requires 3D you're not going to have a lot of time to switch off that GPU...
22:52 HdkR: Latest Android demands Vulkan these days. Looks like they are getting away from pushing everything through a 2D pipeline
22:53 RSpliet: https://source.android.com/devices/graphics/implement-hwc
22:53 karolherbst: HdkR: makes sense
22:53 HdkR: Yea, HWC is still a thing for the final plane blending
22:53 karolherbst: 2D engines only made sense because the 3d parts came with insanly huge CPU overheads