From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CA49AC61DA4 for ; Tue, 14 Feb 2023 10:32:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1812810E868; Tue, 14 Feb 2023 10:32:25 +0000 (UTC) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id C1FF310E868 for ; Tue, 14 Feb 2023 10:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676370742; x=1707906742; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=37OvYRt0PXCLUShr1L7yJQHaLHN7OUhVDszwH4cpRHA=; b=geBNIvyUR1plOTnfQNYjtzd28xPoQTmm4ykdtuabhEB6d6YEvFDnTjHn pNKMXC3BoL+VFodf71dIsRA9xUu4GKv715spr/DwsU3WW+K1/z59tcH5t 3V7TpV22bO1Zz2XRFWomCyQO/IqUinpiGo+vzq1Lt4DfDIl09eqiZj+Q4 N1bpTvxOAQrORSrzLFqUXXbZQw6j60z/KzON8I8bsTHJI5ucnHYpE4hAm Tujw/SFxAoxQxbnOSr5AWH5BkuwXs+ZIffi8BV0YKv+iB77rLxEbgelch sfS1E+/0mEwLfh0Okz7eM8nb04eil9t6jk1EVTogECNnYr5rDjQhD2viE A==; X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="417347222" X-IronPort-AV: E=Sophos;i="5.97,296,1669104000"; d="scan'208";a="417347222" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2023 02:32:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10620"; a="669118442" X-IronPort-AV: E=Sophos;i="5.97,296,1669104000"; d="scan'208";a="669118442" Received: from stinkpipe.fi.intel.com (HELO stinkbox) ([10.237.72.55]) by orsmga002.jf.intel.com with SMTP; 14 Feb 2023 02:32:16 -0800 Received: by stinkbox (sSMTP sendmail emulation); Tue, 14 Feb 2023 12:32:15 +0200 Date: Tue, 14 Feb 2023 12:32:15 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Jani Nikula Message-ID: References: <20230213225258.2127-1-ville.syrjala@linux.intel.com> <20230213225258.2127-5-ville.syrjala@linux.intel.com> <878rh0tvde.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878rh0tvde.fsf@intel.com> X-Patchwork-Hint: comment Subject: Re: [Intel-gfx] [PATCH 04/12] drm/i915: s/PIPECONF/TRANSCONF/ X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Tue, Feb 14, 2023 at 12:05:33PM +0200, Jani Nikula wrote: > On Tue, 14 Feb 2023, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > Rename PIPECONF to TRANSCONF to make it clear what it actually > > applies to. > > > > While the usual convention is to pick the earliers name I think > > in this case it's more clear to use the later name. Especially > > as even the register offset is in the wrong range (0x70000 vs. > > 0x60000) and thus makes it look like this is per-pipe. > > > > There is one place in gvt that's doing something with TRANSCONF > > while iterating with for_each_pipe(). So that might not be doing > > the right thing for TRANSCODER_EDP, dunno. Not knowing what it > > does I left it as is to avoid breakage. > > I recently looked at _PIPE_EDP usage, and thought all of it looked a bit > suspect, but didn't bother to dig deeper. Maybe after this it could be > removed? I think it needs to stay due to the pipe_offsets[] stuff and hw making a mess of pipe vs. transcoder registers. But no one should really use it anywhere else. -- Ville Syrjälä Intel