All of lore.kernel.org
 help / color / mirror / Atom feed
* PA_SC_RASTER_CONFIG
@ 2013-05-24  0:15 Sylvain BERTRAND
  2013-05-24  5:44 ` PA_SC_RASTER_CONFIG Michel Dänzer
  0 siblings, 1 reply; 2+ messages in thread
From: Sylvain BERTRAND @ 2013-05-24  0:15 UTC (permalink / raw)
  To: dri-devel

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,

-- 
Sylvain

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PA_SC_RASTER_CONFIG
  2013-05-24  0:15 PA_SC_RASTER_CONFIG Sylvain BERTRAND
@ 2013-05-24  5:44 ` Michel Dänzer
  0 siblings, 0 replies; 2+ messages in thread
From: Michel Dänzer @ 2013-05-24  5:44 UTC (permalink / raw)
  To: Sylvain BERTRAND; +Cc: dri-devel

On Fre, 2013-05-24 at 02:15 +0200, Sylvain BERTRAND wrote:
> 
> 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.

> 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.


-- 
Earthling Michel Dänzer           |                   http://www.amd.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-24  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-24  0:15 PA_SC_RASTER_CONFIG Sylvain BERTRAND
2013-05-24  5:44 ` PA_SC_RASTER_CONFIG Michel Dänzer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.