[PATCH] drm/xe/guc: Enable WA 14018913170

2024-01-15 Thread Karthik Poosa
The GuC handles the WA, the KMD just needs to set the flag to enable it on the appropriate platforms. v2: Fixed CI checkpatch warning, alignment should match open parenthesis. Signed-off-by: Karthik Poosa --- drivers/gpu/drm/xe/xe_guc.c| 13 + drivers/gpu/drm/xe

[PATCH] drm/xe/guc: Enable WA 14018913170

2024-01-15 Thread Karthik Poosa
The GuC handles the WA, the KMD just needs to set the flag to enable it on the appropriate platforms. v2: Fixed CI checkpatch warning, alignment should match open parenthesis. Signed-off-by: Karthik Poosa --- drivers/gpu/drm/xe/xe_guc.c| 13 + drivers/gpu/drm/xe

[PATCH] drm/xe/guc: Enable WA 14018913170

2024-01-15 Thread Karthik Poosa
The GuC handles the WA, the KMD just needs to set the flag to enable it on the appropriate platforms. Signed-off-by: Karthik Poosa --- drivers/gpu/drm/xe/xe_guc.c| 13 + drivers/gpu/drm/xe/xe_guc_fwif.h | 1 + drivers/gpu/drm/xe/xe_wa_oob.rules | 5 + 3 files changed

[PATCH] drm/xe: Add wait for completion after gt force reset

2023-12-14 Thread Karthik Poosa
Wait for gt reset to complete before returning from force_reset sysfs call. Without this igt test freq_reset_multiple fails sporadically in case xe_guc_pc is not started. Testcase: igt@xe_guc_pc@freq_reset_multiple Signed-off-by: Karthik Poosa --- drivers/gpu/drm/xe/xe_gt.c | 3

[Intel-gfx] [PATCH] drm/i915/hwmon: Fix analysis tool reported issues

2023-12-04 Thread Karthik Poosa
-by: Badal Nilawar Reviewed-by: Anshuman Gupta Signed-off-by: Karthik Poosa --- drivers/gpu/drm/i915/i915_hwmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_hwmon.c b/drivers/gpu/drm/i915/i915_hwmon.c index 975da8e7f2a9..8c3f443c8347 100644 ---

[Intel-gfx] [PATCH] drm/i915/hwmon: Fix issues found by static analysis tool in i915 hwmon

2023-12-01 Thread Karthik Poosa
Updated i915 hwmon with fixes for issues reported by static analysis tool. Fixed unintentional buffer overflow (OVERFLOW_BEFORE_WIDEN) with upcasting. Fixes: 4c2572fe0ae7 ("drm/i915/hwmon: Expose power1_max_interval") Signed-off-by: Karthik Poosa --- drivers/gpu/drm/i915/i915_h

[Intel-gfx] [PATCH] drm/i915/hwmon: Fix static analysis tool errors in i915 hwmon

2023-11-30 Thread Karthik Poosa
Updated i915 hwmon with fixes for issues reported by static analysis tool. Fixed unintentional buffer overflow (OVERFLOW_BEFORE_WIDEN) with upcasting. v2: Updated commit message with details of issue [Jani]. Signed-off-by: Karthik Poosa --- drivers/gpu/drm/i915/i915_hwmon.c | 4 ++-- 1 file

[Intel-gfx] [PATCH] drm/i915/hwmon: Fix static analysis tool errors in i915 hwmon

2023-11-29 Thread Karthik Poosa
Updated i915 hwmon with fixes for issues reported by static analysis tool. Signed-off-by: Karthik Poosa --- drivers/gpu/drm/i915/i915_hwmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_hwmon.c b/drivers/gpu/drm/i915/i915_hwmon.c index