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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75F04C4332F for ; Fri, 25 Nov 2022 10:55:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230288AbiKYKzJ (ORCPT ); Fri, 25 Nov 2022 05:55:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbiKYKzH (ORCPT ); Fri, 25 Nov 2022 05:55:07 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CBA849B41 for ; Fri, 25 Nov 2022 02:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669373647; 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=9tvd04/iu26771wlB7WciR/DkQpotQap05SOjl7Y+To=; b=IFO8O5CCbjGtmhQgqNuDDRkyEspYsmnx8s5Gmb51qDl3pWMB9sXL7HVH3/zISByJXCkQ7I VV4NAtp9Kl9LBBJ5eUseklz1viXCoob8rU7b4WgBD0uMAj6os50VUflohTaelRBmmLKPfM WGXaRm1I6yMKSmmD9YpiXxfK7Q3GgEY= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-489-mUMdJFWTOFazSMdUWRo_Iw-1; Fri, 25 Nov 2022 05:54:06 -0500 X-MC-Unique: mUMdJFWTOFazSMdUWRo_Iw-1 Received: by mail-wm1-f72.google.com with SMTP id bi19-20020a05600c3d9300b003cf9d6c4016so4015200wmb.8 for ; Fri, 25 Nov 2022 02:54:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9tvd04/iu26771wlB7WciR/DkQpotQap05SOjl7Y+To=; b=D8usHqMkbTRLFuOLP29kWs6OW2sKcQb7YkUf8iBj7cCWcm9wvgFsDpTwpIztcqdX3/ qQA5TMHinM195tDXkoFNsCEsK8tiuJyd4c7M7NVAihTdzfJuxFe7U3zXNcHyMo/KxRYZ MZnYNtNgCC/GBHBG21GJvtwU3G2rPOcqmbvANiqwFbQ+2Uz/KljFDNwjH2Fx49Bmgl4k rODv9tA+iIXGvJUSvT9IUhZ8vFuCL69daCfGxu4mQ7SAjxZRvfhBNsJ8F5Eclppmwunb IijkkWK8Xm+D03SCtTAlrXLT/njBA4VxMFfGpkOujP6BF0pDzpl+zmcE/7ZuDAHeV99K 8Tfw== X-Gm-Message-State: ANoB5pnMUuIkBW/u0TEL0vaKvkgs3YQqLPilcs5sDo4XJfQmko3WnYzY Nbrw31MKuINoTxmLSv6bkPg9MGe8Gs+0ZvRnE2+3vhKJUamecAiFTzW5uxHvcq1CK1WteAPdeRo xjku6eX6IA+oZSjxaRlZVTTEH X-Received: by 2002:adf:e94c:0:b0:236:6d79:b312 with SMTP id m12-20020adfe94c000000b002366d79b312mr22866552wrn.699.1669373645074; Fri, 25 Nov 2022 02:54:05 -0800 (PST) X-Google-Smtp-Source: AA0mqf4MhXPJaPoTEfI4yng3ZY2kweBGK0CbbycrpZOheo/dL+NoYUdJpT+aQbCzIEhJ5+Sz9WdagQ== X-Received: by 2002:adf:e94c:0:b0:236:6d79:b312 with SMTP id m12-20020adfe94c000000b002366d79b312mr22866536wrn.699.1669373644817; Fri, 25 Nov 2022 02:54:04 -0800 (PST) Received: from [192.168.1.130] (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id l11-20020a1c790b000000b003b4a699ce8esm8527114wme.6.2022.11.25.02.54.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Nov 2022 02:54:04 -0800 (PST) Message-ID: <1b0c23f4-eb5c-38d2-b1ff-541140ac32a0@redhat.com> Date: Fri, 25 Nov 2022 11:54:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH 09/24] drm/atomic: Constify the old/new state accessors Content-Language: en-US To: Maxime Ripard , Maxime Ripard , Maarten Lankhorst , Daniel Vetter , David Airlie , Thomas Zimmermann Cc: David Gow , linaro-mm-sig@lists.linaro.org, Greg Kroah-Hartman , linux-kselftest@vger.kernel.org, =?UTF-8?Q?Ma=c3=adra_Canal?= , linux-media@vger.kernel.org, kunit-dev@googlegroups.com, dri-devel@lists.freedesktop.org, Brendan Higgins , linux-kernel@vger.kernel.org, Dave Stevenson References: <20221123-rpi-kunit-tests-v1-0-051a0bb60a16@cerno.tech> <20221123-rpi-kunit-tests-v1-9-051a0bb60a16@cerno.tech> From: Javier Martinez Canillas In-Reply-To: <20221123-rpi-kunit-tests-v1-9-051a0bb60a16@cerno.tech> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/23/22 16:25, Maxime Ripard wrote: > The drm_atomic_get_(old|new)_*_state don't modify the passed > drm_atomic_state, so we can make it const. > > Signed-off-by: Maxime Ripard > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat