]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/guc: Remove USES_GUC_SUBMISSION for ads programming
authorAnusha Srivatsa <anusha.srivatsa@intel.com>
Fri, 22 Jun 2018 18:19:03 +0000 (11:19 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 22 Jun 2018 19:27:35 +0000 (20:27 +0100)
commitaa58f58d9c6471a1087ede57e4ab6cc0817c949f
tree16f10ef6087ff3960f3be193b651356b44a5ae4e
parente16a375086337af3fcf21dbd512e1573049ba6cb
drm/i915/guc: Remove USES_GUC_SUBMISSION for ads programming

In the guc_ctl_debug_flags, the ads struct is programmed only
when USES_GUC_SUBMISSION is satisfied. But, this has to be
programmed for all suspend/resume cases.
Remove the condition and program the ads struct for
both huc loading and guc submission.

This issue was noticed when CI threw errors for enable_guc=2
(load huc; disable submission)

v2:
- Change commit title.
- Correct the shifts. (Daniele)

Credits to: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Spotswood <john.a.spotswood@intel.com>
Cc: Oscar Mateo <oscar.mateo@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: John Spotswood <john.a.spotswood@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/1529691543-28606-1-git-send-email-anusha.srivatsa@intel.com
drivers/gpu/drm/i915/intel_guc.c