Skip to contentSkip to conversation

drm/i915: make skl_ddb_add_affected_planes static

PATCH In review Jani Nikula 4 participants 5 messages Oct 4, 2016

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

PATCH 1/1 drm/i915: make skl_ddb_add_affected_planes static

Fix sparse warning:

drivers/gpu/drm/i915/intel_pm.c:3970:1: warning: symbol 'skl_ddb_add_affected_planes' was not declared. Should it be static?

Fixes 7f60e200e254 ("drm/i915/gen9: only add the planes actually affected by ddb changes")
Cc Paulo Zanoni <[email protected]>

---

Please run sparse on your patches, please run sparse before you push.

---
 drivers/gpu/drm/i915/intel_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_pm.c +1 -1
index 425544b1f733..7f1748a1e614 100644
@@ -3966,7 +3966,7 @@ pipes_modified(struct drm_atomic_state *state)
 	return ret;
 }
 
-int
+static int
 skl_ddb_add_affected_planes(struct intel_crtc_state *cstate)
 {
 	struct drm_atomic_state *state = cstate->base.state;
Signature · 6 lines
2.1.4

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

✗ Fi.CI.BAT: warning for drm/i915: make skl_ddb_add_affected_planes static

== Series Details ==

== Series Details ==

Series: drm/i915: make skl_ddb_add_affected_planes static
URL : https://patchwork.freedesktop.org/series/13267/
State : warning

== Summary ==

Series 13267v1 drm/i915: make skl_ddb_add_affected_planes static
https://patchwork.freedesktop.org/api/1.0/series/13267/revisions/1/mbox/

Test kms_cursor_legacy:

        Subgroup basic-flip-before-cursor-legacy:
                pass       -> DMESG-WARN (fi-skl-6700k)
Test kms_pipe_crc_basic:
        Subgroup suspend-read-crc-pipe-a:
                dmesg-warn -> PASS       (fi-snb-2520m)
Test pm_rpm:
        Subgroup basic-pci-d3-state:
                pass       -> DMESG-WARN (fi-skl-6700k)
        Subgroup basic-rte:
                pass       -> DMESG-WARN (fi-skl-6700k)
fi-bdw-5557u     total:244  pass:229  dwarn:0   dfail:0   fail:0   skip:15 
fi-bsw-n3050     total:244  pass:202  dwarn:0   dfail:0   fail:0   skip:42 
fi-bxt-t5700     total:244  pass:214  dwarn:0   dfail:0   fail:0   skip:30 
fi-byt-j1900     total:244  pass:210  dwarn:2   dfail:0   fail:1   skip:31 
fi-byt-n2820     total:244  pass:208  dwarn:0   dfail:0   fail:1   skip:35 
fi-hsw-4770      total:244  pass:222  dwarn:0   dfail:0   fail:0   skip:22 
fi-hsw-4770r     total:244  pass:222  dwarn:0   dfail:0   fail:0   skip:22 
fi-ilk-650       total:244  pass:182  dwarn:0   dfail:0   fail:2   skip:60 
fi-ivb-3520m     total:244  pass:219  dwarn:0   dfail:0   fail:0   skip:25 
fi-ivb-3770      total:244  pass:207  dwarn:0   dfail:0   fail:0   skip:37 
fi-skl-6260u     total:244  pass:230  dwarn:0   dfail:0   fail:0   skip:14 
fi-skl-6700hq    total:244  pass:221  dwarn:1   dfail:0   fail:0   skip:22 
fi-skl-6700k     total:244  pass:216  dwarn:4   dfail:0   fail:0   skip:24 
fi-skl-6770hq    total:244  pass:228  dwarn:1   dfail:0   fail:1   skip:14 
fi-snb-2520m     total:244  pass:208  dwarn:0   dfail:0   fail:0   skip:36 
fi-snb-2600      total:244  pass:207  dwarn:0   dfail:0   fail:0   skip:37 

Results at /archive/results/CI_IGT_test/Patchwork_2619/

51bf114bf6c0ac7de7b8e6fbbdc3cb4a2f7dc75f drm-intel-nightly: 2016y-10m-04d-09h-20m-32s UTC integration manifest 39061ec drm/i915: make skl_ddb_add_affected_planes static

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

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Jani Nikula
Quoted 9 lines · Jani Nikula

Fix sparse warning:

drivers/gpu/drm/i915/intel_pm.c:3970:1: warning: symbol 'skl_ddb_add_affected_planes' was not declared. Should it be static?

Fixes 7f60e200e254 ("drm/i915/gen9: only add the planes actually affected by ddb changes")
Cc Paulo Zanoni <[email protected]>

Regards, Joonas

Signature · 7 lines
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#3 lore raw
Quoted 6 lines · Joonas Lahtinen
Quoted 5 lines · Jani Nikula

Fix sparse warning:

drivers/gpu/drm/i915/intel_pm.c:3970:1: warning: symbol 'skl_ddb_add_affected_planes' was not declared. Should it be static?

Quoted 6 lines
Quoted 4 lines
Fixes 7f60e200e254 ("drm/i915/gen9: only add the planes actually affected by ddb changes")
Cc Paulo Zanoni <[email protected]>

Thanks, pushed to dinq.

BR,
Jani.

Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Reviewed-by on v1 1/1
#4 lore raw
In reply to Jani Nikula
Quoted 29 lines · Jani Nikula

Fix sparse warning:

drivers/gpu/drm/i915/intel_pm.c:3970:1: warning: symbol 'skl_ddb_add_affected_planes' was not declared. Should it be static?

Fixes 7f60e200e254 ("drm/i915/gen9: only add the planes actually

affected by ddb changes")

---

Please run sparse on your patches, please run sparse before you push.
---
 drivers/gpu/drm/i915/intel_pm.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_pm.c +0 -0
index 425544b1f733..7f1748a1e614 100644
@@ -3966,7 +3966,7 @@ pipes_modified(struct drm_atomic_state *state)
  	return ret;
  }

drivers/gpu/drm/i915/intel_pm.c +1 -1
-int
+static int
Quoted 3 lines

 skl_ddb_add_affected_planes(struct intel_crtc_state *cstate) {
  struct drm_atomic_state *state = cstate->base.state;

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