Matthias Hopf escribió:
On Jun 26, 09 01:46:41 -0400, Dariem Pérez Herrera wrote: Note that radeon typically uses the MMIO register space, while radeonhd is programming the MC over the PCIe register space. If you don't take care of that, chances are that you're just *disabling* MC programming - that was something that made RS740 sort-of fly as well.
Interesting... but then... why function RHDMCIdleWait() didn't stopped execution when idling MC failed (before I changed the registers) and instead some later assertion stopped the execution because of the same problem (MC was not idle), and then, when I changed the registers addresses, now RHDMCIdleWait() correctly reports "MC is not idle" before the later assertion which I think should never had been triggered??
Note that - in addition to different register spaces - MC registers are always programmed indirect. That is, you write the meta-register-number into one register (address), and the value in a different (data). For reading you write the meta-register-number into the address register, and read out the data register.
hmmm....I see...
If you take that into account, and can make RS600 work by just exchanging the values in the RS690 case, I can make that work for the general case.
The problem is as you explained before, radeonhd use a different register space than radeon, so if that is the case, I don't have any documentation or information about the addresses used by RS600 over PCIe register space, and I can't use radeon driver as example which uses MMIO.... am I correct? So, what can I do?
It's more probably, that we don't know how to correctly check the RS600's MC for being idle :-]
not familiar with radeonhd source code, so trying to fix MC make me lost into the code ocean. Any mentorship or documentation available so I can try?
Sorry, there's just the code. And the MC code is one of the scariest places, even with the abstraction level we have in radeonhd.
I would like to help, but without any documentation or specification, what can I do? BTW, how do you get the specification for coding this driver? best regards, Dariem -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org