From patchwork Tue Oct 22 08:24:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 13845279 Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0ABB161310 for ; Tue, 22 Oct 2024 08:24:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729585492; cv=none; b=GPRQCt523HPcUhM+6iHXtpVWFtl50Rj/511MlyzFKjX2ee0WFiuGOc0NCWcSU0RUviWct0TALWQsvirg7Awv7+zEOImLt1l2JxaH8TR0BFjaE3Bj8f+XKddPjBP0vohBaGH5YwL5J88pmrOGzE/9eNdI6rygI5oaLViPehUkMD8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729585492; c=relaxed/simple; bh=uH8Z9LYOHW09CTfJnZa+MW4QjnC0bl1ZQOuEVypjb74=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CgPPjwWrL5HvBsS3Xl0PGJRpmc0s6SLYxJbhHGeNkpe7obnKye4az87369gU45/w6w1Qm2KkCvW2pOvylf8zG9n5xXrsZawuK5ycxnOIhe2GM+tZj+p/LEor2IHkhoCcpLBHqHBtLBYhZm7/1Dt0VqypjiCGWHHnchXZbpCm39c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.11,222,1725289200"; d="scan'208";a="222639816" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 22 Oct 2024 17:24:42 +0900 Received: from localhost.localdomain (unknown [10.226.92.236]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 7BF9140078A5; Tue, 22 Oct 2024 17:24:36 +0900 (JST) From: Biju Das To: Biju Das , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter Cc: Tomi Valkeinen , Laurent Pinchart , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, Geert Uytterhoeven , Prabhakar Mahadev Lad , Biju Das Subject: [PATCH v2 0/2] Improvements/fixes on the DPI interface Date: Tue, 22 Oct 2024 09:24:22 +0100 Message-ID: <20241022082433.32513-1-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 This patch series aims to add fixes/improvements based on the latest RZ/G2UL hardware manual As per Table 33.4 Clock List, the maximum dot clock for the DPI interface is 83.5 MHz. so, reject modes higher than 83.5 MHz. Also drop DPI_OE macro as the bit definition is removed from the latest RZ/G2UL and RZ/G2L hardware manual. Changes in v2: * Added as a patch series as the patches fix the same driver * Added Fixes tag for patch#1 * Moved .mode_valid from crtc to encoder as the new state is not available in crtc and instead, we could check renc->output for .mode_valid() function of drm_encoder. * Dropped rzg2l_du_crtc_atomic_check(). Biju Das (2): drm: renesas: rz-du: Drop DU_MCR0_DPI_OE macro drm: renesas: rz-du: rzg2l_du_encoder: Fix max dot clock for DPI drivers/gpu/drm/renesas/rz-du/rzg2l_du_crtc.c | 8 +------- .../gpu/drm/renesas/rz-du/rzg2l_du_encoder.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 7 deletions(-)