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=-7.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham 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 7E443C47247 for ; Tue, 5 May 2020 19:03:43 +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 565DF20663 for ; Tue, 5 May 2020 19:03:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 565DF20663 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org 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 B14DD6E479; Tue, 5 May 2020 19:03:42 +0000 (UTC) Received: from asavdk4.altibox.net (asavdk4.altibox.net [109.247.116.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 524B26E479 for ; Tue, 5 May 2020 19:03:41 +0000 (UTC) Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 31D8C80441; Tue, 5 May 2020 21:03:38 +0200 (CEST) Date: Tue, 5 May 2020 21:03:36 +0200 From: Sam Ravnborg To: Artem Mygaiev , Phong LE Subject: Re: Question about sRGB framebuffer support Message-ID: <20200505190336.GA12664@ravnborg.org> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=MOBOZvRl c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=kj9zAlcOel0A:10 a=jta1ecBkAAAA:8 a=vsRjAEWcAAAA:20 a=IpJZQVW2AAAA:8 a=VwQbUJbxAAAA:8 a=m7yZuxv1mVnD7CP__70A:9 a=CjuIK1q_8ugA:10 a=GL3GKE0QfFW_AYR4f9um:22 a=IawgGOuG5U0WyFbmm1f5:22 a=AjGcO6oz07-iQ99wixmX:22 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: dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Artem. On Tue, May 05, 2020 at 01:24:16PM +0300, Artem Mygaiev wrote: > Hello all > > I am currently working on DRM/KMS driver for Fresco Logic FL2000 USB display > controller [1]. I have already implemented a POC driver [2] which is working for > me, although there are still plenty of things to improve or fix, of course. > > So far I have one thing that I somehow cannot find in DRM/KMS documentation or > existing drivers: how to tell the system that HW expects sRGB (i.e. non-linear) > color encoding in framebuffers? This is a HW limitation that I cannot influence > by configuration. > > Any pointers are greatly appreciated. No clue, I hope others can help you. > > [1] www.frescologic.com/product/single/fl2000 > [2] https://github.com/klogg/fl2000_drm I just visited your github site - and noticed you are using the it66121 bridge. Phong LE have recently submitted a patch to add this bridge to the kernel: https://lore.kernel.org/dri-devel/20200311125135.30832-1-ple@baylibre.com/ I did not really looks at your code, awaits that you feel ready to submit it. Sam _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel