[Intel-gfx] [PATCH 1/1] RFC : drm/i915: Adding new sysfs frequency attributes

2021-10-08 Thread Sujaritha Sundaresan
- throttle_reason_ratl - throttle_reason_vr_thermalert - throttle_reason_vr_tdc Signed-off-by: Sujaritha Sundaresan Cc: Dale B Stimson --- drivers/gpu/drm/i915/gt/intel_rps.c | 83 + drivers/gpu/drm/i915/gt/intel_rps.h | 10 +++ drivers/gpu/drm/i915/i915_reg.h | 11

[Intel-gfx] [PATCH 0/2] GuC suspend paths cleanup

2019-02-14 Thread Sujaritha Sundaresan
lockless reset. Sujaritha Sundaresan (2): drm/i915/guc: Splitting CT channel open/close functions drm/i915/guc: Calling guc_disable_communication in all suspend paths drivers/gpu/drm/i915/i915_reset.c | 2 +- drivers/gpu/drm/i915/intel_guc.c| 12 drivers/gpu/drm/i915/intel_guc_ct.c

[Intel-gfx] [PATCH 1/2] drm/i915/guc: Splitting CT channel open/close functions

2019-02-14 Thread Sujaritha Sundaresan
The aim of this patch is to allow enabling and disabling of CTB without requiring the mutex lock. Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/intel_guc.c| 12 drivers/gpu/drm/i915/intel_guc_ct.c | 85

[Intel-gfx] [PATCH 2/2] drm/i915/guc: Calling guc_disable_communication in all suspend paths

2019-02-14 Thread Sujaritha Sundaresan
This aim of this patch is to call guc_disable_communication in all suspend paths. The reason to introduce this is to resolve a bug that occured due to suspend late not being called in the hibernate devices path. Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan

[Intel-gfx] [PATCH v2 2/2] drm/i915/guc: Calling guc_disable_communication in all suspend paths

2019-02-19 Thread Sujaritha Sundaresan
This aim of this patch is to call guc_disable_communication in all suspend paths. The reason to introduce this is to resolve a bug that occurred due to suspend late not being called in the hibernate devices path. Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Signed-off-by: Sujaritha

[Intel-gfx] [PATCH v2 0/2] GuC suspend paths cleanup

2019-02-19 Thread Sujaritha Sundaresan
lockless reset. Sujaritha Sundaresan (2): drm/i915/guc: Splitting CT channel open/close functions drm/i915/guc: Calling guc_disable_communication in all suspend paths drivers/gpu/drm/i915/i915_reset.c | 2 +- drivers/gpu/drm/i915/intel_guc.c| 12 drivers/gpu/drm/i915/intel_guc_ct.c

[Intel-gfx] [PATCH v2 1/2] drm/i915/guc: Splitting CT channel open/close functions

2019-02-19 Thread Sujaritha Sundaresan
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 Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan --- drivers/

[Intel-gfx] [PATCH v3 0/2] GuC suspend paths cleanup

2019-02-19 Thread Sujaritha Sundaresan
lockless reset. Sujaritha Sundaresan (2): drm/i915/guc: Splitting CT channel open/close functions drm/i915/guc: Calling guc_disable_communication in all suspend paths drivers/gpu/drm/i915/i915_reset.c | 2 +- drivers/gpu/drm/i915/intel_guc.c| 12 drivers/gpu/drm/i915/intel_guc_ct.c

[Intel-gfx] [PATCH v3 2/2] drm/i915/guc: Calling guc_disable_communication in all suspend paths

2019-02-19 Thread Sujaritha Sundaresan
This aim of this patch is to call guc_disable_communication in all suspend paths. The reason to introduce this is to resolve a bug that occurred due to suspend late not being called in the hibernate devices path. Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Signed-off-by: Sujaritha

[Intel-gfx] [PATCH v3 1/2] drm/i915/guc: Splitting CT channel open/close functions

2019-02-19 Thread Sujaritha Sundaresan
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 Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/

[Intel-gfx] [PATCH 1/1] drm/i915: Fixing error code for WOPCM initialization

2019-03-04 Thread Sujaritha Sundaresan
Replacing the -E2BIG error code return for WOPCM initialization with -ENODEV. This will prevent the pci from picking this up as a warning during fault injection testing. Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/intel_wopcm.c

[Intel-gfx] [PATCH v2] drm/i915/guc: Fixing error code for WOPCM initialization

2019-03-05 Thread Sujaritha Sundaresan
Ceraolo Spurio Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c index c42c5ccf38fe..f962b5c0b3c1 100644 --- a/drivers

[Intel-gfx] [PATCH 1/1] drm/i915/guc: Preparing for GuC reset along with engine reset

2019-03-07 Thread Sujaritha Sundaresan
Adding the call to prepare for guc reset along with engine reset. intel_uc_reset_prepare() calls to disable guc communication and to sanitize. Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_reset.c | 2 ++ 1 file changed, 2

[Intel-gfx] [PATCH] drm/i915/guc: GuC suspend path cleanup

2019-03-21 Thread Sujaritha Sundaresan
: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_gem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 1a684b7e8c09..980855ebdeda 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -4371,6

[Intel-gfx] [PATCH v2] drm/i915/guc: GuC suspend path cleanup

2019-03-21 Thread Sujaritha Sundaresan
(Chris) Cc: Daniele Ceraolo Spurio Cc: Chris Wilson Cc: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_gem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 1a684b7e8c09

[Intel-gfx] [PATCH] drm/i915/guc : Decoupling ADS and logs from submission

2017-12-18 Thread Sujaritha Sundaresan
and even if GuC submission is disable to debug issues with GuC loading or with whatever we're using GuC for. To make a concrete example, the pages used by GuC to save state during suspend are allocated as part of the ADS. Signed-off-by: Sujaritha Sundaresan Cc: Daniele Ceraolo Spurio Cc: M

[Intel-gfx] [PATCH 2/2] drm/i915/guc : GEM_BUG_ON for GuC reset

2017-12-20 Thread Sujaritha Sundaresan
Including GEM_BUG_ON for GuC reset function in intel_uncore. Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Michal Wajdeczko Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/intel_uncore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH 1/2] drm/i915/guc : Decoupling ADS and logs from submission

2017-12-20 Thread Sujaritha Sundaresan
and even if GuC submission is disable to debug issues with GuC loading or with whatever we're using GuC for. To make a concrete example, the pages used by GuC to save state during suspend are allocated as part of the ADS. Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Michal Wajd

[Intel-gfx] [v2 PATCH 2/2] drm/i915/guc : GEM_BUG_ON on invoking GuC reset function

2017-12-27 Thread Sujaritha Sundaresan
Instead of returning -EINVAL, GEM_BUG_ON when GuC reset is invoked for platforms not supporting as we don't expect to invoke it. v2: re-wording commit message and subject (Sagar) Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Michal Wajdeczko Cc: Sagar Arun Kamble --- driver

[Intel-gfx] [PATCH 1/2] drm/i915/guc : Decoupling ADS and logs from submission

2017-12-27 Thread Sujaritha Sundaresan
and even if GuC submission is disable to debug issues with GuC loading or with whatever we're using GuC for. To make a concrete example, the pages used by GuC to save state during suspend are allocated as part of the ADS. Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Michal Wajd

[Intel-gfx] [v2 PATCH 2/2] drm/i915/guc : GEM_BUG_ON on invoking GuC reset function

2017-12-27 Thread Sujaritha Sundaresan
Instead of returning -EINVAL, GEM_BUG_ON when GuC reset is invoked for platforms not supporting as we don't expect to invoke it. v2: re-wording commit message and subject (Sagar) Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Michal Wajdeczko Cc: Sagar Arun Kamble --- driver

[Intel-gfx] [v2 PATCH 2/2] drm/i915/guc : GEM_BUG_ON on invoking GuC reset function

2018-01-02 Thread Sujaritha Sundaresan
Instead of returning -EINVAL, GEM_BUG_ON when GuC reset is invoked for platforms not supporting as we don't expect to invoke it. v2: re-wording commit message and subject (Sagar) Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Review

[Intel-gfx] [v2 PATCH 1/2] drm/i915/guc : Decoupling ADS and logs from submission

2018-01-02 Thread Sujaritha Sundaresan
even if GuC submission is disabled, to debug issues with GuC loading or with whatever we're using GuC for. v2: re-wording commit message (Sagar) Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Reviewed-by: Sagar Arun Kamble --- drivers/gp

[Intel-gfx] [PATCH v3 1/2] drm/i915/guc : Removing enable_guc_loading module

2017-09-19 Thread Sujaritha Sundaresan
e we have a HuC (but all platforms with HuC have a GuC and viceversa). v2: Clarifying the commit message (Anusha) v3: Unify seq_puts messages, correcting inconsistencies (Michal) Cc: Michal Wajdeczko Cc: Anusha Srivatsa Cc: Oscar Mateo Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sund

[Intel-gfx] [PATCH v3 2/2] drm/i915/guc : Decouple logs from submission

2017-09-19 Thread Sujaritha Sundaresan
ialization of GuC objects Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 108 ++ drivers/gpu/drm/i915/intel_uc.c

[Intel-gfx] [PATCH v3 2/2] drm/i915/guc : Decouple logs and ADS from submission

2017-09-19 Thread Sujaritha Sundaresan
ialization of GuC objects Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 108 ++ drivers/gpu/drm/i915/intel_uc.c

[Intel-gfx] [PATCH v4 1/2] drm/i915/guc : Removing enable_guc_loading module

2017-09-21 Thread Sujaritha Sundaresan
e we have a HuC (but all platforms with HuC have a GuC and viceversa). v2: Clarifying the commit message (Anusha) v3: Unify seq_puts messages, correcting inconsistencies (Michal) v4: Rebased Cc: Michal Wajdeczko Cc: Anusha Srivatsa Cc: Oscar Mateo Cc: Daniele Ceraolo Spurio Signed-off-by:

[Intel-gfx] [PATCH v4 2/2] drm/i915/guc : Decouple logs and ADS from submission

2017-09-21 Thread Sujaritha Sundaresan
ialization of GuC objects v4: Rebased Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 121 +--- drivers/gpu/drm/i915/intel_guc_log.c | 6 +- d

[Intel-gfx] [PATCH v5 0/5] Removing enable_guc_loading module and Decoupling logs and ADS from submission

2017-10-03 Thread Sujaritha Sundaresan
warning generated as a result of patch 4. Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble Sujaritha Sundaresan (5): drm/i915/guc : Unifying seq_puts messages drm/i915/guc : Removing i915_modparams.enable_guc_loading module drm

[Intel-gfx] [PATCH v5 2/5] drm/i915/guc : Removing i915_modparams.enable_guc_loading module

2017-10-03 Thread Sujaritha Sundaresan
Srivatsa Cc: Oscar Mateo Cc: Sagar Arun Kamble Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_debugfs.c | 11 +-- drivers/gpu/drm/i915/i915_drv.h | 9 -- drivers/gpu/drm/i915/i915_gem_context.c | 2 +- drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-

[Intel-gfx] [PATCH v5 1/5] drm/i915/guc : Unifying seq_puts messages

2017-10-03 Thread Sujaritha Sundaresan
Kamble Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_debugfs.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 847f8e8..53e40dd 100644 --- a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH v5 3/5] drm/i915/guc : Decouple logs and ADS from submission

2017-10-03 Thread Sujaritha Sundaresan
essage Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 114 +--- drivers/gpu/drm/i915/intel_guc_log.c | 6 +- drive

[Intel-gfx] [PATCH 4/5] drm/i915/guc: group initialization of GuC objects

2017-10-03 Thread Sujaritha Sundaresan
nusha Srivatsa Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 7 ++--- drivers/gpu/drm/i915/intel_uc.c| 41 +- drivers/gpu/drm

[Intel-gfx] [PATCH 5/5] drm/i915/guc : Fixing argument type warning.

2017-10-03 Thread Sujaritha Sundaresan
Reverting argument type (struct intel_guc *guc) to expected type due to warning. Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 7

[Intel-gfx] [PATCH v9 4/8] drm/i915/guc : Updating GuC logs to remove enable_guc_submission parameter

2017-11-10 Thread Sujaritha Sundaresan
Replacing conditions to remove dependance on enable_guc_submission v9: Including guc_log_level in the condition (Sagar) Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/intel_guc_log.c | 6 +++--- 1 file changed, 3

[Intel-gfx] [PATCH v9 3/8] drm/i915/guc : Updating GuC and HuC firmware select function

2017-11-10 Thread Sujaritha Sundaresan
patch v6: Re-factoring code (Sagar, Michal) Rebase v7: Separating from previuos patch (Sagar) Rebase v8: Including change to intel_uc.c Applying review comments (Michal) v9: Including HAS_HUC macro Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Michal Wajdeczko Cc

[Intel-gfx] [PATCH v9 1/8] drm/i915 : Unifying seq_puts messages for feature support

2017-11-10 Thread Sujaritha Sundaresan
(Sagar) v7: Generalizing subject to drm/i915 (Sagar) v8: Omitting DRRS seq_puts unification (Michal) v9: Including the HAS_HUC condition (Michal) Updating more functions with unified message (Sagar) Suggested by : Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan Cc: Daniele Ceraolo Spurio

[Intel-gfx] [PATCH v9 7/8] drm/i915/guc : Decouple logs and ADS from submission

2017-11-10 Thread Sujaritha Sundaresan
verting to goto err format (Michal) Moved guc_ads functions to dedicated file Rebase v7: Rebase v8: Applying review comments (Michal) v9: Defining intel_guc_init function (Sagar) Applying review comments (Michal, Sagar) Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Danie

[Intel-gfx] [PATCH v9 0/8] drm/i915/guc : Removing enable_guc_loading module and Decoupling logs and ADS from submission

2017-11-10 Thread Sujaritha Sundaresan
GuC logs and ADS from submission. Cc: Anusha Srivatsa Cc: Chris Wilson Cc: Joonas Lahtinen Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble Sujaritha Sundaresan (8): drm/i915 : Unifying seq_puts messages for feature support drm/i915/guc : Removing

[Intel-gfx] [PATCH v9 8/8] drm/i915/guc : Calling intel_guc_init in i915_gem_init

2017-11-10 Thread Sujaritha Sundaresan
Placing the call to intel_guc_init after i915_gem_contexts_init, based on the dependency within i915_gem_init. Will move the function if required, depending on the review comments. Suggested by: Sagar Arun Kamble Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Daniele Ceraolo Spurio

[Intel-gfx] [PATCH v9 5/8] drm/i915/guc : GEM_BUG_ON for GuC reset function

2017-11-10 Thread Sujaritha Sundaresan
Including GEM_BUG_ON for GuC reset function in intel_uncore. Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/intel_uncore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH v9 2/8] drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter

2017-11-10 Thread Sujaritha Sundaresan
ying review comments (Michal) Clarifying commit message (Joonas) v9: Applying review comments (Michal) Suggested by; Oscar Mateo Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Daniele Ceraolo Spurio Cc: Joonas Lahtinen Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble

[Intel-gfx] [PATCH v9 6/8] drm/i915/guc : Introducing enable_guc module parameter

2017-11-10 Thread Sujaritha Sundaresan
Replacing enable_guc_submission with enable_guc modparam. In effect enable_guc is replacing enable_guc_loading and enable_guc_submission. Suggested by : Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan Cc: Chris Wilson Cc: Jani Nikula Cc: Joonas Lahtinen Cc: Michal Wajdeczko Cc: Oscar

[Intel-gfx] [PATCH v10 1/1] drm/i915 : Unifying seq_puts messages for feature support

2017-11-14 Thread Sujaritha Sundaresan
Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/i915_debugfs.c | 49 + 1 file changed, 34 insertions(+), 15 deletions(-) diff --git a

[Intel-gfx] [PATCH 0/2] drm/i915/guc : Removing GuC loading and submission modparams

2017-11-27 Thread Sujaritha Sundaresan
Ceraolo Spurio Cc: Joonas Lahtinen Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble Sujaritha Sundaresan (2): drm/i915/guc : Removing enable_guc_loading and enable_guc_submission module parameters drm/i915/guc : Updating GuC and HuC firmware select function drivers/gpu/drm

[Intel-gfx] [PATCH v10 2/2] drm/i915/guc : Updating GuC and HuC firmware select function

2017-11-27 Thread Sujaritha Sundaresan
patch v6: Re-factoring code (Sagar, Michal) Rebase v7: Separating from previuos patch (Sagar) Rebase v8: Including change to intel_uc.c Applying review comments (Michal) v9: Including HAS_HUC macro v10: Applying review comments (Michal) Signed-off-by: Sujaritha Sundaresan Cc

[Intel-gfx] [PATCH v10 1/2] drm/i915/guc : Removing enable_guc_loading and enable_guc_submission module parameters

2017-11-27 Thread Sujaritha Sundaresan
Applying review comments (Michal) Signed-off-by: Sujaritha Sundaresan Cc: Daniele Ceraolo Spurio Cc: Joonas Lahtinen Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/i915_debugfs.c | 6 +-- drivers/gpu/drm/i915/i915_drv.h | 12 +++--

[Intel-gfx] [PATCH v6 0/3] drm/i915/guc : Removing enable_guc_loading module and Decoupling logs and ADS from submission

2017-10-10 Thread Sujaritha Sundaresan
Ceraolo Spurio Cc: Anusha Srivatsa Sujaritha Sundaresan (3): drm/i915/guc : Unifying seq_puts messages for feature support drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter drm/i915/guc : Decouple logs and ADS from submission drivers/gpu/drm/i915/Makefile

[Intel-gfx] [PATCH v6 1/3] drm/i915/guc : Unifying seq_puts messages for feature support

2017-10-10 Thread Sujaritha Sundaresan
(Sagar) Suggested by: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Anusha Srivatsa Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/i915_debugfs.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/i915

[Intel-gfx] [PATCH v6 2/3] drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter

2017-10-10 Thread Sujaritha Sundaresan
, Michal) Rebase Suggested by: Oscar Mateo Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/i915_debugfs.c | 6 +-- drivers/gpu/drm/i915/i915_drv.h | 9 +++-- drivers/gpu/drm/i915/i91

[Intel-gfx] [PATCH v6 3/3] drm/i915/guc : Decouple logs and ADS from submission

2017-10-10 Thread Sujaritha Sundaresan
verting to goto err format (Michal) Moved guc_ads functions to dedicated file Rebase Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Daniele Ceraolo Spurio Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/Makefile | 1 + d

[Intel-gfx] [PATCH v7 0/4] drm/i915/guc : Removing enable_guc_loading module

2017-10-17 Thread Sujaritha Sundaresan
Ceraolo Spurio Cc: Anusha Srivatsa Sujaritha Sundaresan (4): drm/i915 : Unifying seq_puts messages for feature support drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter drm/i915/guc : Updating GuC and HuC FW select function drm/i915/guc : Decouple logs and ADS

[Intel-gfx] [PATCH v7 1/4] drm/i915 : Unifying seq_puts messages for feature support

2017-10-17 Thread Sujaritha Sundaresan
(Sagar) v7: Generalizing subject to drm/i915 (Sagar) Suggested by: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Anusha Srivatsa Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/i915_debugfs.c | 20 +--- 1 file changed, 13 insertions

[Intel-gfx] [PATCH v7 3/4] drm/i915/guc : Updating GuC and HuC FW select function

2017-10-17 Thread Sujaritha Sundaresan
patch v6: Re-factoring code (Sagar, Michal) Rebase v7: Separating from previuos patch (Sagar) Rebase Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/intel_guc_fw.c | 9 - drivers/gpu

[Intel-gfx] [PATCH v7 2/4] drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter

2017-10-17 Thread Sujaritha Sundaresan
chal) Rebase v7: Applying review comments (Sagar) Rebase Suggested by: Oscar Mateo Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/i915_debugfs.c | 6 +-- drivers/gpu/drm/i915/i91

[Intel-gfx] [PATCH v7 4/4] drm/i915/guc : Decouple logs and ADS from submission

2017-10-17 Thread Sujaritha Sundaresan
verting to goto err format (Michal) Moved guc_ads functions to dedicated file Rebase v7: Rebase Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Daniele Ceraolo Spurio Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/Makefile

[Intel-gfx] [PATCH v7 0/4] drm/i915/guc : Removing enable_guc_loading module and Decoupling logs and ADS from submission

2017-10-17 Thread Sujaritha Sundaresan
Ceraolo Spurio Cc: Anusha Srivatsa Sujaritha Sundaresan (4): drm/i915 : Unifying seq_puts messages for feature support drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter drm/i915/guc : Updating GuC and HuC FW select function drm/i915/guc : Decouple logs and ADS

[Intel-gfx] [PATCH v7 1/4] drm/i915 : Unifying seq_puts messages for feature support

2017-10-17 Thread Sujaritha Sundaresan
(Sagar) v7: Generalizing subject to drm/i915 (Sagar) Suggested by: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Anusha Srivatsa Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/i915_debugfs.c | 20 +--- 1 file changed, 13 insertions

[Intel-gfx] [PATCH v7 2/4] drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter

2017-10-17 Thread Sujaritha Sundaresan
chal) Rebase v7: Applying review comments (Sagar) Rebase Suggested by: Oscar Mateo Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/i915_debugfs.c | 6 +-- drivers/gpu/drm/i915/i91

[Intel-gfx] [PATCH v7 4/4] drm/i915/guc : Decouple logs and ADS from submission

2017-10-17 Thread Sujaritha Sundaresan
verting to goto err format (Michal) Moved guc_ads functions to dedicated file Rebase v7: Rebase Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Daniele Ceraolo Spurio Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/Makefile

[Intel-gfx] [PATCH v7 3/4] drm/i915/guc : Updating GuC and HuC FW select function

2017-10-17 Thread Sujaritha Sundaresan
patch v6: Re-factoring code (Sagar, Michal) Rebase v7: Separating from previuos patch (Sagar) Rebase Signed-off-by: Sujaritha Sundaresan Cc: Michal Wajdeczko Cc: Sagar Arun Kamble Cc: Anusha Srivatsa Cc: Oscar Mateo --- drivers/gpu/drm/i915/intel_guc_fw.c | 9 - drivers/gpu

[Intel-gfx] [PATCH v8 4/6] drm/i915/guc : Updating GuC and HuC firmware select function

2017-10-24 Thread Sujaritha Sundaresan
patch v6: Re-factoring code (Sagar, Michal) Rebase v7: Separating from previuos patch (Sagar) Rebase v8: Including change to intel_uc.c Applying review comments (Michal) Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun

[Intel-gfx] [PATCH v8 1/6] drm/i915 : Unifying seq_puts messages for feature support

2017-10-24 Thread Sujaritha Sundaresan
(Sagar) v7: Generalizing subject to drm/i915 (Sagar) v8: Omitting DRRS seq_puts unification (Michal) Suggested by: Michal Wajdeczko Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/i915_debugfs.c | 14

[Intel-gfx] [PATCH v8 5/6] drm/i915/guc : Updating GuC logs to remove enable_guc_submission parameter

2017-10-24 Thread Sujaritha Sundaresan
Replacing conditions to remove dependance on enable_guc_submission Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/intel_guc_log.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff

[Intel-gfx] [PATCH v8 0/6] drm/i915/guc : Removing enable_guc_loading module and Decoupling logs and ADS from submission

2017-10-24 Thread Sujaritha Sundaresan
: Oscar Mateo Cc: Sagar Arun Kamble Sujaritha Sundaresan (6): drm/i915 : Unifying seq_puts messages for feature support drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter drm/i915/guc : GEM_BUG_ON for GuC reset function drm/i915/guc : Updating GuC and HuC firmware

[Intel-gfx] [PATCH v8 3/6] drm/i915/guc : GEM_BUG_ON for GuC reset function

2017-10-24 Thread Sujaritha Sundaresan
Including GEM_BUG_ON for GuC reset function in intel_uncore. Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/intel_uncore.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a

[Intel-gfx] [PATCH v8 2/6] drm/i915/guc : Removing i915_modparams.enable_guc_loading module parameter

2017-10-24 Thread Sujaritha Sundaresan
ying review comments (Michal) Clarifying commit message (Joonas) Suggested by: Oscar Mateo Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Chris Wilson Cc: Joonas Lahtinen Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i915/i915_debugfs.c

[Intel-gfx] [PATCH v8 6/6] drm/i915/guc : Decouple logs and ADS from submission

2017-10-24 Thread Sujaritha Sundaresan
verting to goto err format (Michal) Moved guc_ads functions to dedicated file Rebase v7: Rebase v8: Applying review comments (Michal) Signed-off-by: Sujaritha Sundaresan Cc: Anusha Srivatsa Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Sagar Arun Kamble --- drivers/gpu/drm/i91

[Intel-gfx] [PATCH 1/2] drm/i915/guc : Removing enable_guc_loading module

2017-08-23 Thread Sujaritha Sundaresan
e GuC loading Cc: Daniele Ceraolo Spurio Cc: Joonas Lahtinen Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_debugfs.c | 12 +-- drivers/gpu/drm/i915/i915_drv.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 10 +++--- drivers/gpu/drm/i915/i915_gem_context.c

[Intel-gfx] [PATCH 0/2] Changes to GuC loading and GuC logs

2017-08-23 Thread Sujaritha Sundaresan
*** BLURB HERE *** Sujaritha Sundaresan (2): drm/i915/guc : Removing enable_guc_loading module drm/i915/guc : Enable GuC logs even when submission is not enabled drivers/gpu/drm/i915/i915_debugfs.c| 12 +++-- drivers/gpu/drm/i915/i915_drv.c| 2 +- drivers/gpu/drm/i915

[Intel-gfx] [PATCH 2/2] drm/i915/guc : Enable GuC logs even when submission is not enabled

2017-08-23 Thread Sujaritha Sundaresan
Currently, we only enable GuC logs when enable_guc_submission is set. But we could be interested in getting GuC logs in other cases as well. Cc: Daniele Ceraolo Spurio Cc: Joonas Lahtinen Cc: Anusha Srivatsa Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_drv.h

[Intel-gfx] [PATCH v2 1/2] drm/i915/guc : Removing enable_guc_loading module

2017-08-28 Thread Sujaritha Sundaresan
e we have a HuC (but all platforms with HuC have a GuC and viceversa). v2: Unify seq_puts messages, correcting inconsistencies (Michal) v2: Clarifying the commit message (Anusha) Cc: Michal Wajdeczko Cc: Anusha Srivatsa Cc: Oscar Mateo Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sund

[Intel-gfx] [PATCH v2 2/2] drm/i915/guc : Decouple logs from submission

2017-08-28 Thread Sujaritha Sundaresan
ialization of GuC objects Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 108 ++ drivers/gpu/drm/i915/intel_uc.c

[Intel-gfx] [PATCH v2 1/2] drm/i915/guc : Removing enable_guc_loading module

2017-09-08 Thread Sujaritha Sundaresan
e we have a HuC (but all platforms with HuC have a GuC and viceversa). v2: Unify seq_puts messages, correcting inconsistencies (Michal) v2: Clarifying the commit message (Anusha) Cc: Michal Wajdeczko Cc: Anusha Srivatsa Cc: Oscar Mateo Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sund

[Intel-gfx] [PATCH v2 2/2] drm/i915/guc : Decouple logs from submission

2017-09-08 Thread Sujaritha Sundaresan
v2: Decoupling ADS together with logs v2: Group initialization of GuC objects Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 108 ++ drivers/gpu/drm

[Intel-gfx] [PATCH v2 2/2] drm/i915/guc : Decouple logs from submission

2017-09-08 Thread Sujaritha Sundaresan
ialization of GuC objects Cc: Michal Wajdeczko Cc: Oscar Mateo Cc: Anusha Srivatsa Cc: Daniele Ceraolo Spurio Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_guc_submission.c | 108 ++ drivers/gpu/drm/i915/intel_uc.c

[Intel-gfx] [PATCH] drm/i915: Add intel_pcode_probe

2023-08-17 Thread Sujaritha Sundaresan
Added intel_pcode_probe, promoted wait for lmem init and intel_pcode_init prior to mmio_probe during load, so that GT registers can be accessed only after this, else MCA is observed. Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/i915_driver.c | 37

[Intel-gfx] [PATCH v1] drm/i915/gt: Add sysfs RAPL PL1 interface

2022-11-03 Thread Sujaritha Sundaresan
Adding the rapl_pl1_freq_mhz sysfs attribute. Signed-off-by: Sujaritha Sundaresan Cc: Ashutosh Dixit --- drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 20 ++ drivers/gpu/drm/i915/gt/intel_rps.c | 44 + drivers/gpu/drm/i915/gt/intel_rps.h | 3

[Intel-gfx] [PATCH v2] drm/i915/gt: Add sysfs RAPL PL1 interface

2023-01-30 Thread Sujaritha Sundaresan
Adding sysfs attribute rapl_pl1_freq_mhz. This shows the RAPL PL1 FREQUENCY LIMIT. Signed-off-by: Sujaritha Sundaresan --- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 4 drivers/gpu/drm/i915/gt/intel_gt_sysfs_pm.c | 15 +++ drivers/gpu/drm/i915/gt/intel_rps.c | 18