]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915/uc: Remove redundant GuC support checks
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 4 Aug 2019 19:50:51 +0000 (19:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 5 Aug 2019 17:25:26 +0000 (18:25 +0100)
commit34f0a20fa4ea8ad08b2d1fd43fa6e2febb9a4eff
treea6eea97e9a3ec06f7d8039ff7f47394319d91456
parent2afc794c3ea026edcf4134b683e5c478073e8781
drm/i915/uc: Remove redundant GuC support checks

Since commit db81bc6eb9c0 ("drm/i915/uc: Consider enable_guc
modparam during fw selection") we have started using firmware
status as main indicator of the GuC support. No need to use
same checks twice.

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-4-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_uc.c