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 7B2CBC433EF for ; Thu, 3 Feb 2022 16:58:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 896FB10E85D; Thu, 3 Feb 2022 16:58:14 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 030E210E85D for ; Thu, 3 Feb 2022 16:58:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1643907492; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yMG66ULeFbTmulpsSW2+07a4ZhUlUCZmCYXG/QHpLFU=; b=EQMeQId2VfdH6Bvna02T/VaHE+dj+uq2dlbDBthgPukc2hjz1vil0f4e/BVNQWzBwetO5B oCiokjtL29Htg0vTHQh+ZoIWs/GYckRTXjcZtHxND4sK3Ejlz0SxjxHTmxi6JdEU4WWUsA sNhpEKFdLvWsRQX240XGZ46hlQyOOlk= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-77-IMno3lZXNx2Bmdo2B_1lmg-1; Thu, 03 Feb 2022 11:58:11 -0500 X-MC-Unique: IMno3lZXNx2Bmdo2B_1lmg-1 Received: by mail-wm1-f71.google.com with SMTP id i204-20020a1c3bd5000000b00352cf8b74dcso1908543wma.0 for ; Thu, 03 Feb 2022 08:58:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=yMG66ULeFbTmulpsSW2+07a4ZhUlUCZmCYXG/QHpLFU=; b=J/lTsnjZHoLppwsvF3QSyKnyn9gFIEn7uU02lZpxiOMvU29XzDY3b3Hsr+f+BAXLiJ dSgrExkznBCjHQo2cT3Iz/EmDhulxSehCsDRcS+gIpBP8nMn11qNB0/aMjtRKbydmVBn MKQM5erRh9pyWXFp2mgWN0upswsQsltP13UI0dkbNVyO255u2fgE0IxxRfDYq5UQ5/pe u/E/tAFzYPyzSHRBnyXneDaErKcgEkicSoIM5EtT8vjzdU/AMiC7nhh98f8rBG7i969R p7KZIyYUoefZmBf9J+WQILcPGxu6F/Nio9i0FQpGfI/lt5DVsDw0UkFM4fvokLYoe41z JdOw== X-Gm-Message-State: AOAM531VhdK5D1tlnY6QlJb3Tgszz1LDWGZUaBzxIHbydpunbFvwphVd w3w8wi51j93CtLK+Vc+UtAjrZiVyj+KeiK4yPM6VYeCo2fJvQFe+4OCwEBIpR1WYq9j+FsXVgRY ZLufk6RyheK6HQ09RjSwJDf7TkTOO X-Received: by 2002:a05:600c:6028:: with SMTP id az40mr11257767wmb.33.1643907490385; Thu, 03 Feb 2022 08:58:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyV4ClqagHcX0/MYq4FBOPGqFCHZnhAKVhrPcxecrGQXyYkXYeNbH3pnnFPObD72iQajM2/vA== X-Received: by 2002:a05:600c:6028:: with SMTP id az40mr11257749wmb.33.1643907490178; Thu, 03 Feb 2022 08:58:10 -0800 (PST) Received: from [192.168.1.102] ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id h18sm3326841wro.9.2022.02.03.08.58.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Feb 2022 08:58:09 -0800 (PST) Message-ID: <5a5d5ad6-a28a-4fd7-0ffa-ea976c97d8e4@redhat.com> Date: Thu, 3 Feb 2022 17:58:08 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 2/8] drm/ast: Move connector mode_valid function to CRTC To: Thomas Zimmermann , airlied@redhat.com, airlied@linux.ie, daniel@ffwll.ch, sam@ravnborg.org, kuohsiang_chou@aspeedtech.com References: <20220111120058.10510-1-tzimmermann@suse.de> <20220111120058.10510-3-tzimmermann@suse.de> From: Javier Martinez Canillas In-Reply-To: <20220111120058.10510-3-tzimmermann@suse.de> Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=javierm@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US 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: jenmin_yuan@aspeedtech.com, tommy_huang@aspeedtech.com, dri-devel@lists.freedesktop.org, arc_sung@aspeedtech.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 1/11/22 13:00, Thomas Zimmermann wrote: > The tests in ast_mode_valid() verify the correct resolution for the > supplied mode. This is a limitation of the CRTC, so move the function > to the CRTC helpers. No functional changes. > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat