Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp551105pxp; Wed, 9 Mar 2022 08:03:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdYzOBcmYPzmND81xniEf4r12qQOHMe8Z14lGbYhWHxffjAAbex+q+ZUvsak6d793Zd3NR X-Received: by 2002:a25:f505:0:b0:624:f6f9:7bf3 with SMTP id a5-20020a25f505000000b00624f6f97bf3mr279530ybe.465.1646841795088; Wed, 09 Mar 2022 08:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646841795; cv=none; d=google.com; s=arc-20160816; b=YR0itM4z4EkDCYFvQf11GdfqSF4NyNyQ5h4DG4rnlM3/zw7xFjsI2mbmhO1Y/v/ZBV VZpAx0wE6ZwjQY2ZOclZvb1ji5a13sT6YbNtYWKJqnMIyjsTA1TV7GiXbi9MkvYeIdfr t7ag9AeraOl9HtCfq2/7Hokoqj/vPX3fv/pwM8xaLQUoniKrZRAn0/IqGe9Ks32zRg5/ xHavSAXMM45fsm4c8gqfJEco6X0jOnSrH2U0ddsX0rub6a4PWXl2w3B9VGJ1ost6VWZj AOgATcsvfHsgQXSFf8ReYaabWZm8XT5q3/mIRI/IeyiW71cn9/2bX2gbPwfnDseErO8X 7QIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=dkHeos7H6tsu7tvMZnCFYXnCg8oFI8g7rvfuV0EJ3JA=; b=sXCimDk5G3lKK/RFEkDhC/SFItz/kE9DKs02z9VAEuFax+3GSEqVKJfWB/acjUwAOV o49KfquOU+k+Wjgz/RWBF87YmNUVM5ayTQAL09hwolG+RM1dH/aOfChaId2pVkV0bQWg ZbX6whIpxwvPWW0Y07QKmjWibbyiwSNl6bo+5gmbvL7ywg0dmrPV4smwQ/orBMJW60lE +er7axe0ARZgF14UofgyV3CpSOQl2oohrsezqlfac3qPx/z4Az10ympJPgRwl8IZSTOV M6qGekEZ02HqpTqzvl4NJPxSHUk3EQA+W7Fx26YEJQNHszZFJB68vcsFZ0lQfiuXk5mV S1vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="X8/Jri6e"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x15-20020a25b90f000000b0062422fd5b18si1335488ybj.29.2022.03.09.08.02.59; Wed, 09 Mar 2022 08:03:15 -0800 (PST) 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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="X8/Jri6e"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232923AbiCIM7E (ORCPT + 99 others); Wed, 9 Mar 2022 07:59:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232018AbiCIM7C (ORCPT ); Wed, 9 Mar 2022 07:59:02 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1330414FFEF for ; Wed, 9 Mar 2022 04:58:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646830683; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dkHeos7H6tsu7tvMZnCFYXnCg8oFI8g7rvfuV0EJ3JA=; b=X8/Jri6eTuZ4p8PhUQmgsNFuj5slbm+Z8sKzHEAarUi2ZAdv7s2wGIoIOKwX5CJeWZDm0v CfVkBqySMndJ/8o8iAPJorQEHIQLQ5yX7M21Ux9WuKxAPXguuIkZSzWBzszejH9Dd3+0aY aXWgL4qGozxCjU0//j5pVM5hfmjuE3o= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-116-Bo1FKJelNtaApVf2clue4w-1; Wed, 09 Mar 2022 07:58:02 -0500 X-MC-Unique: Bo1FKJelNtaApVf2clue4w-1 Received: by mail-wr1-f69.google.com with SMTP id x15-20020a5d6b4f000000b001ee6c0aa287so736571wrw.9 for ; Wed, 09 Mar 2022 04:58:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=dkHeos7H6tsu7tvMZnCFYXnCg8oFI8g7rvfuV0EJ3JA=; b=8EWQmtoT/vb7E7XFmoHaBuROBgVBskJScVsiyrAT/YTmpzrlcwmY384362b1nc5NPm DqK4q2kP7ieSPY9q88u6ZxWfOe1oBpyuYeAQV/nbpzjwVjDrvqGMLUvgxhtvE082ZkWy nBQwWDrAUIegz4vkgSv95qTC6WbPnrBE78Zt5dBQtrySMEcojkHqyt1v/rYG0VkyvGDK D19SrssFooR01TsPmjIYr/xwFNxMBKf+seg07RP+TPY/iytMZLSb+EI+Jnk6PWjSgjfs CMNULY2g1fYHEZVdcIJQOwZvdDU7JmAGllBwZO3g99EuiIVuqtSZNOvNB3JBL2VsZxqH OVoA== X-Gm-Message-State: AOAM532SE6d97TYkKR6QmB5Iwn6CBW7dOFJM/rsDQzcV4VeaQF5rMM6k 7qPLffhoIx4efDojAzFtsK6jL/wVveNY4x5CObti+nBke1wUDqMnDPP3B2gjbf/4PkdMIJGQHlF EtilXdmjzAOudp97RIfaZIrLZ X-Received: by 2002:a05:6000:186c:b0:1fa:a8d:28f4 with SMTP id d12-20020a056000186c00b001fa0a8d28f4mr9173033wri.518.1646830680807; Wed, 09 Mar 2022 04:58:00 -0800 (PST) X-Received: by 2002:a05:6000:186c:b0:1fa:a8d:28f4 with SMTP id d12-20020a056000186c00b001fa0a8d28f4mr9173018wri.518.1646830680553; Wed, 09 Mar 2022 04:58:00 -0800 (PST) Received: from [192.168.1.102] ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id u10-20020adfa18a000000b001f04c24afe7sm1641218wru.41.2022.03.09.04.57.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Mar 2022 04:58:00 -0800 (PST) Message-ID: <1de701d9-4de6-4652-d33d-95d82860bed9@redhat.com> Date: Wed, 9 Mar 2022 13:57:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 05/10] drm/fourcc: Add DRM_FORMAT_C[124] Content-Language: en-US To: Geert Uytterhoeven , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Sam Ravnborg , Helge Deller Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org References: <8d3c0cc370b0214244b01a64c588e5e506531716.1646683502.git.geert@linux-m68k.org> From: Javier Martinez Canillas In-Reply-To: <8d3c0cc370b0214244b01a64c588e5e506531716.1646683502.git.geert@linux-m68k.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 3/7/22 21:52, Geert Uytterhoeven wrote: > Introduce fourcc codes for color-indexed frame buffer formats with two, > four, and sixteen colors, and provide a mapping from bit per pixel and > depth to fourcc codes. > > As the number of bits per pixel is less than eight, these rely on proper > block handling for the calculation of bits per pixel and pitch. > > Signed-off-by: Geert Uytterhoeven > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat