Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932420AbbFEIBJ (ORCPT ); Fri, 5 Jun 2015 04:01:09 -0400 Received: from mga02.intel.com ([134.134.136.20]:37282 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753333AbbFEIBF (ORCPT ); Fri, 5 Jun 2015 04:01:05 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,557,1427785200"; d="scan'208";a="737558986" From: Jani Nikula To: "mpe\@ellerman.id.au" , Dave Airlie , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Hoath , Ville =?utf-8?B?U3lyasOkbMOk?= , "Damien Lespiau" Subject: Re: linux-next: manual merge of the drm tree with the drm-intel-fixes tree In-Reply-To: <20150605054634.E4FA3140218@ozlabs.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20150605054634.E4FA3140218@ozlabs.org> User-Agent: Notmuch/0.19+112~g77230b0 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Fri, 05 Jun 2015 11:03:20 +0300 Message-ID: <87sia6a8fr.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2050 Lines: 58 On Fri, 05 Jun 2015, "mpe@ellerman.id.au" wrote: > Hi Dave, > > Today's linux-next merge of the drm tree got a conflict in > drivers/gpu/drm/i915/intel_ringbuffer.c between commit 4f47c99a9be7 ("drm/i915: > Move WaBarrierPerformanceFixDisable:skl to skl code from chv code") from the > drm-intel-fixes tree and commit b62adbd1ea1f ("drm/i915/bxt: Move > WaForceEnableNonCoherent to Skylake only") from the drm tree. > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). Our tree seems to have the if blocks the other way round. I don't think it matters, but Ville, Damien, chime in if you think it does. BR Jani. > > cheers > > diff --cc drivers/gpu/drm/i915/intel_ringbuffer.c > index 005b5e04de4d,d934f857394d..000000000000 > --- a/drivers/gpu/drm/i915/intel_ringbuffer.c > +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c > @@@ -1017,13 -1030,17 +1023,24 @@@ static int skl_init_workarounds(struct > WA_SET_BIT_MASKED(HIZ_CHICKEN, > BDW_HIZ_POWER_COMPILER_CLOCK_GATING_DISABLE); > > + if (INTEL_REVID(dev) == SKL_REVID_C0 || > + INTEL_REVID(dev) == SKL_REVID_D0) > + /* WaBarrierPerformanceFixDisable:skl */ > + WA_SET_BIT_MASKED(HDC_CHICKEN0, > + HDC_FENCE_DEST_SLM_DISABLE | > + HDC_BARRIER_PERFORMANCE_DISABLE); > + > + if (INTEL_REVID(dev) <= SKL_REVID_D0) { > + /* > + *Use Force Non-Coherent whenever executing a 3D context. This > + * is a workaround for a possible hang in the unlikely event > + * a TLB invalidation occurs during a PSD flush. > + */ > + /* WaForceEnableNonCoherent:skl */ > + WA_SET_BIT_MASKED(HDC_CHICKEN0, > + HDC_FORCE_NON_COHERENT); > + } > + > return skl_tune_iz_hashing(ring); > } > -- Jani Nikula, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/