]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/huc: fix status check
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Tue, 23 Jul 2019 15:37:33 +0000 (08:37 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 23 Jul 2019 16:20:19 +0000 (17:20 +0100)
commitf7fabda64b2df401c140aa753cc3e778d79c7d2f
tree176515d0b23335832a4871a05010e9b4b0c18b54
parentf9652b71daee3706569f83395ae8a7f0a4661f80
drm/i915/huc: fix status check

Fix botched refactoring of the code that uncorrectly split a check on a
bool, treating it as a u32.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: d9f9df080029 ("drm/i915/uc: prefer intel_gt over i915 in GuC/HuC paths")
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@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/20190723153733.19401-1-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/gt/uc/intel_huc.c