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 B5FDEC636CC for ; Mon, 20 Feb 2023 15:45:00 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 26A1E10E67C; Mon, 20 Feb 2023 15:45:00 +0000 (UTC) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by gabe.freedesktop.org (Postfix) with ESMTPS id A7C6010E67C; Mon, 20 Feb 2023 15:44:58 +0000 (UTC) Received: from [192.168.2.109] (unknown [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) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id DE08166003B0; Mon, 20 Feb 2023 15:44:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676907897; bh=WH5zmFFnDlSMHcOXxsPAi+ww+j41Tch8A852/cXUQsM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=AKGxB/hWqY1r61NlpxWv7i16uzhYMY7CO3xD6J7PoI+S0JskVucTWLiud0nvwW7VH ZJKWrmbURLhHySSjnBJnDcxHZ1sg94SGGrgGX/IAjnd1q0iqFzEunyOfftWX4d5kl7 SKRrL1mOmrqXTOZYt0MuI6hwtGzCBtFLjAnC+Tpzjy3gLZx1j8JMxRUEEXq89+Dwbo nHGPF8xBVTWCVkJtRshTtQ+4Z9rL5cTNguVsAJ+3gmJ1JiNrEcBjYPmT4ck8icdpu7 wiqTdZW3aDKAG+7Zx0hFu72iMdEQaPhwdj4PcGAfvjEfx/eM3Z2FqcIxt6bf60s8Jm 3+ueQRTwQtXVA== Message-ID: Date: Mon, 20 Feb 2023 18:44:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Content-Language: en-US To: Jani Nikula , dri-devel@lists.freedesktop.org References: From: Dmitry Osipenko In-Reply-To: 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/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 -- Best regards, Dmitry 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 F0EECC636D6 for ; Mon, 20 Feb 2023 15:45:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1323710E68B; Mon, 20 Feb 2023 15:45:01 +0000 (UTC) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by gabe.freedesktop.org (Postfix) with ESMTPS id A7C6010E67C; Mon, 20 Feb 2023 15:44:58 +0000 (UTC) Received: from [192.168.2.109] (unknown [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) server-digest SHA256) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id DE08166003B0; Mon, 20 Feb 2023 15:44:56 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1676907897; bh=WH5zmFFnDlSMHcOXxsPAi+ww+j41Tch8A852/cXUQsM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=AKGxB/hWqY1r61NlpxWv7i16uzhYMY7CO3xD6J7PoI+S0JskVucTWLiud0nvwW7VH ZJKWrmbURLhHySSjnBJnDcxHZ1sg94SGGrgGX/IAjnd1q0iqFzEunyOfftWX4d5kl7 SKRrL1mOmrqXTOZYt0MuI6hwtGzCBtFLjAnC+Tpzjy3gLZx1j8JMxRUEEXq89+Dwbo nHGPF8xBVTWCVkJtRshTtQ+4Z9rL5cTNguVsAJ+3gmJ1JiNrEcBjYPmT4ck8icdpu7 wiqTdZW3aDKAG+7Zx0hFu72iMdEQaPhwdj4PcGAfvjEfx/eM3Z2FqcIxt6bf60s8Jm 3+ueQRTwQtXVA== Message-ID: Date: Mon, 20 Feb 2023 18:44:53 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 0/4] drm/displayid: use primary use case to figure out non-desktop Content-Language: en-US To: Jani Nikula , dri-devel@lists.freedesktop.org References: From: Dmitry Osipenko In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: intel-gfx@lists.freedesktop.org, Iaroslav Boliukin Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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 -- Best regards, Dmitry