]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33799d82f3f958e88e712ddf5307053d8e0b47ac
tree984803e57679fa2f61b42c8a5e4c3af77cfb174a
parent180a76765cfbc8491ce07845f164afd9c1739a09
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