Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1288817rwd; Sat, 20 May 2023 17:27:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5BM+d6rQOUVBIVYKHpE/YNmIQfnySapzmJkFzX+n0iPo8/MUjQJ457yiCpzBh41/Hhlv+2 X-Received: by 2002:a05:6a00:124d:b0:646:59e4:9514 with SMTP id u13-20020a056a00124d00b0064659e49514mr9803666pfi.7.1684628873327; Sat, 20 May 2023 17:27:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684628873; cv=none; d=google.com; s=arc-20160816; b=wRGvtLHlUYpPUYY5QQYaREPfQIL9mncmjhJuRZ+S/mdgqvpicNxXz3L8AEwoVM4Pnl uoReNe96r+kRacsksVZWoEMFW1Z2Lh9QehIbdkWBv8Ts73hKV8VBAB5gsjawoaauzBQp 2frjx1uBhM3ttonVOIJV+HnJZoPZtxTB3lzqnk6L1EeBcPNNxUUVYK3+RIn+zvpKkM1b fnd0V5ebjeq2uC6lDJe7UpT7HDC/nAM7ZlWdnTK6RVvBO7uzVofd5ffGGF0Moyu7AUQB ru0py4SP5ihZxovyan97Rqwjpxdx84uGGElaK53f+V2uceTivl5MTC7E3fz0ummP8YrI 5wYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BhHFF+I9itHk7q02MfL6eP2c+lYCwKwlb36uQkoEo9A=; b=J/OcyX2VBB9ItiOLXVltecQiTc1A1v83MiSoiIk4j+FOqlXO3CsTRqXrc4Q0yA/ly2 x4jM2HJenFG2VZv3y0LPE5frUCjzu1SrgHHJOTWQYm5vNnRf5dZLm0XgB8huV6K5nASa GD7nHHZy+g7HuQ+uwKb5PJ4ot6WOInY27bvPs/7L2x0Itr6q6eQ5oXENnqC1PNfEG6ob but9cAtoo8Lx15IKW5tFOiirBKiSUKhkhkduOdgNtrOXrJm0EF7ySfKXDC8Ro5/S9pE9 SObW6dxr8Gul3fzNWa0l1VP7f5TVGe8det3A5MdP2om6cqGllmOr4lB6Kgq81hVdu+UY oQKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V0qSG1kt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m188-20020a6258c5000000b0064a15fc65d5si2320168pfb.83.2023.05.20.17.27.41; Sat, 20 May 2023 17:27:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V0qSG1kt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbjEUABs (ORCPT + 99 others); Sat, 20 May 2023 20:01:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbjEUABo (ORCPT ); Sat, 20 May 2023 20:01:44 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC6D6EA for ; Sat, 20 May 2023 17:01:39 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2af24ee004dso24207341fa.0 for ; Sat, 20 May 2023 17:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684627298; x=1687219298; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BhHFF+I9itHk7q02MfL6eP2c+lYCwKwlb36uQkoEo9A=; b=V0qSG1ktvYe9blNJveMjWucQJZVwefISdU363LoGwpFPPLCa/JY6/4ZtlJ1WhzrGep zzxVpl1XBD4rzvZjuMyKob2BXOnxvYBmYrRZHZkethyBmzmSwRzezd982JBHb7z830OA LWnBAozc/VQNi7DvxiEl0LrI6VEg3Aax7fwbP5quFwR8GasL9xKwY8F0bQvvTyzFUmKf loQhcHnvoaESMwzAZ8/Ttt3ok8a+s0NwufZqxA3SWA+VySDN9I/j0vAdK4pnOZGn9/CC jmpoFyNSG+fIcbvWyB0WFUYxRzlzbTqc8f+CXpJ6RaRLbvf907U6ipWBZ9CnhuvzzQwK JjWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684627298; x=1687219298; 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=BhHFF+I9itHk7q02MfL6eP2c+lYCwKwlb36uQkoEo9A=; b=gEze9w223ynJgdoXzCtOkGDmjC/VLNRrM32mFRsWQ1yLimmG1rxZejcCbx8fnuxWIL FfYazgEpJtDwCiItsK/NARArHrfLm5CU0ARMfqpDHuCX1Ge0V9RJBO/ExD3c9y2xKvN3 qSu2b2lrzf7L02VtcD3HixQNC6r0fgn3PcibRSw6AmB7YweLPY6+AVVflVOObzFfx2Vq LQW8JY4Nb2ZKz/EIg6J2JNHawO4MUTiqWHzQLiSSXZachVpLjEcWjaZ/rAM1eLpEZvlm +ceEnp1B4i1b+L3BqIkz30i2rgBnWB3tFbZOA14FpdanpQ8U21RVkyoNFMVlaEZNSqP5 bagA== X-Gm-Message-State: AC+VfDyefeoyK35iUxKstMLMKN43E8ybtcE6IsQHdapp51N4R0pf0AYC asqdmMGSmNcBlatCj5nCXWAfKA== X-Received: by 2002:a2e:9c0e:0:b0:2af:3f7:53fe with SMTP id s14-20020a2e9c0e000000b002af03f753femr2059520lji.50.1684627298093; Sat, 20 May 2023 17:01:38 -0700 (PDT) Received: from ?IPV6:2001:14ba:a0db:1f00::8a5? (dzdqv0yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a0db:1f00::8a5]) by smtp.gmail.com with ESMTPSA id q7-20020a2e9147000000b002ad9057fd00sm491399ljg.85.2023.05.20.17.01.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 20 May 2023 17:01:37 -0700 (PDT) Message-ID: <115de0ee-f0bb-84e2-9bb7-00e23641bcb7@linaro.org> Date: Sun, 21 May 2023 03:01:36 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v4 9/9] drm/msm: Wire up comm/cmdline override for fdinfo Content-Language: en-GB To: Rob Clark , dri-devel@lists.freedesktop.org Cc: freedreno@lists.freedesktop.org, Daniel Vetter , Tvrtko Ursulin , Boris Brezillon , Christopher Healy , Emil Velikov , =?UTF-8?Q?Christian_K=c3=b6nig?= , Rob Clark , Abhinav Kumar , Sean Paul , David Airlie , Chia-I Wu , Akhil P Oommen , Elliot Berman , Konrad Dybcio , Maximilian Luz , "open list:DRM DRIVER FOR MSM ADRENO GPU" , open list References: <20230515143023.801167-1-robdclark@gmail.com> <20230515143023.801167-10-robdclark@gmail.com> From: Dmitry Baryshkov In-Reply-To: <20230515143023.801167-10-robdclark@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/05/2023 17:30, Rob Clark wrote: > From: Rob Clark > > Also store the override strings in drm_file so that fdinfo can display > them. We still need to keep our original copy as we could need these > override strings after the device file has been closed and drm_file > freed. > > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/adreno/adreno_gpu.c | 24 +++++++++++++++++++++++- > drivers/gpu/drm/msm/msm_drv.c | 2 ++ > drivers/gpu/drm/msm/msm_gpu.h | 10 ++++++++++ > 3 files changed, 35 insertions(+), 1 deletion(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry