On Thu, Oct 1, 2009 at 6:09 AM, Jerome Glisse <[email protected]> wrote:
> New init path allow to simply asic initialization and make easier
> to trace what happen on each different asic. We are removing most
> callback. Do a massive RS600 register cleanup to clarify RS600
> register, we are still bit fuzy on some register and waiting for
> more informations. I don't have hw to test, so this patch is a
> best effort to not break anythings and to try to improve things.

This patch breaks irq handling on all rs600->r5xx chips.
>  }
>
>  static inline uint32_t rs600_irq_ack(struct radeon_device *rdev, u32 
> *r500_disp_int)
>  {
> -       uint32_t irqs = RREG32(RADEON_GEN_INT_STATUS);

^ this was perfectly fine correct code.

> -       uint32_t irq_mask = RADEON_SW_INT_TEST;
> -
> -       if (irqs & AVIVO_DISPLAY_INT_STATUS) {
> -               *r500_disp_int = RREG32(AVIVO_DISP_INTERRUPT_STATUS);
> -               if (*r500_disp_int & AVIVO_D1_VBLANK_INTERRUPT) {
> -                       WREG32(AVIVO_D1MODE_VBLANK_STATUS, AVIVO_VBLANK_ACK);
> +       uint32_t irqs = RREG32(R_000040_GEN_INT_CNTL);

^ this is not doing the same thing at all.

If these auto generated registers are meant to have made life easier I can't see
how I'm wasting more time tracking down bugs that weren't there before this,
than fixing real problems. I'm about 5 mins from reverting back to
just using radeon_reg.h

Dave.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to