OSDN Git Service

drm/i915/guc: Merge log relay file and channel creation
authorMichał Winiarski <michal.winiarski@intel.com>
Mon, 19 Mar 2018 09:53:38 +0000 (10:53 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Mar 2018 12:23:01 +0000 (12:23 +0000)
commit2b47733045aaf883c275c3bdbe3b503137144f6e
tree1976c91e98d229e2ad7e1f34e9bccffe76edab12
parentb813d50e869aeda09ccf22e8d869e61b63389e4d
drm/i915/guc: Merge log relay file and channel creation

We have all the information we need at relay_open call time.
Since there's no reason to split the process into relay_open and
relay_late_setup_files, let's remove the extra code.

v2: Remove obsoleted comments (Sagar)
v3: There was one obsolete comment left (Sagar)

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180319095348.9716-3-michal.winiarski@intel.com
drivers/gpu/drm/i915/intel_guc_log.c