drm/i915/guc: Splitting CT channel open/close functions
authorSujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Wed, 20 Feb 2019 01:39:26 +0000 (17:39 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Feb 2019 23:53:04 +0000 (23:53 +0000)
commite0ad3c64fa1fbbddb2eab9ee0de3e057b7da942b
tree821eba6b23a2dca3f1cc62623420d14c38c5d28b
parent9ce25e72cc7794d2428ff0d5730731496a02fbb7
drm/i915/guc: Splitting CT channel open/close functions

The aim of this patch is to allow enabling and disabling
of CTB without requiring the mutex lock.

v2: Phasing out ctch_is_enabled function and replacing it with
    ctch->enabled (Daniele)

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190220013927.9488-2-sujaritha.sundaresan@intel.com
drivers/gpu/drm/i915/intel_guc.c
drivers/gpu/drm/i915/intel_guc_ct.c
drivers/gpu/drm/i915/intel_guc_ct.h