From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 09/35] drm/i915: Split out reading of HSW watermark latency values Date: Fri, 5 Jul 2013 13:51:34 +0300 Message-ID: <20130705105134.GB5004@intel.com> References: <1373014667-19484-1-git-send-email-ville.syrjala@linux.intel.com> <1373014667-19484-10-git-send-email-ville.syrjala@linux.intel.com> <20130705091928.GD8451@cantiga.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by gabe.freedesktop.org (Postfix) with ESMTP id 5512FE5C76 for ; Fri, 5 Jul 2013 03:51:37 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130705091928.GD8451@cantiga.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, Jul 05, 2013 at 10:19:29AM +0100, Chris Wilson wrote: > On Fri, Jul 05, 2013 at 11:57:21AM +0300, ville.syrjala@linux.intel.com w= rote: > > @@ -2593,10 +2598,11 @@ static void haswell_update_wm(struct drm_device= *dev) > > struct hsw_wm_maximums lp_max_1_2, lp_max_5_6; > > struct hsw_pipe_wm_parameters params[3]; > > struct hsw_wm_values results_1_2, results_5_6, *best_results; > > - uint16_t wm[5]; > > + uint16_t wm[5] =3D {}; > = > Trying to hide a warning? It's actually for the future ILK/SNB/IVB patches where we won't have latency values for all 5 levels. I guess it should have been part of those patches instead. -- = Ville Syrj=E4l=E4 Intel OTC