<snip>

-
-/* For now, anything with a GuC has also HuC */
-#define HAS_HUC(dev_priv)    (HAS_GUC(dev_priv))
-#define HAS_HUC_UCODE(dev_priv)    (HAS_GUC(dev_priv))
+#define HAS_UC(dev_priv)    (INTEL_INFO(dev_priv)->has_uc)

time to use i915 instead of dev_priv

ok


I've decided against this in the end because all the other HAS_* checks in the file use dev_priv and a single i915 sticks out like a sore thumb. Probably better to flip them all at the same time when we're ready.

Daniele
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to