From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EA7FC433ED for ; Tue, 20 Apr 2021 09:22:14 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0192C61164 for ; Tue, 20 Apr 2021 09:22:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0192C61164 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 330916E4EC; Tue, 20 Apr 2021 09:22:13 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 142286E4EC for ; Tue, 20 Apr 2021 09:22:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618910530; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=fM2Zxq/BIV5zt5mY21HecYUb6ZEHdd7//7NEB7VTkj0=; b=g2qeczaLn/mvXnN2kkD2Ay09o02EliH/UDJRWb3gX5x3EDAVV9jXWkMvQ8+w3Gs/ZWR8DA f4lr2GaSl/ZcjvP15nyIPG67t9qLhFC13hcZ/HHwXhFsl5GwhnMvo0dlZtt0oi/EYuGZIm 4/NQHrwG4jm+m3Qy/SIqJVYHGEbCQ70= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-534-pjywwDiHPSCeF_KBFKw-Sw-1; Tue, 20 Apr 2021 05:22:08 -0400 X-MC-Unique: pjywwDiHPSCeF_KBFKw-Sw-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E42391020C27; Tue, 20 Apr 2021 09:22:06 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-178.ams2.redhat.com [10.36.112.178]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7751B5C23E; Tue, 20 Apr 2021 09:22:06 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 82A7D1800382; Tue, 20 Apr 2021 11:22:04 +0200 (CEST) Date: Tue, 20 Apr 2021 11:22:04 +0200 From: Gerd Hoffmann To: Daniel Vetter Subject: Re: [PATCH v4 0/9] drm: Support simple-framebuffer devices and firmware fbs Message-ID: <20210420092204.7azdb7nxgofegjht@sirius.home.kraxel.org> References: <20210416090048.11492-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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: bluescreen_avenger@verizon.net, Jonathan Corbet , David Airlie , Emil Velikov , "open list:DOCUMENTATION" , Liam Girdwood , virtualization@lists.linux-foundation.org, Hans de Goede , Mark Brown , Geert Uytterhoeven , DRI Development , Thomas Zimmermann , Greg KH , Sam Ravnborg Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi, > > > Patches 4 to 8 add the simpledrm driver. It's build on simple DRM helpers > > > and SHMEM. It supports 16-bit, 24-bit and 32-bit RGB framebuffers. During > > > > .... if support for 8-bit frame buffers would be added? > > Is that 8-bit greyscale or 8-bit indexed with 256 entry palette? Former > shouldn't be a big thing, but the latter is only really supported by the > overall drm ecosystem in theory. Most userspace assumes that xrgb8888 > works, and we keep that illusion up by emulating it in kernel for hw which > just doesn't support it. But reformatting xrgb8888 to c8 is tricky at > best. Well. cirrus converts xrgb8888 on the fly to rgb888 or rgb565 (depending on display resolution). We could pull off the same trick here and convert to rgb332 (assuming we can program the palette with the color cube needed for that). Wouldn't look pretty, but would probably work better than expecting userspace know what color palettes are in 2021 ... take care, Gerd _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel