drm/i915: Silence a sparse warning
Subsystems (2)
PATCH 1/1 drm/i915: Silence a sparse warning
From: Ville Syrjälä <[email protected]>
../drivers/gpu/drm/i915/intel_pm.c:3185:45: warning: Initializer entry defined twice../drivers/gpu/drm/i915/intel_pm.c:3185:52: also defined here
--- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_pm.c +1 -1
@@ -3182,7 +3182,7 @@ static void skl_flush_wm_values(struct drm_i915_private *dev_priv, {struct drm_device *dev = dev_priv->dev;struct skl_ddb_allocation *cur_ddb, *new_ddb; -bool reallocated[I915_MAX_PIPES ] = {false, false, false}; +bool reallocated[I915_MAX_PIPES ] = {};struct intel_crtc *crtc;enum pipe pipe;
Signature · 6 lines
2.0.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Task id: 6124 -------------------------------------Summary-------------------------------------
Platform Delta drm-intel-nightly Series Applied
PNV -2 272/272 270/272
ILK 302/302 302/302 SNB 303/303 303/303 IVB 338/338 338/338 BYT -1 287/287 286/287 HSW 361/361 361/361 BDW 308/308 308/308 -------------------------------------Detailed------------------------------------- Platform Test drm-intel-nightly Series Applied PNV igt@gem_tiled_pread_pwrite FAIL(3)PASS(9) FAIL(1)PASS(1) PNV igt@gen3_render_tiledx_blits FAIL(6)PASS(4) FAIL(2) *BYT igt@gem_exec_bad_domains@conflicting-write-domain PASS(16) FAIL(1)PASS(1)
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
AppliedQuoted 6 lines · On Thu, Apr 02, 2015 at 06:28:07PM +0300, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
../drivers/gpu/drm/i915/intel_pm.c:3185:45: warning: Initializer entry defined twice../drivers/gpu/drm/i915/intel_pm.c:3185:52: also defined hereSigned-off-by Ville Syrjälä <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_pm.c +1
-1@@ -3182,7 +3182,7 @@ static void skl_flush_wm_values(struct drm_i915_private *dev_priv, {struct drm_device *dev = dev_priv->dev;struct skl_ddb_allocation *cur_ddb, *new_ddb; -bool reallocated[I915_MAX_PIPES ] = {false, false, false}; +bool reallocated[I915_MAX_PIPES ] = {};struct intel_crtc *crtc;enum pipe pipe;Signature · 6 lines
2.0.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx