Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3600555pxb; Mon, 24 Jan 2022 13:13:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCKV76ggp2FsUprpob262ZYAYYSZta+Ql7MK3GwL57oqSLKmVbEdomXKePnYu2F1r+0m8i X-Received: by 2002:a17:902:aa84:b0:149:711b:258f with SMTP id d4-20020a170902aa8400b00149711b258fmr16253640plr.170.1643058833982; Mon, 24 Jan 2022 13:13:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643058833; cv=none; d=google.com; s=arc-20160816; b=0vOqf+0iwplaHAcUSOnmuLnXmDTKdsDcozdLFACQfUdx0Aa6GFODG8G42L7crbgh/n +fbkwCmlpfK9mkc8hH5Z6L6xpDqRe9Ip+UpPhuEGfIOkA5ttbw7YKPWdwqV6oyJIJsuM Lr49OQSnVhdd/M1sTT1oluB9mAsfgeFxaU4ZfuKq1dFADS3FOhv5Okh9euKrxHWjYGV6 b2pI0vOCULBdWo5qxjx3EPKRw2ORUIpQ3ltJE8Cw7bsonZnBvL69CZMWdvcz5WIdaq6s Jw7gdirtky6Zdrbtm9nd1DD1uxLoE3P71Ut819gpUNo6R8bVbHxcZeDgZKVYzxvUOOJz bxaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=6T+a8Bx06xvDutb5+VHfkoYO4ESKNGds/DLEsaoyVx8=; b=I7lTWGC/Yc/b0DIlO2l8WAUd7ZFxwaCfaeSgXy2DXnxR5ZpwSryzb2YxE9H4km2XeD AGDp+pkF6KqI7oaykZN5/AGW6jVkhSooqvoeBbhHor3sTz1jInTyuFpuBfp7nE0Bc33P OXGZ4TMoi7Qv59TzRNXolO3gYtJc5egpf9a3rBjFNnDzbXLpEWnUqlyQXTFEWA01Wdho JuxH2goujIDc1D0JpxGRY70J0yz0o+w9xCGIaeqqm5so84+qu9WxqTd1sFiFIiX17L1s E61/FjcpDmdwbsZYFkkPf3GhW4axfc/142CxKINRgbs8apvLx2NYk0RkRsWMd1duxc2T v9gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=FMSnFxr7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k22si13931982pfc.49.2022.01.24.13.13.38; Mon, 24 Jan 2022 13:13:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=FMSnFxr7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386357AbiAXUf0 (ORCPT + 99 others); Mon, 24 Jan 2022 15:35:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353760AbiAXUNr (ORCPT ); Mon, 24 Jan 2022 15:13:47 -0500 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFB2BC0604D9 for ; Mon, 24 Jan 2022 11:37:16 -0800 (PST) Received: by mail-oi1-x22c.google.com with SMTP id s9so27115347oib.11 for ; Mon, 24 Jan 2022 11:37:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6T+a8Bx06xvDutb5+VHfkoYO4ESKNGds/DLEsaoyVx8=; b=FMSnFxr7XrvMSHM8YrAM6NA5d3ET8kIpzVnWIzWt1EKy7/wkEHXze29Yi49fGJq+Y5 GnxGPakbkFU5mIiNUV80zkvcs5Lq3FDyau5p4lc5ZHUMincF4tlOGxC64RcVK/YGhUhh TA7kmVkXemc68K3B6H4WUIdjUnrcj0Z5AQRok= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6T+a8Bx06xvDutb5+VHfkoYO4ESKNGds/DLEsaoyVx8=; b=USjnHWCAHxFR2z+6VYgIrxV1MD84Ilax/Vh67XgRu67jAj6Xy0gF93VfHqSz3ofEjU chbsVld2aR6OGnBK6h6ErRyDDn2l4SD0ZENuwq3FuWI/rGzERjTLpDKmB1VweQBAXb/V 2KBA8Bowd2Lga5NU7UbGbR2J0emjKZ/YyTn5hMx8IOq73X76OGHjnDBDpbKXd0SxvoN5 EWnSz34f+0+beOIqUw4pK1p0wBlGL9O0urFG5qY8+7Ub0JtC+WLPUDucSIuLialu2DQ/ 4wGUgSx+vidKwAQkkDtOa/ygmY5wPNDIPETSP536joPowBlgUi9CUy40xDTWi20xO4/r 8YTQ== X-Gm-Message-State: AOAM532z/O1bQyQtPqKHuvKwI1A//B3IYKZfyxr6YaGS+6b0xTtLK99/ ufCpkHurba9PlMiXfR8ZhETZH0c7hHJbVoe5FgvMSQ== X-Received: by 2002:a05:6808:1188:: with SMTP id j8mr2716171oil.101.1643053036285; Mon, 24 Jan 2022 11:37:16 -0800 (PST) MIME-Version: 1.0 References: <87bl0amc6s.fsf@x1.stackframe.org> <20220118103323.4bae3a7d@eldfell> <20220118095352.xsb6fqacw4p276c5@sirius.home.kraxel.org> In-Reply-To: From: Daniel Vetter Date: Mon, 24 Jan 2022 20:37:04 +0100 Message-ID: Subject: Re: [PATCH] MAINTAINERS: Add Helge as fbdev maintainer To: Geert Uytterhoeven Cc: Gerd Hoffmann , Linux Fbdev development list , Helge Deller , Linux Kernel Mailing List , DRI Development , Thomas Zimmermann , Sven Schnelle Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 24, 2022 at 7:51 PM Geert Uytterhoeven wrote: > > Hi Daniel, > > On Thu, Jan 20, 2022 at 1:33 PM Daniel Vetter wrote: > > But reading code&docs is too hard I guess, safer to assume it's just > > broken and not supported. > > I confirm there's lots of documentation (and even more code ;-), > which is always great! > But both are intimidating to me, and most of the documentation covers > features I'm not interested in, as they're only applicable to fancy > modern truecolor 3D-capable multi-buffer and multi-head hardware, while > what I am looking for is usually not documented. E.g. I had a hard > time to discover how color look-up tables work (gamma_{store,size}!), > as this is not covered in https://docs.kernel.org/gpu/index.html, > and none of the tinydrm drivers support CLUT modes. Hm yeah that part is a bit awkward since due to how Xorg works here the gamma table is abused to be the lookup table for C8. If we're adding piles of new Cx formats it might be worth it to structure this a bit better, e.g. (really just thinking on the spot here): - have a separate Cx lookup table blob in drm_plane_state (in theory you could have a different one on each plane and still have an overall gamma ramp on the crtc) - change the compat functions which map the legacy gamma ramp to redirect to the plane gamma ramp if the primary plane is set to Cx - bonus points for then correctly sizing the lookup table to match the number of bits in the Cx plane format But unfiddling this confusion properly is going to be tricky. I think just continuing the tradition we have for C8 and reusing the crtc gamma ramp for that is probably fine for now. And yes that's not documented, because when we fixed the docs for the entire degamm/CGM/gamma color correction pipeline Cx wasn't the top priority :-) Cheers, Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch