Title: RE: [Xpert]ATI r128 and documentation

> > To be precise, in order to get sensible values from the
> registers (as
> > set up by the OpenFirmWare of my iBook), I need the following patch:
> >
> > --- r128_reg.h      2002/09/04 15:10:14     1.1.1.5
> > +++ r128_reg.h      2002/10/14 09:05:21
> > @@ -554,8 +559,8 @@
> >  #define R128_FOG_3D_TABLE_DENSITY         0x181c
> >  #define R128_FOG_TABLE_INDEX              0x1a14
> >  #define R128_FOG_TABLE_DATA               0x1a18
> > -#define R128_FP_CRTC_H_TOTAL_DISP         0x0250
> > -#define R128_FP_CRTC_V_TOTAL_DISP         0x0254
> > +#define R128_FP_CRTC_H_TOTAL_DISP         0x0254
> > +#define R128_FP_CRTC_V_TOTAL_DISP         0x0258
> >  #define R128_FP_GEN_CNTL                  0x0284
> >  #       define R128_FP_FPON                  (1 << 0)
> >  #       define R128_FP_BLANK_DIS             (1 << 1)
>
> I just downloaded the M3 register reference, and it says 0x250/0x254.
> 0x258 would be CRT_CRTC_H_SYNC_STRT_WID .

I subscribe to that:

  #define R128_FP_CRTC_H_TOTAL_DISP         0x0250
  #define R128_FP_CRTC_V_TOTAL_DISP         0x0254
  #define R128_CRT_CRTC_H_SYNC_STRT_WID     0x0258
  #define R128_CRT_CRTC_V_SYNC_STRT_WID     0x025C

Note that this registers will be only present for M3 of the R128 family,
but _not_ for the regular R128 chips.

Is your iBook screen rotated by 90 degree?
No better idea on that iBook, never had one, sorry.

-Alex.

Reply via email to