Re: [PATCH] drm/i915: Return -ENOENT for unknown contexts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 16, 2014 at 11:58:09AM +0300, Mika Kuoppala wrote:
> From: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
> 
> If hw_contexts are disabled, we always return the per file
> descriptor default context stats. Make sure that the context
> is correctly given and fail accordingly if not.
> 
> Testcase: igt/gem_reset_stats/params
> Signed-off-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxx>

This code is obsolete, and the bug should be already fixed by

commit 691e6415c891b8b2b082a120b896b443531c4d45
Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Date:   Wed Apr 9 09:07:36 2014 +0100

    drm/i915: Always use kref tracking for all contexts.

-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux