From patchwork Wed Feb 22 23:42:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13149713 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 559DFC61DA4 for ; Wed, 22 Feb 2023 23:42:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A038C10E465; Wed, 22 Feb 2023 23:42:17 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id A97CC10E465 for ; Wed, 22 Feb 2023 23:42:15 +0000 (UTC) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0C25BA25; Thu, 23 Feb 2023 00:42:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1677109334; bh=gCMAwIH0zLLLlggmNKPdgNSuCPZbcYroWdm2MwM5M+0=; h=From:To:Cc:Subject:Date:From; b=PXgz8eq8xi05svtYBl3hfiDYPpPFC+DzPzHcoHe6iOh26PSU3deltF20GOjFpC0QC 4mhiR2FaLZlNgNRjH67BjB6w47NvgG7XwS4ITBaG8wcuBcN85//XnAVLWi52iO3xkk XA1wZ6BbJX8NnmCN4ingvWevH0F6TyKrqLzj89eM= From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Subject: [PATCH v2 0/2] drm: rcar-du: Fix more invalid register writes Date: Thu, 23 Feb 2023 01:42:10 +0200 Message-Id: <20230222234212.5461-1-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-renesas-soc@vger.kernel.org, Tomi Valkeinen , Kieran Bingham Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hello, Following the "[PATCH 0/2] drm: rcar-du: Avoid writing reserved register fields" series ([1]), this series addresses more invalid register writes in the R-Car DU driver. Patch 1/2 first renames some register field macros to increase readability, and patch 2/2 fixes the invalid writes. The rationale is the same as for the previous series: the current implementation is likely fine, but doesn't pass the functional safety requirements as it doesn't match the documentation. The series supersedes the patch "[PATCH] drm: rcar-du: Write correct values in DORCR reserved fields" ([2]) that I have just sent, which was messing the 1/2 dependency. Patch 2/2 is otherwise identical to [2]. [1] https://lore.kernel.org/dri-devel/20230222050623.29080-1-laurent.pinchart+renesas@ideasonboard.com/T/#t [2] https://lore.kernel.org/dri-devel/20230222233113.4737-1-laurent.pinchart+renesas@ideasonboard.com/T/#u Laurent Pinchart (2): drm: rcar-du: Rename DORCR fields to make them 0-based drm: rcar-du: Write correct values in DORCR reserved fields drivers/gpu/drm/rcar-du/rcar_du_group.c | 16 +++++++++++---- drivers/gpu/drm/rcar-du/rcar_du_regs.h | 26 ++++++++++++------------- 2 files changed, 25 insertions(+), 17 deletions(-)