]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit56aa48175219ffeffdd520f09c2620d14ce0eb8d
tree821eba6b23a2dca3f1cc62623420d14c38c5d28b
parentb79736bda705554fa50883764452d675ef55c32d
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