Re: Add SQ_WAVE_TTMPx support for gfx9

2018-04-07 Thread Tom St Denis
Oh derp, now I get your point (I'm in the middle of making a homebrew AVR development board from a PCB I designed so I didn't read your previous email right). Yup, ok then let's drop the kernel patches and I'll work on umr patches on Monday. Sorry for the confusion. Thanks, Tom On 04/07/20

Re: Add SQ_WAVE_TTMPx support for gfx9

2018-04-07 Thread Nicolai Hähnle
I don't think this is the right approach. TTMPs are really just SGPRs. They're only special because access to them is restricted to trap handlers. Note how the index ixSQ_WAVE_TTMP0 is 0x26c. 0x200 is the base for reading SGPRs, and 0x6c is the operand encoding of TTMP0. I think umr should