drm/i915/guc: Do not partition WOPCM if GuC is not used
authorJakub Bartmiński <jakub.bartminski@intel.com>
Fri, 27 Jul 2018 14:11:44 +0000 (16:11 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Jul 2018 15:03:40 +0000 (16:03 +0100)
commitb6445e17799d931c8c94e5d7acc59c9558f52df5
tree6a0a51f5d77f62b76f7f5b4986075e65911df3fd
parent9936ef55f254bb95fca9258539819a92d824497d
drm/i915/guc: Do not partition WOPCM if GuC is not used

There seems to be no reason for doing extra work on WOPCM partitioning
in the case GuC is not used, as the partitioning will not be used by the
intel_wopcm_init_hw function anyway.

Signed-off-by: Jakub Bartmiński <jakub.bartminski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski@intel.com>
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/20180727141148.30874-2-jakub.bartminski@intel.com
drivers/gpu/drm/i915/intel_wopcm.c