[PATCH 15/15] drm/radeon: implement ring saving on reset v2

Michel Dänzer michel at daenzer.net
Tue Jul 10 07:50:01 PDT 2012


On Die, 2012-07-10 at 14:51 +0200, Christian König wrote: 
> Try to save whatever is on the rings when
> we encounter an lockup.
> 
> v2: Fix spelling error. Free saved ring data if reset fails.
>     Add documentation for the new functions.
> 
> Signed-off-by: Christian König <deathsimple at vodafone.de>

Just some more spelling nits, otherwise this patch and patch 13 are

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


> +/**
> + * radeon_ring_backup - Backup the content of a ring
> + *
> + * @rdev: radeon_device pointer
> + * @ring: the ring we want to backup

'back up', in both cases.

> + * Saves all unprocessed commits to a ring, returns the number of dwords saved.
> + */

'unprocessed commands from'?


> +/**
> + * radeon_ring_restore - append saved commands to the ring again
> + *
> + * @rdev: radeon_device pointer
> + * @ring: ring to append commands to
> + * @size: number of dwords we want to write
> + * @data: saved commands
> + *
> + * Allocates space on the ring and restore the previusly saved commands.

'previously'


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


More information about the dri-devel mailing list