[Intel-gfx] [PATCH 8/8] drm/i915/get_params: Add HuC status to getparams
Arkadiusz Hiler
arkadiusz.hiler at intel.com
Fri Dec 23 14:33:15 UTC 2016
On Thu, Dec 22, 2016 at 03:12:24PM -0800, Anusha Srivatsa wrote:
> From: Peter Antoine <peter.antoine at intel.com>
>
> This patch will allow for getparams to return the status of the HuC.
> As the HuC has to be validated by the GuC this patch uses the validated
> status to show when the HuC is loaded and ready for use. You cannot use
> the loaded status as with the GuC as the HuC is verified after it is
> loaded and is not usable until it is verified.
>
> v2: removed the forewakes as the registers are already force-woken.
> (T.Ursulin)
> v4: rebased.
> v5: rebased on top of drm-tip.
> v6: rebased. Removed any reference to intel_huc.h
> v7: rebased. Rename I915_PARAM_HAS_HUC to I915_PARAM_HUC_STATUS.
> Remove intel_is_huc_valid() since it is used only in one place.
> Put the case of I915_PARAM_HAS_HUC() in the right place.
> v8: rebased. Add a comment to specify that I915_READ(reg)
> does not read garbage value. The register HUC_STATUS2 is force
> woken and no rpm is needed.
>
> Signed-off-by: Peter Antoine <peter.antoine at intel.com>
Where is your s-o-b?
other than that:
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
--
Cheers,
Arek
More information about the Intel-gfx
mailing list