From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rodrigo Vivi Subject: Re: [PATCH 09/10] drm/i915: Set has_fbc=true for all SNB+, except VLV Date: Wed, 20 Nov 2013 15:00:37 -0800 Message-ID: <20131120225822.GG4234@bratislava.jf.intel.com> References: <1383771745-22463-1-git-send-email-ville.syrjala@linux.intel.com> <1383771745-22463-10-git-send-email-ville.syrjala@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by gabe.freedesktop.org (Postfix) with ESMTP id DE1FDFC1D0 for ; Wed, 20 Nov 2013 15:00:37 -0800 (PST) Received: by mail-pd0-f179.google.com with SMTP id r10so7379412pdi.10 for ; Wed, 20 Nov 2013 15:00:37 -0800 (PST) Content-Disposition: inline In-Reply-To: <1383771745-22463-10-git-send-email-ville.syrjala@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: ville.syrjala@linux.intel.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Reviewed-by: Rodrigo Vivi On Wed, Nov 06, 2013 at 11:02:24PM +0200, ville.syrjala@linux.intel.com wro= te: > From: Ville Syrj=E4l=E4 > = > At least since SNB (perhaps even earlier) even the desktop parts > should have FBC. > = > Signed-off-by: Ville Syrj=E4l=E4 > --- > drivers/gpu/drm/i915/i915_drv.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > = > diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_= drv.c > index c0ab5d4..9b8c9bf 100644 > --- a/drivers/gpu/drm/i915/i915_drv.c > +++ b/drivers/gpu/drm/i915/i915_drv.c > @@ -265,6 +265,7 @@ static const struct intel_device_info intel_ironlake_= m_info =3D { > static const struct intel_device_info intel_sandybridge_d_info =3D { > .gen =3D 6, .num_pipes =3D 2, > .need_gfx_hws =3D 1, .has_hotplug =3D 1, > + .has_fbc =3D 1, > .ring_mask =3D RENDER_RING | BSD_RING | BLT_RING, > .has_llc =3D 1, > }; > @@ -280,6 +281,7 @@ static const struct intel_device_info intel_sandybrid= ge_m_info =3D { > #define GEN7_FEATURES \ > .gen =3D 7, .num_pipes =3D 3, \ > .need_gfx_hws =3D 1, .has_hotplug =3D 1, \ > + .has_fbc =3D 1, \ > .ring_mask =3D RENDER_RING | BSD_RING | BLT_RING, \ > .has_llc =3D 1 > = > @@ -292,7 +294,6 @@ static const struct intel_device_info intel_ivybridge= _m_info =3D { > GEN7_FEATURES, > .is_ivybridge =3D 1, > .is_mobile =3D 1, > - .has_fbc =3D 1, > }; > = > static const struct intel_device_info intel_ivybridge_q_info =3D { > @@ -307,6 +308,7 @@ static const struct intel_device_info intel_valleyvie= w_m_info =3D { > .num_pipes =3D 2, > .is_valleyview =3D 1, > .display_mmio_offset =3D VLV_DISPLAY_BASE, > + .has_fbc =3D 0, /* legal, last one wins */ > .has_llc =3D 0, /* legal, last one wins */ > }; > = > @@ -315,6 +317,7 @@ static const struct intel_device_info intel_valleyvie= w_d_info =3D { > .num_pipes =3D 2, > .is_valleyview =3D 1, > .display_mmio_offset =3D VLV_DISPLAY_BASE, > + .has_fbc =3D 0, /* legal, last one wins */ > .has_llc =3D 0, /* legal, last one wins */ > }; > = > @@ -332,7 +335,6 @@ static const struct intel_device_info intel_haswell_m= _info =3D { > .is_mobile =3D 1, > .has_ddi =3D 1, > .has_fpga_dbg =3D 1, > - .has_fbc =3D 1, > .ring_mask =3D RENDER_RING | BSD_RING | BLT_RING | VEBOX_RING, > }; > = > -- = > 1.8.1.5 > = > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx