[Intel-xe] [PATCH] fixup! drm/xe/display: Add intel_pps support too

Jani Nikula jani.nikula at intel.com
Wed May 10 16:02:20 UTC 2023


This is an unrelated, unneeded change in "drm/xe/display: Add intel_pps
support too".

After that gets applied, "drm/xe/display: Add intel_pps support too"
should itself be a fixup to "drm/xe/display: Implement display support".

Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
 drivers/gpu/drm/i915/display/intel_pps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_pps.c b/drivers/gpu/drm/i915/display/intel_pps.c
index cfe40c64f6d4..c859b066e827 100644
--- a/drivers/gpu/drm/i915/display/intel_pps.c
+++ b/drivers/gpu/drm/i915/display/intel_pps.c
@@ -481,7 +481,7 @@ static void intel_pps_get_registers(struct intel_dp *intel_dp,
 				    struct pps_registers *regs)
 {
 	struct drm_i915_private *dev_priv = dp_to_i915(intel_dp);
-	int pps_idx = 0;
+	int pps_idx;
 
 	memset(regs, 0, sizeof(*regs));
 
-- 
2.39.2



More information about the Intel-xe mailing list