Michał Winiarski
4977a287b9
drm/i915/guc: Split relay control and GuC log level
...
Those two concepts are really separate. Since GuC is writing data into
its own buffer and we even provide a way for userspace to read directly
from it using i915_guc_log_dump debugfs, there's no real reason to tie
log level with relay creation.
Let's create a separate debugfs, giving userspace a way to create a
relay on demand, when it wants to read a continuous log rather than a
snapshot.
v2: Don't touch guc_log_level on relay creation error, adjust locking
after rebase, s/dev_priv/i915, pass guc to file->private_data (Sagar)
Use struct_mutex rather than runtime.lock for set_log_level
v3: Tidy ordering of definitions (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-5-michal.winiarski@intel.com
2018-03-19 12:23:02 +00:00
..
2018-03-16 15:59:49 +00:00
2018-03-15 08:46:06 +00:00
2018-02-14 12:04:31 +00:00
2018-02-06 11:41:40 -08:00
2018-03-19 12:23:02 +00:00
2018-03-19 12:23:02 +00:00
2018-03-14 15:35:33 +02:00
2018-03-09 22:21:41 +00:00
2018-03-09 22:21:41 +00:00
2018-02-16 14:12:48 +00:00
2017-07-27 22:07:24 +02:00
2018-03-14 15:35:33 +02:00
2018-02-23 16:34:32 +00:00
2018-02-16 14:12:48 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-09 22:29:02 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-16 14:12:48 +00:00
2017-08-15 15:46:57 +01:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-03-16 12:15:59 +00:00
2017-12-07 23:26:55 +00:00
2017-12-14 20:10:01 +02:00
2018-02-21 20:57:22 +00:00
2018-02-16 14:12:48 +00:00
2018-03-16 10:16:08 +00:00
2018-03-13 21:41:09 +00:00
2017-11-30 10:11:49 +02:00
2017-10-07 10:11:41 +01:00
2018-03-09 22:21:41 +00:00
2018-03-09 22:21:41 +00:00
2018-02-15 16:22:21 +00:00
2018-03-09 22:21:41 +00:00
2017-12-22 11:12:15 +00:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-09-18 19:46:36 +01:00
2018-02-08 11:16:48 +00:00
2017-11-13 15:59:03 +00:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2018-02-08 11:16:49 +00:00
2017-11-13 15:59:24 +00:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2017-11-02 14:52:58 +00:00
2017-08-03 18:18:05 +01:00
2018-02-02 14:19:05 +00:00
2018-01-19 20:35:32 +00:00
2018-03-07 15:07:31 +02:00
2018-03-01 14:32:37 +00:00
2018-03-14 17:40:06 +00:00
2018-03-09 22:21:41 +00:00
2017-10-16 13:56:29 +03:00
2018-03-08 10:07:24 +00:00
2018-03-08 10:07:18 +00:00
2018-03-16 21:33:56 +02:00
2018-03-16 10:16:07 +00:00
2018-03-06 12:12:45 +00:00
2017-11-10 11:31:58 +00:00
2017-09-29 12:30:17 +01:00
2018-01-15 10:29:18 +00:00
2017-07-09 18:48:37 -07:00
2018-02-08 15:08:51 +00:00
2018-03-08 19:40:34 +00:00
2017-11-02 11:10:55 +01:00
2018-02-21 20:57:22 +00:00
2017-12-22 09:13:47 +00:00
2017-08-15 10:12:48 +08:00
2017-10-16 13:56:29 +03:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2017-11-02 11:10:55 +01:00
2018-03-01 14:07:22 +10:00
2018-03-01 14:07:22 +10:00
2018-02-15 16:29:13 +02:00
2018-02-14 11:38:12 +01:00
2018-03-12 22:06:19 +00:00
2018-02-13 10:16:04 -02:00
2018-02-28 15:17:12 +02:00
2018-03-06 17:57:24 -05:00
2018-01-04 16:29:12 -08:00
2018-03-19 12:57:13 +02:00
2018-03-08 10:06:21 +00:00
2018-03-08 10:06:21 +00:00
2018-03-16 16:18:25 +02:00
2018-02-27 12:05:43 -08:00
2017-09-22 14:50:36 +03:00
2018-03-06 17:59:08 -05:00
2017-11-09 20:06:14 +02:00
2018-03-16 21:33:56 +02:00
2018-02-19 12:19:04 +02:00
2017-11-16 09:45:39 -08:00
2018-03-13 13:50:22 -07:00
2017-08-16 18:02:00 +03:00
2017-08-21 11:52:29 +03:00
2018-01-29 21:55:07 +02:00
2018-03-01 14:07:22 +10:00
2018-03-15 08:46:06 +00:00
2018-03-07 10:15:44 +01:00
2018-03-13 13:49:39 -07:00
2017-09-25 16:54:09 +03:00
2018-03-13 13:50:22 -07:00
2018-03-15 10:00:03 +00:00
2018-03-14 15:35:31 +02:00
2018-01-03 14:02:10 +00:00
2018-03-14 15:35:31 +02:00
2018-03-14 15:35:31 +02:00
2017-12-06 14:41:47 +00:00
2017-11-02 08:42:11 +00:00
2018-03-19 12:23:02 +00:00
2018-03-19 12:23:02 +00:00
2018-03-14 15:35:37 +02:00
2018-03-14 15:35:31 +02:00
2017-12-14 08:06:54 +00:00
2018-03-19 12:23:01 +00:00
2018-03-19 12:23:01 +00:00
2017-12-06 14:41:49 +00:00
2018-02-05 10:59:59 +00:00
2018-02-05 12:59:23 -05:00
2018-03-06 17:57:24 -05:00
2018-03-06 17:57:24 -05:00
2018-03-14 15:35:31 +02:00
2018-03-02 09:04:45 +00:00
2018-03-14 15:35:33 +02:00
2018-03-12 22:06:19 +00:00
2018-02-16 09:36:04 +10:00
2018-02-08 17:28:53 +00:00
2018-03-07 15:07:39 +02:00
2018-03-15 08:46:06 +00:00
2018-03-07 15:07:31 +02:00
2018-01-30 10:24:19 -08:00
2018-02-14 12:04:33 +00:00
2018-02-21 20:57:22 +00:00
2018-02-21 20:57:22 +00:00
2018-01-19 11:58:48 +02:00
2017-12-22 09:19:48 +00:00
2017-12-22 09:19:48 +00:00
2018-03-13 13:49:39 -07:00
2018-02-14 12:02:44 +00:00
2018-03-08 19:09:21 +01:00
2018-03-08 19:40:34 +00:00
2018-03-13 14:04:42 -07:00
2017-08-14 12:15:49 +03:00
2018-03-15 08:46:06 +00:00
2018-03-15 10:00:03 +00:00
2018-02-27 12:05:43 -08:00
2018-03-06 17:56:29 -05:00
2017-10-11 08:56:56 +01:00
2018-03-01 14:07:22 +10:00
2018-02-14 12:02:39 +00:00
2018-03-14 15:35:33 +02:00
2018-03-14 15:35:33 +02:00
2018-03-19 12:23:02 +00:00
2018-03-19 12:23:02 +00:00
2018-03-07 15:07:45 +02:00
2018-03-07 15:07:45 +02:00
2018-02-07 12:32:14 -08:00
2018-03-14 15:35:37 +02:00
2018-03-14 15:35:37 +02:00
2017-09-19 13:06:21 +01:00
2017-12-19 23:04:45 +00:00
2018-03-14 15:35:33 +02:00