Skip to contentSkip to conversation

drm/i915/display: remove duplicated argument

PATCH In review Wan Jiabing 3 participants 3 messages Jun 5, 2021 – Jun 7, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/display: remove duplicated argument

Fix the following coccicheck warning:

./drivers/gpu/drm/i915/display/intel_display_power.c:3081:1-28:
duplicated argument to & or |

This commit fixes duplicate argument. It might be a typo. But what I can do is to remove it now.

---
 drivers/gpu/drm/i915/display/intel_display_power.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display_power.c +0 -1
index 3e1f6ec61514..4298ae684d7d 100644
@@ -3078,7 +3078,6 @@ intel_display_power_put_mask_in_set(struct drm_i915_private *i915,
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_C_LANES) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_D_XELPD) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_E_XELPD) |	\
-	BIT_ULL(POWER_DOMAIN_AUX_C) |			\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC1) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC2) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC3) |	\
Signature · 1 line
2.20.1
#1 lore raw
Quoted 9 lines · Wan Jiabing

Fix the following coccicheck warning:

./drivers/gpu/drm/i915/display/intel_display_power.c:3081:1-28:
duplicated argument to & or |

This commit fixes duplicate argument. It might be a typo. But what I can do is to remove it now.

Thanks, pushed to drm-intel-next.

Quoted 19 lines
---
 drivers/gpu/drm/i915/display/intel_display_power.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display_power.c +0 -1
index 3e1f6ec61514..4298ae684d7d 100644
@@ -3078,7 +3078,6 @@ intel_display_power_put_mask_in_set(struct drm_i915_private *i915,
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_C_LANES) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_D_XELPD) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_E_XELPD) |	\
-	BIT_ULL(POWER_DOMAIN_AUX_C) |			\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC1) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC2) |	\
 	BIT_ULL(POWER_DOMAIN_PORT_DDI_LANES_TC3) |	\
Signature · 1 line
2.20.1
#2 lore raw

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/display: remove duplicated argument

In reply to Wan Jiabing
== Series Details ==

== Series Details ==

Series: drm/i915/display: remove duplicated argument
URL : https://patchwork.freedesktop.org/series/91086/
State : failure

== Summary ==

Applying: drm/i915/display: remove duplicated argument Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/display/intel_display_power.c
Falling back to patching base and 3-way merge... No changes -- Patch already applied.

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx