diff options
| author | Oscar Mateo <oscar.mateo@intel.com> | 2017-03-22 10:39:52 -0700 |
|---|---|---|
| committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2017-03-23 14:58:29 +0200 |
| commit | 397fce887ad033b10ec8a3270dfe38388f28db01 (patch) | |
| tree | 427dd31f9b47ce37c4cfea4596eb8e14d8e985f4 /tools/perf/scripts/python | |
| parent | drm/i915/guc: Wait for doorbell to be inactive before deallocating (diff) | |
| download | linux-397fce887ad033b10ec8a3270dfe38388f28db01.tar.gz linux-397fce887ad033b10ec8a3270dfe38388f28db01.zip | |
drm/i915/guc: A little bit more of doorbell sanitization
Some recent refactoring patches have left the doorbell creation outside
the GuC client allocation, which does not make a lot of sense (a client
without a doorbell is something useless). Move it back there, and
refactor the init_doorbell_hw consequently.
Thanks to this, we can do some other improvements, like hoisting the
check for GuC submission enabled out of the enable function.
v2: Rebased.
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
