From patchwork Sat Nov 11 10:41:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13453055 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 96E79C4167D for ; Sat, 11 Nov 2023 10:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=RW4Wd3/WnNYCLr34QuDVTP7RzPpYgG0BYQr1T9Zyomo=; b=mJHg1D2Ox42QgB AVuqL3b1eaDarRWgXOxwVTpDPi/gwt5OrH0j1AvxqXO8AWWm7bdDDmdW+qN1aitC4tCg4Cat7JCad NJGZ5OEcG7WVtXcDcidVUgPI9Tw5wAYyvJMn1gTMUUa1TIQ4Yji9wWYJE/+7a2X79Ht7i6zM/pPhi +YWh4ySxkc/SbBFo8vMJMw1fCyb0ynj6oPhtIIkQeMzcbfzKUfgz8TajctD6RM1DIclmX2kQNVHbr 2OXlHE2rMn8tpKm8ZJhYWM4i+04Hygev0A2aD6a6G55V7SKOgzqQshO57MGpPb627p1glFQtJtuCj f6rTzmZ6JdeMD/3frAVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r1lRs-00AMC5-2z; Sat, 11 Nov 2023 10:42:44 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r1lRo-00AMAK-1D for linux-arm-kernel@lists.infradead.org; Sat, 11 Nov 2023 10:42:41 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53dfc28a2afso4482554a12.1 for ; Sat, 11 Nov 2023 02:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1699699358; x=1700304158; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cv+Nw99h5TQ+ZdPAOUHCJ7Is/AuyKPzv38qwm03SYTY=; b=FDrvtTjj+kKk4VoMZe6YVGKtOCzvYwjIrCz32si92xE/EPyW97Zc6Ymz6Myvy7Npco kXc569piDzYp+bXTE3KJKHl6WwZWHcLLBU4NP8NkLMRPxDDWmqq2tXbvyBOQpxY/J7k0 YghU70N9oYVWViHIRYtpJq4gDB1/MHwN34Sag= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699699358; x=1700304158; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cv+Nw99h5TQ+ZdPAOUHCJ7Is/AuyKPzv38qwm03SYTY=; b=Ry029aZMXUMJDBpb8sabEi5mt069NTfMbH6Q3L14vD6yjrOgSeil3RwpF2RKYImkX8 IkQDoBpXmxtAeiWqunLvtEAM6As+1FVpS3ZCJx23NuIDZ7+coAnfskCTg37K+q5p4ahD P7yQA9nlpx+hAYQ6IcR5cTmRq/hIYddOgg3WIjG8BoOiaRxzGmBCr5X25iW8u1s7se4i YcSsjpy2WnVcnW8Gte8e+fgFeJBlxMdsKAZKhlXiEPJMCBG3+s+bljLVHVG8qCW1/3Go 9+5/FlXBgVHxUGnDDNwlPyndgkHCJa4ZUHFDdY0d75Xf3rb8typNQVBx4YK8rs+jM9EP O22Q== X-Gm-Message-State: AOJu0YzNnYSr8b6iFBaHTijMXdrX3dkP6fiRxGwRdtWu8vZxeQz3x3l6 AUKRUc5k4R6yZgTdOXoGMRywpw== X-Google-Smtp-Source: AGHT+IGV/oLH/5lcH7sOkoekG3D+ekNeJmSBIhCHEhoX0aYsTwH02HKUCdbRojD3+VixFTGso1kIJg== X-Received: by 2002:a17:906:fc0a:b0:9e0:5d5c:aa81 with SMTP id ov10-20020a170906fc0a00b009e05d5caa81mr1063698ejb.27.1699699358600; Sat, 11 Nov 2023 02:42:38 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-20-97-182.retail.telecomitalia.it. [79.20.97.182]) by smtp.gmail.com with ESMTPSA id ga33-20020a1709070c2100b0099e12a49c8fsm872183ejc.173.2023.11.11.02.42.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 02:42:38 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Fabio Estevam , Helge Deller , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org Subject: [PATCH 02/10] fbdev: imxfb: move PCR bitfields near their offset Date: Sat, 11 Nov 2023 11:41:51 +0100 Message-ID: <20231111104225.136512-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231111104225.136512-1-dario.binacchi@amarulasolutions.com> References: <20231111104225.136512-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231111_024240_414676_2C7AE3C5 X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The patch moves the bitfields of the PCR register near the macro that defines its offset, just like for all the other registers. Signed-off-by: Dario Binacchi --- drivers/video/fbdev/imxfb.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index 7042a43b81d8..6af5f09d9c85 100644 --- a/drivers/video/fbdev/imxfb.c +++ b/drivers/video/fbdev/imxfb.c @@ -41,13 +41,6 @@ #include