convert dc to using krefs for object reference counts
harry.wentland at amd.com
Tue Oct 3 21:14:19 UTC 2017
On 2017-10-02 10:38 PM, Dave Airlie wrote:
> This series might be a bit of a too big step :-)
Should be okay since ref counts are pretty self-contained.
> So in the kernel we use krefs for reference counts for lots of good
> reasons, the main one, is no bugs with roll your own atomic reference
> counting for structs, which lots of this code is.
> I've ported all the structs I could find using hand rolled atomic
> reference counters to use krefs.
I'd still echo Christian's nitpick but knowing the state of DC code
style this series is
Reviewed-by: Harry Wentland <harry.wentland at amd.com>
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
More information about the amd-gfx