Re: [PATCH 2/9] drm/i915/uc: Unify uC platform check

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

 



<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
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux