Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4527950rwd; Tue, 23 May 2023 08:50:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4MVVQqkbXyrZs7r1kLlYCthUHoaB4Q9hhkrhb9OQUZY30ipw2k2t6uaYnjTrYvdZYWuTMO X-Received: by 2002:a17:90a:e2d2:b0:253:2816:2a12 with SMTP id fr18-20020a17090ae2d200b0025328162a12mr15651168pjb.14.1684857054415; Tue, 23 May 2023 08:50:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684857054; cv=none; d=google.com; s=arc-20160816; b=fFynt8EVndJFea+7iqfDhN6bV9kDXVT+BMKKVIdIdMBqYAFn+9w9We4Iyw50FVnPzO ES0cjhhls0FAafoez92w0I6hIeY45HVtFjGIbi7djyS2IsDUvCCqNXVxW2s6UXNymgQA 2u+cbbaHeIJmMZTy1O1LM6MltPKCe2HaLRguTFmRMmM1wn8vfP7bAN/KtYHjBQEvrZHT IGIuaRVnltKgWNUVPLs/tf1aH3x/DHsUoyC3gJoqh/iCMr96dwWhp2eDj3oMuZu2v3oS pZi4jn5rUZGWZ+xbwenOOxYrTHbojNLWTfFb3Q4nJMAVuuxICbWico6ifiKDC8JOEA54 JNSQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=fPL6S3pYMmIVTkkKvu6YJ0/ZZdwG40IOehBmfSuyMmc=; b=mdNuWy/hZtAEVvOFqdPfrpRsLsXKSOVVpcDWVASuUgCOnVfxK3oB4X22d4XrBR/upD 7fcoumM5Akcblp/iZGgM9s7Tm4JWBQO12/Bu7qBKGAy9oSYQbVVjbaBM/uZ6Zxcf7+Xb VitvyJQ4KHuzThaf7EcbzH9VjTA0n0FICHzl3cc0q0xeCRivZbsNwpaKi8brTyYkQh9A w3uppLta8eXqRer4LMI2B/j8s2/o8rBR2GbDLRGkxVJiOBOtJJo8Wau3tQG0rzIjZTLj ITUBIpx/zkvxDL7jMlDEoyuq0zdVJSQRcOwbfnAuAGbKER5I6PKIr7/bfd796dj+XSmb V91w== 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 ha12-20020a17090af3cc00b002528964ad2fsi6688465pjb.35.2023.05.23.08.50.37; Tue, 23 May 2023 08:50:54 -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 S237262AbjEWPdp (ORCPT + 99 others); Tue, 23 May 2023 11:33:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236956AbjEWPdc (ORCPT ); Tue, 23 May 2023 11:33:32 -0400 Received: from gauss.telenet-ops.be (gauss.telenet-ops.be [195.130.132.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B006718D for ; Tue, 23 May 2023 08:33:13 -0700 (PDT) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by gauss.telenet-ops.be (Postfix) with ESMTPS id 4QQdcB00bMz4wxC0 for ; Tue, 23 May 2023 17:32:42 +0200 (CEST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:b0ac:7afd:272:4cff]) by xavier.telenet-ops.be with bizsmtp id 0FXf2A00g0Jkz7G01FXfao; Tue, 23 May 2023 17:31:41 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1q1Tyu-002t3i-L4; Tue, 23 May 2023 17:31:39 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1q1Tz9-00Ckb1-2w; Tue, 23 May 2023 17:31:39 +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 , Laurent Pinchart Subject: [PATCH v3 4/5] drm: shmobile: Add missing call to drm_fbdev_generic_setup() Date: Tue, 23 May 2023 17:31:36 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: 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_MSPIKE_H2,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 Set up generic fbdev emulation, to enable support for the Linux console. Use 16 as the preferred depth, as that is a good compromise between colorfulness and resource utilization, and the default of the fbdev driver. Suggested-by: Laurent Pinchart Signed-off-by: Geert Uytterhoeven Reviewed-by: Thomas Zimmermann Reviewed-by: Laurent Pinchart --- v3: - No changes, v2: - Add Reviewed-by. --- drivers/gpu/drm/shmobile/shmob_drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/shmobile/shmob_drm_drv.c b/drivers/gpu/drm/shmobile/shmob_drm_drv.c index faacfee24763b1d4..30493ce874192e3e 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_drv.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_drv.c @@ -16,6 +16,7 @@ #include #include +#include #include #include #include @@ -271,6 +272,8 @@ static int shmob_drm_probe(struct platform_device *pdev) if (ret < 0) goto err_irq_uninstall; + drm_fbdev_generic_setup(ddev, 16); + return 0; err_irq_uninstall: -- 2.34.1