On Wed, 2006-07-19 at 13:37 -0700, Adam Jackson wrote:
> 
> diff-tree af7b89d7246efbed7d05c38fcaa6a13c4b89db90 (from 
> d5e0f8bdaf8769642950b8219f0e80f6b523817d)
> Author: Adam Jackson <[EMAIL PROTECTED]>
> Date:   Wed Jul 19 15:35:31 2006 -0400
> 
>     Make sure busmastering gets disabled on module unload.
> 
> diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
> index 695b5ec..299ec6a 100644
> --- a/shared-core/radeon_cp.c
> +++ b/shared-core/radeon_cp.c
> @@ -1719,6 +1719,11 @@ static int radeon_do_cleanup_cp(drm_devi
>                       dev_priv->gart_info.addr = 0;
>               }
>       }
> +
> +     /* Disable busmastering */
> +     RADEON_WRITE(RADEON_BUS_CNTL, RADEON_READ(RADEON_BUS_CNTL) |
> +             RADEON_BUS_MASTER_DIS);

This oopses for me on X server shutdown. Does it really work on module
unload?


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to