lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070516142048.GA4577@ucw.cz>
Date:	Wed, 16 May 2007 14:20:48 +0000
From:	Pavel Machek <pavel@....cz>
To:	Schmidt Michal <xschmi00@...d.feec.vutbr.cz>
Cc:	Ondrej Zary <linux@...nbow-software.org>,
	Robert Hancock <hancockr@...w.ca>,
	Arjan van de Ven <arjan@...ux.intel.com>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [announce] Intel announces the PowerTOP utility for Linux

Hi!

> >On Tuesday 15 May 2007 02:13:15 Robert Hancock wrote:
> >>Looks like the radeon driver has the same problem as 
> >>the i915 driver
> >>mentioned on the known problems page - I get 60 
> >>wakeups/sec from it on
> >>my Compaq X1000 laptop (Radeon 9000 graphics) while in 
> >>X, which
> >>essentially prevents entry into C3.
> >
> >And Rage 128 too.
> >
> 
> I have a Radeon 7500 in my laptop. The attached hack to 
> disable the VBLANK interrupt works for me. I don't know 
> if it breaks 3D, I've only tried 2D.

Hmm, you should probably find where it is used, and only enable irq
when neccessary. Disabling it always will break something.

> diff --git a/drivers/char/drm/radeon_irq.c b/drivers/char/drm/radeon_irq.c
> index 3ff0baa..a990bb6 100644
> --- a/drivers/char/drm/radeon_irq.c
> +++ b/drivers/char/drm/radeon_irq.c
> @@ -227,9 +227,8 @@ void radeon_driver_irq_postinstall(drm_device_t * dev)
>  	atomic_set(&dev_priv->swi_emitted, 0);
>  	DRM_INIT_WAITQUEUE(&dev_priv->swi_queue);
>  
> -	/* Turn on SW and VBL ints */
> -	RADEON_WRITE(RADEON_GEN_INT_CNTL,
> -		     RADEON_CRTC_VBLANK_MASK | RADEON_SW_INT_ENABLE);
> +	/* Turn on the SW interrupt */
> +	RADEON_WRITE(RADEON_GEN_INT_CNTL, RADEON_SW_INT_ENABLE);
>  }
>  
>  void radeon_driver_irq_uninstall(drm_device_t * dev)


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ