From patchwork Sat Jun 8 15:26:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Noralf_Tr=C3=B8nnes?= X-Patchwork-Id: 10983229 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E978592A for ; Sat, 8 Jun 2019 15:27:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D694928564 for ; Sat, 8 Jun 2019 15:27:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAD42288E4; Sat, 8 Jun 2019 15:27:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9A7C528564 for ; Sat, 8 Jun 2019 15:27:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A9F308924B; Sat, 8 Jun 2019 15:27:06 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3005::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4CC6D89126; Sat, 8 Jun 2019 15:27:05 +0000 (UTC) Received: from 211.81-166-168.customer.lyse.net ([81.166.168.211]:54332 helo=localhost.localdomain) by smtp.domeneshop.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1hZdFH-0000t2-8L; Sat, 08 Jun 2019 17:27:03 +0200 From: =?utf-8?q?Noralf_Tr=C3=B8nnes?= To: dri-devel@lists.freedesktop.org Subject: [PATCH v8 0/5] drm/fb-helper: Move modesetting code to drm_client Date: Sat, 8 Jun 2019 17:26:52 +0200 Message-Id: <20190608152657.36613-1-noralf@tronnes.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tronnes.org; s=ds201810; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=UZrhB6BGIYIw7lTDEkrgi8MiO+uxwK6w6LNs7XVHUwc=; b=DmOi1n0NdjMMYr4G1utzOEWL7AqPcoEwuDTy4mTqXoAfqRprjVQgpZsfQ6NYjY7KbavLE66eGeZ9Mrx7hiI+e+X3085kzqGDvp79Hd4H8IxPAnd9a9l7MBpENL5M9JbjkCgK5miiZ5X22lFQCUA+o9hzamPePpuv4kovAc3LwJaxiGIoWoUVq15DOY2jQ9agoJzwh3Mj1MzhziNHGz/shrCeuNrub90fJsizeFdDL7BGJm6SsYa4cqeF3UVPDAYLcY3iVoJJm5qlS/qcaldwan7+Xa/Y5Hh133Il4Y+R1MHvgIj89Xywo26L4RNvnQULeCQIoynFEXUvJw67HvQEbw==; X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, sam@ravnborg.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This moves the modesetting code from drm_fb_helper to drm_client so it can be shared by all internal clients. Let's see what the CI says about the remaining patches. I have added the bootsplash todo entry patch adding Sam as contact. Noralf. Noralf Trønnes (5): drm/fb-helper: Remove drm_fb_helper_connector drm/fb-helper: Prepare to move out modeset config code drm/fb-helper: Move out modeset config code drm/client: Hack: Add bootsplash example drm/todo: Add bootsplash entry Documentation/gpu/todo.rst | 19 + drivers/gpu/drm/Kconfig | 5 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_bootsplash.c | 358 +++++++++++ drivers/gpu/drm/drm_client.c | 7 + drivers/gpu/drm/drm_client_modeset.c | 707 ++++++++++++++++++++- drivers/gpu/drm/drm_drv.c | 4 + drivers/gpu/drm/drm_fb_helper.c | 886 +-------------------------- include/drm/drm_client.h | 23 +- include/drm/drm_fb_helper.h | 84 +-- 10 files changed, 1149 insertions(+), 945 deletions(-) create mode 100644 drivers/gpu/drm/drm_bootsplash.c