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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D3DCC4332F for ; Tue, 15 Mar 2022 07:52:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345687AbiCOHxu (ORCPT ); Tue, 15 Mar 2022 03:53:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345685AbiCOHxq (ORCPT ); Tue, 15 Mar 2022 03:53:46 -0400 Received: from mail-qv1-f53.google.com (mail-qv1-f53.google.com [209.85.219.53]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B6714BB9F; Tue, 15 Mar 2022 00:52:35 -0700 (PDT) Received: by mail-qv1-f53.google.com with SMTP id im7so14425392qvb.4; Tue, 15 Mar 2022 00:52:35 -0700 (PDT) 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=dLrWH/HTunHeNVedUT22wD7fuCnOVdEr3MibPq0EL+Y=; b=bWDLP7LVucTaZ+It9568Zs7W5OTWxw7DW+8xLKUZEKGn0R1EAroa5aFzxG3cyA7a1G BwwHES9sGgP/YCvi/AeygU0mADEdt5D8t3dQEHan42mZEfOsNMmnLUeYuH5cuRlJhw+C 5400yDWKDBMnAh2M4kjaZwMQtL1hxTviAkse1E9GeTHum18CVZetkfYQ4o0CN5OE09tc 8/ctSX2WfPrM8D2XNWMeLrmZp0EstKP4IDOa2TaFaljJ3mjei5LnZh4EB025ohQEs4GH IV5Fi/KpLHiavcQZz7PrF48uB4UYT2gtsfkjjhCTODZTIKNh2k1YXzIxKBsoycxibWjq uCig== X-Gm-Message-State: AOAM533lGPKVvQMJjNJK+mQNgYmus+VWuClic/3GtmziNcYFmiA/pZik uz/j9J6QYVaAeHE7AOwXy+RA2MRoHR+mSw== X-Google-Smtp-Source: ABdhPJwnGOcVjQQdgTn6iyrfVUcGkW82/pSUkvILuxFkyhghLPZibE7XkFBL83fx/k8/SBfUFiokzQ== X-Received: by 2002:ad4:5b81:0:b0:440:a6f5:1fc3 with SMTP id 1-20020ad45b81000000b00440a6f51fc3mr7820809qvp.57.1647330754021; Tue, 15 Mar 2022 00:52:34 -0700 (PDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id n8-20020ac85a08000000b002e06aa02021sm12770033qta.49.2022.03.15.00.52.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 00:52:33 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id t11so3941506ybi.6; Tue, 15 Mar 2022 00:52:33 -0700 (PDT) X-Received: by 2002:a25:bc8f:0:b0:628:8649:5c4b with SMTP id e15-20020a25bc8f000000b0062886495c4bmr21295331ybk.207.1647330753044; Tue, 15 Mar 2022 00:52:33 -0700 (PDT) MIME-Version: 1.0 References: <8d3c0cc370b0214244b01a64c588e5e506531716.1646683502.git.geert@linux-m68k.org> <20220314170539.17400f93@eldfell> <1f915fcc-1d95-99d1-c7b7-dc4e3b49e09f@linux-m68k.org> <20220315093250.71352a56@eldfell> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 15 Mar 2022 08:52:21 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 05/10] drm/fourcc: Add DRM_FORMAT_C[124] To: Pekka Paalanen Cc: Finn Thain , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Javier Martinez Canillas , Sam Ravnborg , Helge Deller , Linux Fbdev development list , "Linux/m68k" , DRI Development , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 15, 2022 at 8:51 AM Geert Uytterhoeven wrote: > > Also, when drm_fourcc.h is describing pixel formats, it needs to > > consider only how a little-endian CPU accesses them. That's how pixel > > data in memory is described. Display hardware plays no part in that. > > It is the driver's job to expose the pixel formats that match display > > hardware behaviour. > > But if the "CPU format" does not match the "display support", s/support/format/ > all pixel data must be converted? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C1DA4C433F5 for ; Tue, 15 Mar 2022 07:52:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2AC1610E3E3; Tue, 15 Mar 2022 07:52:37 +0000 (UTC) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by gabe.freedesktop.org (Postfix) with ESMTPS id 33D9B10E3E3 for ; Tue, 15 Mar 2022 07:52:36 +0000 (UTC) Received: by mail-qt1-f179.google.com with SMTP id n11so9568555qtk.4 for ; Tue, 15 Mar 2022 00:52:36 -0700 (PDT) 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=dLrWH/HTunHeNVedUT22wD7fuCnOVdEr3MibPq0EL+Y=; b=uczkBoop0gWY2p6IdwEuvPEv8otSs6xCBh7A3Y0T+hMVg78h1VCW77iUgoE0XatS5g Xeg2EoKFKLRjvu+nkBqqm17xtDhVH+MYoJ+4byL0zA7Gsd7mLNDBZQB+AXLOQJsCaSVq 5tqqAGtr6sOpbeVT5PVN/W+9369QbRVUc4RMw3jHhRV9VbdOuiNTb2W7e2/AHKbu96OV ZyalrMwgSZAf0DEyuA59lhVczLbvOwNVAniDpdvzVwrAKzrHZAwsE1IwbUVsjHKNR634 pmAcxtA+mrqIOQ4ofO4AhFUN/EUHUWAQc2V6EC62Zae0J9Crd3MLBoKe7ddbMop42Sgs slGg== X-Gm-Message-State: AOAM531/ZuU2C23EpB0Q7d6Y6kpp+ny4g1fwMZnKNn0VW6KpVnSznzyh NXsQFFDdPmF/PD2skfMc/VEYXSVIWV+V7w== X-Google-Smtp-Source: ABdhPJxuvnaENfReYgVZK5lP7DjOsmygktA94c3t07nt5pDH24db/x8yAUEsDS++T2jngbPSLycF2Q== X-Received: by 2002:a05:622a:1899:b0:2e1:b3d2:138d with SMTP id v25-20020a05622a189900b002e1b3d2138dmr19230083qtc.331.1647330754727; Tue, 15 Mar 2022 00:52:34 -0700 (PDT) Received: from mail-yb1-f170.google.com (mail-yb1-f170.google.com. [209.85.219.170]) by smtp.gmail.com with ESMTPSA id x5-20020ae9e645000000b0067b122fae88sm8978989qkl.2.2022.03.15.00.52.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 00:52:33 -0700 (PDT) Received: by mail-yb1-f170.google.com with SMTP id l2so35653750ybe.8 for ; Tue, 15 Mar 2022 00:52:33 -0700 (PDT) X-Received: by 2002:a25:bc8f:0:b0:628:8649:5c4b with SMTP id e15-20020a25bc8f000000b0062886495c4bmr21295331ybk.207.1647330753044; Tue, 15 Mar 2022 00:52:33 -0700 (PDT) MIME-Version: 1.0 References: <8d3c0cc370b0214244b01a64c588e5e506531716.1646683502.git.geert@linux-m68k.org> <20220314170539.17400f93@eldfell> <1f915fcc-1d95-99d1-c7b7-dc4e3b49e09f@linux-m68k.org> <20220315093250.71352a56@eldfell> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 15 Mar 2022 08:52:21 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 05/10] drm/fourcc: Add DRM_FORMAT_C[124] To: Pekka Paalanen Content-Type: text/plain; charset="UTF-8" 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: Linux Fbdev development list , Finn Thain , David Airlie , Helge Deller , Javier Martinez Canillas , Linux Kernel Mailing List , Linux/m68k , DRI Development , Thomas Zimmermann , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Mar 15, 2022 at 8:51 AM Geert Uytterhoeven wrote: > > Also, when drm_fourcc.h is describing pixel formats, it needs to > > consider only how a little-endian CPU accesses them. That's how pixel > > data in memory is described. Display hardware plays no part in that. > > It is the driver's job to expose the pixel formats that match display > > hardware behaviour. > > But if the "CPU format" does not match the "display support", s/support/format/ > all pixel data must be converted? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds