[Intel-gfx] [PATCH 2/9] drm/i915/uc: Unify uC platform check
Chris Wilson
chris at chris-wilson.co.uk
Tue Jul 23 08:21:46 UTC 2019
Quoting Daniele Ceraolo Spurio (2019-07-23 00:20:41)
> We have several HAS_* checks for GuC and HuC but we mostly use HAS_GUC
> and HAS_HUC, with only 1 exception. Since our HW always has either
> both uC or neither of them, just replace all the checks with a unified
> HAS_UC.
>
> Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Given that we only had a single .has_[hg]uc entry, calling that .has_uc
makes sense. I trust in your crystal ball that not being able to
distinguish between the availability of different uC is not important.
Acked-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
More information about the Intel-gfx
mailing list