Skip to contentSkip to conversation

PA_SC_RASTER_CONFIG

DISCUSSION Sylvain BERTRAND 2 participants 2 messages May 24, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

----

In si.c, the PA_SC_RASTER_CONFIG register is set with a golden value in 'si_init_golden_registers' function but get set nearly immediately after in 'si_setup_rb' function at a finer level (for each sh block of each se block).
If I remember well, that golden value would be again set to the golden value in mesa.

Is there one golden value for all se/sh blocks? Or are there computed (then overwritting the golden value) values for each se/sh? Why mesa would overwrite its value (I have not checked in lastest mesa)?

(drm-next-3.10 branch, head
28ff680d66b9c6b8dbe9436742e39a47a16ea396)

----

In drm-next-3.10 branch, commit c9e065819056dd00ccecbf17a73ade03fa03ca8e, in verde_golden_registers, many registers are set several times in a row, expected? (that does not look like sequential programing registers, maybe some register backbone block routing trickery?)

----

Regards,

Signature · 1 line
Sylvain
#1 lore raw
Quoted 9 lines · Sylvain BERTRAND

In si.c, the PA_SC_RASTER_CONFIG register is set with a golden value in 'si_init_golden_registers' function but get set nearly immediately after in 'si_setup_rb' function at a finer level (for each sh block of each se block).
If I remember well, that golden value would be again set to the golden value in mesa.

Is there one golden value for all se/sh blocks?

AFAIK, yes.

Quoted 2 lines

Or are there computed (then overwritting the golden value) values for each se/sh?

AFAICT the code doing this is quite broken and should probably be removed at this point.

Signature · 6 lines
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel