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 89644C64ED6 for ; Mon, 27 Feb 2023 00:03:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A44BD10E162; Mon, 27 Feb 2023 00:03:44 +0000 (UTC) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0B4BA10E162; Mon, 27 Feb 2023 00:03:43 +0000 (UTC) Received: from [192.168.2.206] (109-252-117-89.nat.spd-mgts.ru [109.252.117.89]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7DCD666020AF; Mon, 27 Feb 2023 00:03:41 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1677456221; bh=AMEEKMKSiNmj+AtMl0fsR837RIzlq1XdWv9kO+7O+ZA=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=V6PsDPfB2xf6uxmGR3/hMmoE0TQWLaxtyivo8xw3XlUCOsDjCy2Bsx5Qb0gOjGr34 /kmvmi30Ejf6peVhI3M9ENDa6wnPu77AFnuGxuamT7gqauwQznlWSilPKBNKVD8ax0 PmU+r1FTZ9t2ULj8hzxdPdXNB5syuCGVJikNIR3mbPSkdrh8/F3PjWrwy+KpBJTtNx BACdFQUDWSesllLaOklYUEB+o757f21ZnIJOeIjj7DMuR9mZFRtan5x1xe1jK+6svZ 3ga6sKLRT+E1Td9Y6p9nYvhV2KeG9F6/Cs4ZuKWbHlXIWkVR8gsLE2Bw9GvwjvePKj L26/41Y6IevkA== Message-ID: Date: Mon, 27 Feb 2023 03:03:39 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Content-Language: en-US From: Dmitry Osipenko To: Jani Nikula , dri-devel@lists.freedesktop.org References: <992eefe3-1ab8-b8ba-02d4-9bb9f9755688@collabora.com> In-Reply-To: <992eefe3-1ab8-b8ba-02d4-9bb9f9755688@collabora.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Intel-gfx] [PATCH 0/4] drm/displayid: use primary use case to figure out non-desktop X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: intel-gfx@lists.freedesktop.org, Iaroslav Boliukin Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On 2/21/23 19:29, Dmitry Osipenko wrote: > On 2/20/23 18:44, Dmitry Osipenko wrote: >> On 2/16/23 23:44, Jani Nikula wrote: >>> Mostly this is prep work and plumbing for easier use of displayid >>> structure version and primary use case for parsing the displayid blocks, >>> but it can be nicely used for figuring out non-desktop too. >>> >>> Completely untested. :) >>> >>> BR, >>> Jani. >>> >>> Cc: Iaroslav Boliukin >>> Cc: Dmitry Osipenko >>> >>> Jani Nikula (4): >>> drm/displayid: add displayid_get_header() and check bounds better >>> drm/displayid: return struct displayid_header from >>> validate_displayid() >>> drm/displayid: provide access to DisplayID version and primary use >>> case >>> drm/edid: update non-desktop use also from DisplayID >>> >>> drivers/gpu/drm/drm_displayid.c | 62 ++++++++++++++++++++++++++++----- >>> drivers/gpu/drm/drm_edid.c | 25 +++++++++++++ >>> include/drm/drm_displayid.h | 12 ++++++- >>> 3 files changed, 89 insertions(+), 10 deletions(-) >>> >> >> It works now without the EDID quirk, thanks! >> >> Tested-by: Dmitry Osipenko >> > > I'm going to apply this to misc-next later this week if there won't be > any objections. > Applied all 5 patches to misc-next -- Best regards, Dmitry