Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp737921ybt; Wed, 1 Jul 2020 08:52:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxZwjM9pBuwwExcAckXRZeR0feom4b2HndCZcY96uEDIgGwd22Fh+RfKzL1BZAJ1m7fb/3 X-Received: by 2002:aa7:d8c2:: with SMTP id k2mr29236484eds.346.1593618745662; Wed, 01 Jul 2020 08:52:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593618745; cv=none; d=google.com; s=arc-20160816; b=yzcShJwz9N7T1i9j6f7DJ9IKbzhUrjQXOYpPuOs8V9gxpGex4l8U3Ba/ajxhiTShl+ t4M5CBxa2G+OMcm5UjyIk1Y/DvC3Qm6rHJh7ZNDyd+bjo9eupzeHgMXchuXJ0QGWo97Y PurMeJWbN2ngCxFUclRH8vbu4vZdmqCPiJZyDm5aGsVPmd6C2wtBPBgKsCdffnLicQzm mtkMmsoW3gDl/+QcYw+rbVmw9ts57YUw9VQ+b0caAyCOhWXM234zfJty1lY+PqUxwf97 ONWg4dSgH7doKMlHeoO66mTApG2dAYUH7EN4USgAkrNudAsDbw7e51t59J0zNAM4ypLW kH9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Mzvm6cuPWYO3wPA51AT6fuQKzrpGXQe7QiaZZeMs4IA=; b=Of2vACpI2mSJDzPqHe02Tt1qgXTppoeOddFROefOiMJ8BDShfG9DfchxkbAnUacdV1 1dqWTh0hrE5fA1DgmltI9BcCZtW7TEHEuB8sD62CWg6UzDoAWzZwPYMKOyWfPpWDY17x HF8Pd6eDOhLUp12STFqeeI6AFI6pkKonyvQAbZeUCg/dUhGrU+rW2JcDjOE/imFqXxXz uxPRu1p1tqgTMCUrfutu4+clQYmoo1SfumFRJX6k/2jZaj39iX3wHiJ32ffauB4IQ0JK +0zYy2CoKzA9ZW9qmw/vLPmwTO4ErfE0GfG3eKNfK8+IoQKl/FByTtHGEfwGUwH1GZ97 ABEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=ACRPC2TV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s14si3886901ejq.387.2020.07.01.08.52.02; Wed, 01 Jul 2020 08:52:25 -0700 (PDT) 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=@nvidia.com header.s=n1 header.b=ACRPC2TV; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732090AbgGAPvo (ORCPT + 99 others); Wed, 1 Jul 2020 11:51:44 -0400 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:2503 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732138AbgGAPvl (ORCPT ); Wed, 1 Jul 2020 11:51:41 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 01 Jul 2020 08:51:29 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 01 Jul 2020 08:51:41 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 01 Jul 2020 08:51:41 -0700 Received: from [172.20.40.59] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 1 Jul 2020 15:51:40 +0000 Subject: Re: [git pull] drm for 5.8-rc1 To: Karol Herbst CC: Daniel Vetter , LKML , dri-devel , Ben Skeggs , "Kirill A. Shutemov" , Linus Torvalds References: <20200630230808.wj2xlt44vrszqfzx@box> From: James Jones X-Nvconfidentiality: public Message-ID: <11e5ee1d-8b5e-2721-091e-ffbf9e1271d1@nvidia.com> Date: Wed, 1 Jul 2020 08:51:45 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1593618689; bh=Mzvm6cuPWYO3wPA51AT6fuQKzrpGXQe7QiaZZeMs4IA=; h=X-PGP-Universal:Subject:To:CC:References:From:X-Nvconfidentiality: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=ACRPC2TVbiVt/VwmKP1HOCHmXGn41MG/BZqANI7FTHKcQXLpfGQdE6dHBj/M7QQRj 8RfgDnbtcFrRWxxeNorWV0FO35Gg1SNfZ/ybgFbqj+gKBEU50i2+p6JXKYTWcpFDna EYVS5cygsBO5636IA2+ZpmJIHQpNVnb49Qz1xd7h9v9uBmalzzL0Kg7MVH7llXmC17 beJJobeEWP3fWVkE+fU7YNBz+nTdmsym5wwpZaCe5MPyyLlEC/LsInCN2aLi/JBtMD OGF27MGZxG35Dy2FCcg/sWLD/a3DGUAg6ldy2OP7tq32EGQ+648sQtVLZqIB9Uf1Y/ 0bYTvAUMTgHKA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/1/20 4:24 AM, Karol Herbst wrote: > On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: >> >> This implies something is trying to use one of the old >> DRM_FORMAT_MOD_NVIDIA_16BX2_BLOCK format modifiers with DRM-KMS without >> first checking whether it is supported by the kernel. I had tried to >> force an Xorg+Mesa stack without my userspace patches to hit this error >> when testing, but must have missed some permutation. If the stalled >> Mesa patches go in, this would stop happening of course, but those were >> held up for a long time in review, and are now waiting on me to make >> some modifications. >> > > that's completely irrelevant. If a kernel change breaks userspace, > it's a kernel bug. Agreed it is unacceptable to break userspace, but I don't think it's irrelevant. Perhaps the musings on pending userspace patches are. My intent here was to point out it appears at first glance that something isn't behaving as expected in userspace, so fixing this would likely require some sort of work-around for broken userspace rather than straight-forward fixing of a bug in the kernel logic. My intent was not to shift blame to something besides my code & testing for the regression, though I certainly see how it could be interpreted that way. Regardless, I'm looking in to it. Thanks, -James >> Are you using the modesetting driver in X? If so, with glamor I >> presume? What version of Mesa? Any distro patches? Any non-default >> xorg.conf options that would affect modesetting, your X driver if it >> isn't modesetting, or glamour? >> >> Thanks, >> -James >> >> On 6/30/20 4:08 PM, Kirill A. Shutemov wrote: >>> On Tue, Jun 02, 2020 at 04:06:32PM +1000, Dave Airlie wrote: >>>> James Jones (4): >>> ... >>>> drm/nouveau/kms: Support NVIDIA format modifiers >>> >>> This commit is the first one that breaks Xorg startup for my setup: >>> GTX 1080 + Dell UP2414Q (4K DP MST monitor). >>> >>> I believe this is the crucial part of dmesg (full dmesg is attached): >>> >>> [ 29.997140] [drm:nouveau_framebuffer_new] Unsupported modifier: 0x300000000000014 >>> [ 29.997143] [drm:drm_internal_framebuffer_create] could not create framebuffer >>> [ 29.997145] [drm:drm_ioctl] pid=3393, ret = -22 >>> >>> Any suggestions? >>> >> _______________________________________________ >> dri-devel mailing list >> dri-devel@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/dri-devel >> > > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel >