Hi all and a question

Alex Deucher alexdeucher at gmail.com
Wed Sep 19 08:27:58 PDT 2007


On 9/19/07, Syren Baran <sbaran at gmx.de> wrote:
> Hi list,
>
> i recently decided to have a closer look at the ati specs and
> ati-driver.
> Since i havent done any low level gfx card coding for over 10 years i
> got some stupid newb questions.
>
> The recently released amd specs use the description [somevar]:offset to
> describe the address for registers while radeon_reg.h uses the 0xoffset
> description. Where can the numerical values for [somevar] be found?
>
> Also, how it is possible for 32bit registers to have adjacent offsets?
> >From the specs, e.g. MCIND:0x4 and MCIND:0x5 ?
> Not that the description for MC_FB_LOCATION seems to make any sense to
> me.

those are indexed/indirect registers.  there are direct access and
indexed registers.  direct access regs are accessed directly from
their offset.  indexed registers are accessed via an index/data
register pair.  you write the indexed register you want into the index
and then you can read/write it via the data register.  MCIND stands
for Memory Controller INDex.

Alex


More information about the xorg-driver-ati mailing list