00:54 imirkin: anholt: i'm fine with the general idea of the UBO thing, but someone like karol should have a look. i haven't involved myself in the nir stuff at all.
00:55 imirkin: anholt: you can take this as an a-b for any change to the nouveau/ci dir :)
00:58 karolherbst: I am sure I already reviewed that one
00:58 imirkin: ok, then that's sufficient review
00:58 karolherbst: maybe I didn't? let's see
00:58 imirkin: i think had that comment about addr regs being 2, but if the tgsi fe does 4, then it's all fine
00:59 karolherbst: yeah, tgsi is all 4
00:59 imirkin: i guess it's normalized somewhere. or it's not normalized anywhere and it's just wrong :)
01:00 karolherbst: maybe we are just lucky
01:00 imirkin: addr regs are weird
01:00 imirkin: they have that sticky-bit logic to them too
01:00 imirkin: (which iirc is disable-able somehow)
01:00 karolherbst: what is it doing again?
01:00 imirkin: so like
01:00 imirkin: it's 16-bit
01:00 imirkin: but
01:01 imirkin: add $a0 $a0 4
01:01 imirkin: if that goes to 0x10000
01:01 imirkin: then nothing you do will change the $a0 value
01:01 imirkin: (except moving an explicit value into it)
01:01 imirkin: this makes it so that if you overflow the address, you don't start back at the bottom
01:01 karolherbst: ahh
01:01 karolherbst: I see
01:02 karolherbst: sounds like annoying magic behaviour I am sure somebody got annoyed by so the ditched it :)
01:03 imirkin: well, no more 16-bit addr regs on fermi :)
01:03 karolherbst: true
01:03 imirkin: i think this corresponds to some sort of implicit DX9 behavior
01:03 imirkin: or SOMETHING
01:04 imirkin: they didn't just put that in because they had transistors sitting around doing nothing
01:04 imirkin: iirc it's even controllable via some class method
01:04 karolherbst: who knows
01:05 imirkin: and most importantly, who cares ;)
01:06 karolherbst: I guess nvidia ended up using the file for more stuff than we do?
01:07 imirkin: i think it's just to avoid buggy shader code
01:07 imirkin: which increments some loop var
01:07 imirkin: and does indirect indexing off it
01:08 karolherbst: ohh sure.. but I mean we essentially just assign to it once, or do we also manipuate the value?
01:09 airlied: I think it's only legal to assign to
01:09 imirkin: you can also add
01:09 imirkin: you can't even mov, technically
01:09 imirkin: you can shl, and you can add
01:09 karolherbst: weird
01:09 imirkin: so the add is the sticky-bit-setting/preserving thing
01:10 imirkin: i'm weak on its details
13:37 Sarayan: the vbios tables parsing code, where should I look for it?
13:37 Sarayan: for power/heat management
13:39 Sarayan: in the kernel or in mesa?
13:48 Sarayan: ah, kernel drm
19:29 karolherbst: anholt: btw, did you update the shader-db stats in the meantime? I wouldn't be surprised if things got better on nv92
19:29 anholt: I had.
19:30 karolherbst: ohh, in the commit