Chris Ball wrote:
> Hi,
>
> Here's a first crack at radeon support for kdb/kms.  It's working here
> on a Mobility FireGL V5200 running Fedora 13/Rawhide on a Thinkpad T60p.
> The patch applies to the kgdb-next branch of ~jwessel/linux-2.6-kgdb.
>
> I have some issues with it, but I haven't used the intel driver
> version, so I don't know which of these are unique to this patch:
>
>  * If X is running, I only make it to a kdb prompt if X was started
>    with -sharevts.
>   

The Intel driver works with or without the sharevts.   There could be
some further "common" code in the vt console area which is not atomic
safe.  

>    
>  * When switching from X -sharevts to kdb, I'm seeing a sleeping
>    function called from invalid context BUG(), full dmesg at:
>      http://dev.laptop.org/~cjb/radeon-kms-kdb-bug
>      
>   

I have an extra patch I add to my stack of patches for debugging this
type of problem.  It is either one of two issues.

1) There is an actual conditional sleep somewhere in the VT code that we
had not yet encountered (probably in the redraw code)

2) The Radeon driver used a mutex atomically which ended up re-enabling
the IRQs.
      The attached patch can help you find that condition.


If you do find some problem in this area we can add it to the mutex
hacks patch until a solution is found.

>  * I've only tested the avivo path, because I don't have any pre-avivo
>    radeon hardware handy.  It'd be excellent if someone could volunteer
>    to test that, else I'll try harder to find hardware to test locally.
>
> I don't know the DRM code well, so I'd appreciate a careful review.
> Thanks!
>
>   
I don't have the HW, and by no means should be considered a DRM expert.

Thanks,
Jason.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to