drm/i915/huc: Prefer intel_huc_is_supported
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 4 Aug 2019 19:50:50 +0000 (19:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Aug 2019 17:25:25 +0000 (18:25 +0100)
commit2afc794c3ea026edcf4134b683e5c478073e8781
tree984803e57679fa2f61b42c8a5e4c3af77cfb174a
parentc8be1a5fc5c63b78f86f3c15fd700163ecfed57f
drm/i915/huc: Prefer intel_huc_is_supported

No need to dance with intel_uc_supports_huc(uc) as we
can directly use intel_huc_is_supported(huc)

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190804195052.31140-3-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_huc.c