Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp923538yba; Thu, 4 Apr 2019 00:10:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXP+J5w8pRJcZxakjydM0F8cu5Fv9y+P6GtSOT3igGYxO8b04B5Z9OC5ee5VbWvF62K+1w X-Received: by 2002:a17:902:e48c:: with SMTP id cj12mr4602887plb.93.1554361845209; Thu, 04 Apr 2019 00:10:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554361845; cv=none; d=google.com; s=arc-20160816; b=drfQcC8AYm5QmVZlQLRZkZb761iGL1WVTffUw9ROem4yBKfwBteMmK7w+4NFjO4NQA Iv0gXv/p2fwV7IHU7Vqqs2PwXlAfqtmrwIup2cdeAhdlWLYcvhEaVS/nu1w70jOe3QHF h8oe5PjUvpmDl0KUfziPuz/aSxoBhFfWNYpkc/gU2VsFv5XfaYb4U47r/7KvUGjAmqZ8 sLrcji1iuhcO07XPWKbfv/wVoUCwHmrzGXgI7c8SHVconOTIvJ7m+2WjbI2Bh3r01dvz NqPZEWnflGEW7LuDUZF1WEaZaG2/1LnxWC4leh8jXPuLqKmeQyOJ7hvRMVUjL5DME+uv rBGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=aiH4y5Lj6iSaS2VOKzt2gm06dkTpKkgpQ0V8JFPwRXA=; b=FkisUX0F/aft/joycplIzZs23irJUSDAlH4Dvq0MNGn1D1I6Ck4Wxik0OW5NH9OtNZ rDC0aIAOI1uhIJ/eVq6YEh3Ormi0sBSxvs9K0VQP6zsK8bvSWdcsM4Vr8W09Ip8W1goy f6MUaWfcjYpHCSk2oxCxxtVwq5AF+bCJ7IBIeEIXgkO3HUh6aShFx0yEt08TXSVVoAUf fPrA/jV4AE93sVdXVHomW493wVQlFbp4RGGHv/xZ0UZ2OcJsDJnxBQ8crXSALXs8DY+P GZWPCi1v9fO5Fue3iEWNLkrWmqiQbYqwTx+Mo8FYR8XHp9TafbeWYEb0Ohk6Au5BRA7Z Y5PQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q17si15280375pgq.216.2019.04.04.00.10.29; Thu, 04 Apr 2019 00:10:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727025AbfDDHJr (ORCPT + 99 others); Thu, 4 Apr 2019 03:09:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43250 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726031AbfDDHJr (ORCPT ); Thu, 4 Apr 2019 03:09:47 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 51808A77F; Thu, 4 Apr 2019 07:09:47 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id F267F413C; Thu, 4 Apr 2019 07:09:46 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 3C11516E31; Thu, 4 Apr 2019 09:09:46 +0200 (CEST) Date: Thu, 4 Apr 2019 09:09:46 +0200 From: Gerd Hoffmann To: Daniel Vetter Cc: David Airlie , dri-devel , David Airlie , open list , "open list:DRM DRIVER FOR QEMU'S CIRRUS DEVICE" Subject: Re: [PATCH] drm/cirrus: rewrite and modernize driver. Message-ID: <20190404070946.la52tm5rpgtxoov3@sirius.home.kraxel.org> References: <20190403072318.31507-1-kraxel@redhat.com> <20190404055056.ddc2bdgjbgjj7tby@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Thu, 04 Apr 2019 07:09:47 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > > Speaking of wayland: Seems at least gnome-shell insists on using XR24. > > Yeah XR24 is pretty much mandatory. Noralf added a few helpers to > convert XR24 to other formats, for display not supporting anything > else. Because userspace. Ah, right, that is an option too. Given we blit any display updates anyway we could easily convert XR24 to RG24 while doing so. Guess that is better ... > > Well, I can reintroduce the module option. I don't see any other > > reasonable way to support 32bpp. If the driver reports XR24 as > > supported and also adds the higher resolutions (which work with RG16 > > only) to the mode list userspace will of course try the higher > > resolutions with XR24 and struggle ... > > Maybe atomic userspace is better (it should be, it can do TEST_ONLY), > but I'm not so sure that exposing all modes for atomic clients would > work. Also, currently not possible with our probe helpers (we don't > refilter the list per client). .. than this mess. cheers, Gerd