]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/i915/guc: Set GuC init params only once
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 24 Jul 2019 08:58:49 +0000 (09:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Jul 2019 09:59:48 +0000 (10:59 +0100)
commit2bf8fb39eb70b6cf1d0f7efbe9fa9fb27d55fdf4
treed6d7a1026af2303f86a6108a2ee6d029438f66b1
parent906339a95e5a35f01cdf0430fca6dd526870a5ae
drm/i915/guc: Set GuC init params only once

All the GuC objects are perma-pinned, so their offset can't change at
runtime. We can therefore set (and log!) the parameters only once during
boot.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
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/20190724085849.18047-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/uc/intel_guc.c
drivers/gpu/drm/i915/gt/uc/intel_guc.h
drivers/gpu/drm/i915/gt/uc/intel_uc.c