Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp499272pxm; Fri, 25 Feb 2022 12:18:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxofM7WezJbrm3VFavxHS6hKQwV+O9wuo7rLs3UTNh+1+WML5KC8aDgdgbDlDs/u1B3mNvB X-Received: by 2002:a17:902:c204:b0:150:15ec:7e83 with SMTP id 4-20020a170902c20400b0015015ec7e83mr8401147pll.3.1645820324397; Fri, 25 Feb 2022 12:18:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645820324; cv=none; d=google.com; s=arc-20160816; b=v19wvOsPFaL3LP0xwe/iz/MbCkXv+vkuYfmA2g+CyrqXkBv5LdgAkb0lLeJU9g3VZm OU+eFMt0Hcv7Jtq+8vTVSrXA5gcayokBQx7AZJXGHospu/ywKUCZHkWkhfYFry00VYPe +O0eeYORQG68W+7DveFWSlj1n0ItLui0gvW5lrz3wLwkeNgqHwv3wDWIrzzG+6sGFVIO A0lEKqPxEuipu7+eJZOpT+GdEWHFqsuLlge7y9nOkYp6sM8r0JhSro64ap7g4KfJK0Kg ZEbFmO6PwutF2muBKrqRFHdaB1WiFGBT56A+D3nstKnn1pEpHXz9IyxnCMHOS2xYIWMz T5qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dmarc-filter:sender:dkim-signature; bh=c2Xi93cy2SQNR4ZjXqL8IZKsAu6PtSxKErxFZHf0Pes=; b=T2Ybm2H3PbOr9lx+CEp5ZPYgSXDm2IEiHHzUL9jAc6z2l/Ym4z/y8l3bdJdQp0xxel 6cVV+Rh8huuk9BcKRXidPlqKtevAwMxUAcATIguCi02zSc8fmzMWRRnxSN/ts/BgImZx rl5UbCXP8H9B7NtEWtS1J8lCyIBSdjgl4F9SJwjod3LKSwj2uUpJhBVS4lClAZeisJ67 25EFah02MUw61+ZSEZx2Ho2K4niQRS+lCOXnDcORlKy65NHuWzfTb613kJVSpOHOPLJ5 6g5Hpa4obMow6tKcdEbflAmdYaYTz1RoNMEjFWWkCq4ilJLXSryHuC9aFOvPBgcMbon3 A7PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Bn7j6AHV; 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=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bg22-20020a17090b0d9600b001bc22d9a57asi2773301pjb.14.2022.02.25.12.18.28; Fri, 25 Feb 2022 12:18:44 -0800 (PST) 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=@mg.codeaurora.org header.s=smtp header.b=Bn7j6AHV; 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=fail (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233349AbiBYTW3 (ORCPT + 99 others); Fri, 25 Feb 2022 14:22:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231551AbiBYTW1 (ORCPT ); Fri, 25 Feb 2022 14:22:27 -0500 Received: from m43-7.mailgun.net (m43-7.mailgun.net [69.72.43.7]) by lindbergh.monkeyblade.net (Postfix) with UTF8SMTPS id 2A4DF19D626 for ; Fri, 25 Feb 2022 11:21:54 -0800 (PST) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1645816915; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=c2Xi93cy2SQNR4ZjXqL8IZKsAu6PtSxKErxFZHf0Pes=; b=Bn7j6AHVMNAiIQQWG4glS4tf0WWj5ZU19hmnHuxqHXKm3uFfGI4PQt6eFBwKcnMo4c96YYr7 JNqMTxN24IGxdY+6DgDJR9W544l42FDzmfP9mEIqxzWvZGR9CEB46q4sgLrYoLfcIeL/K3nd 91yZobnT8htk1ugwfS7/l+jhDXw= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 62192c5033c4b4b7593d57b4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 25 Feb 2022 19:21:52 GMT Sender: quic_akhilpo=quicinc.com@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id ED345C4360C; Fri, 25 Feb 2022 19:21:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Received: from hyd-lnxbld559.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akhilpo) by smtp.codeaurora.org (Postfix) with ESMTPSA id DB73CC4361B; Fri, 25 Feb 2022 19:21:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org DB73CC4361B Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=fail (p=none dis=none) header.from=quicinc.com Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=quicinc.com From: Akhil P Oommen To: freedreno , dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Rob Clark , OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS , Dmitry Baryshkov , Bjorn Andersson Cc: Abhinav Kumar , Daniel Vetter , David Airlie , Sean Paul , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/5] drm/msm: Use generic name for gpu resources Date: Sat, 26 Feb 2022 00:51:28 +0530 Message-Id: <20220226005021.v2.1.Id3d2e7391192c86d0783aeb307d3f9fb61f9efee@changeid> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1645816893-22815-1-git-send-email-quic_akhilpo@quicinc.com> References: <1645816893-22815-1-git-send-email-quic_akhilpo@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use generic name for resources like irq and kthread instead of hardware specific name to make it easier to grep. Signed-off-by: Akhil P Oommen --- (no changes since v1) drivers/gpu/drm/msm/msm_gpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_gpu.c b/drivers/gpu/drm/msm/msm_gpu.c index 2c1049c..04ca37f 100644 --- a/drivers/gpu/drm/msm/msm_gpu.c +++ b/drivers/gpu/drm/msm/msm_gpu.c @@ -838,7 +838,7 @@ int msm_gpu_init(struct drm_device *drm, struct platform_device *pdev, gpu->funcs = funcs; gpu->name = name; - gpu->worker = kthread_create_worker(0, "%s-worker", gpu->name); + gpu->worker = kthread_create_worker(0, "gpu-worker"); if (IS_ERR(gpu->worker)) { ret = PTR_ERR(gpu->worker); gpu->worker = NULL; @@ -876,7 +876,7 @@ int msm_gpu_init(struct drm_device *drm, struct platform_device *pdev, } ret = devm_request_irq(&pdev->dev, gpu->irq, irq_handler, - IRQF_TRIGGER_HIGH, gpu->name, gpu); + IRQF_TRIGGER_HIGH, "gpu-irq", gpu); if (ret) { DRM_DEV_ERROR(drm->dev, "failed to request IRQ%u: %d\n", gpu->irq, ret); goto fail; -- 2.7.4