[Intel-gfx] [PATCH 9/9] drm/i915: Make intel_display_power_put_unchecked() an internal-only function

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 30 22:07:01 UTC 2020


Quoting Imre Deak (2020-11-30 21:22:00)
> All the display power domain references are wakeref tracked now, so we
> can mark intel_display_power_put_unchecked() as an internal function
> (for suppressing wakeref tracking in non-debug builds).
> 
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Imre Deak <imre.deak at intel.com>

Ok, after all previous patches it will only be called from the header
after throwing away the wakeref.

I have a sneaky suspicion you might take another path after reviewing
the danger caused by the debug build, but if you want to keep this patch,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list