Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4526137rwd; Tue, 23 May 2023 08:49:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6O/gXFb5T4dBvfjIPsiEyU6pf2rMaKoWwJQLdznyJtGqq0AbKLPr2O0gTJZ7GJsvrXFfve X-Received: by 2002:a17:903:456:b0:1af:9b8a:9c79 with SMTP id iw22-20020a170903045600b001af9b8a9c79mr9744867plb.34.1684856971423; Tue, 23 May 2023 08:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684856971; cv=none; d=google.com; s=arc-20160816; b=UNm62IQKBR5JmCxUgvX4SNWlMkzou469tPLTzOVCjILlbyHw3zknpIGy778/Pfa45Y ulQhfiPZeP99JxayHMZyTxFFY2gfzGHpW94YZs/coh5xMGhWJTozqW3lZYAEr2kS1MzS zHvgyxYsFSyqotNiaurgSYVqA9mKPGk6PqufD7jararz6jv2hgsmMVu4VW77zf3a+nNH XRVLlcLeiCOWdqQzqQpqfOJ/qCF6TcfneIlIHc6w1nsuIn9pzVhgwzWGe2rlIOEsDPXt uqDhltgCbZGRK1uEzsddcsRh7416IQx1hviWPaAZSQ2q1RbOiwGoRaLyUgkDt6FY6rPd ZaxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=P7mvEybYpfz5Pi8jmAOrlsBWe9tPghl9qMxmTdCfBBk=; b=NfqBW7GEi1O+Zww2B2mdmCrRbPG24dYsreffvENtGwL/ayGU0CUybjmAB/8KVt40z7 isRmy00F7Wglt2id/jRhBSAPSIy397cO9DD96cT58jXraxC0kE6I151tGHAmG70Esn/7 K1xZNTvt75FfQBAsbuiWyEBIsLuJXlWMlu9urBV3OXv9KQSV6egNcOAfUqOaxwjVxkWa pDHynEn8ryslQVHH9qIGsJxFbSDHB//FKxQDEh85Dxe3wuuZ//PtlopbjKFMJB+7wXie pkuIj1FHyrSUinZr7lI9qDTO0DFrsE+WqsXvmXfoCr/+wYQO/CVna3oiN/zR75bO9uay wYRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e3-20020a170902744300b001a961bfe4b7si6473411plt.362.2023.05.23.08.49.14; Tue, 23 May 2023 08:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234409AbjEWPdN (ORCPT + 99 others); Tue, 23 May 2023 11:33:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237038AbjEWPdL (ORCPT ); Tue, 23 May 2023 11:33:11 -0400 Received: from riemann.telenet-ops.be (riemann.telenet-ops.be [IPv6:2a02:1800:110:4::f00:10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D3B018F for ; Tue, 23 May 2023 08:32:43 -0700 (PDT) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by riemann.telenet-ops.be (Postfix) with ESMTPS id 4QQdc9028wz4wyWg for ; Tue, 23 May 2023 17:32:41 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:b0ac:7afd:272:4cff]) by xavier.telenet-ops.be with bizsmtp id 0FXf2A00d0Jkz7G01FXfar; Tue, 23 May 2023 17:31:40 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1q1Tyu-002t3U-Hz; Tue, 23 May 2023 17:31:39 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1q1Tz8-00Ckam-UT; Tue, 23 May 2023 17:31:38 +0200 From: Geert Uytterhoeven To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Laurent Pinchart , Kieran Bingham Cc: dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v3 0/5] drm: shmobile: Fixes and enhancements Date: Tue, 23 May 2023 17:31:32 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Currently, there are two drivers for the LCD controller on Renesas SuperH-based and ARM-based SH-Mobile and R-Mobile SoCs: 1. sh_mobile_lcdcfb, using the fbdev framework, 2. shmob_drm, using the DRM framework. However, only the former driver can be used, as all platform support integrates the former. None of these drivers support DT-based systems. This patch series is a first step to enable the SH-Mobile DRM driver for Renesas ARM-based SH-Mobile and R-Mobile SoCs. The next steps planned are to (1) add DT support (works, but needs a hack due to lack of (2)), and (2) convert the driver to atomic modesetting. Changes compared to v2[1]: - Add Reviewed-by. Changes compared to v1[2]: - Add Reviewed-by, - Drop dependency on ARM. This has been tested on the R-Mobile A1-based Atmark Techno Armadillo-800-EVA development board, using a temporary platform-enablement patch[3]. Thanks for applying to drm-misc! [1] https://lore.kernel.org/r/cover.1680273039.git.geert+renesas@glider.be/ [2] https://lore.kernel.org/r/cover.1681734821.git.geert+renesas@glider.be/ [3] https://lore.kernel.org/r/c03d4edbd650836bf6a96504df82338ec6d800ff.1680272980.git.geert+renesas@glider.be Geert Uytterhoeven (5): drm: shmobile: Use %p4cc to print fourcc codes drm: shmobile: Add support for DRM_FORMAT_XRGB8888 drm: shmobile: Switch to drm_crtc_init_with_planes() drm: shmobile: Add missing call to drm_fbdev_generic_setup() drm: shmobile: Make DRM_SHMOBILE visible on Renesas SoC platforms drivers/gpu/drm/shmobile/Kconfig | 4 +-- drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 35 +++++++++++++++++++--- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 3 ++ drivers/gpu/drm/shmobile/shmob_drm_kms.c | 9 ++++-- drivers/gpu/drm/shmobile/shmob_drm_plane.c | 5 ++++ 5 files changed, 48 insertions(+), 8 deletions(-) -- 2.34.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds