]> git.baikalelectronics.ru Git - 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)
commit9787868976044a66c6ad428da8ea8f795d3a7f9b
treed6d7a1026af2303f86a6108a2ee6d029438f66b1
parentd71da3c6f93fe758a2af7684c328083b1e07db1d
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