X-Received: by 2002:a17:90a:8a14:b0:1bc:1d5e:d852 with SMTP id w20-20020a17090a8a1400b001bc1d5ed852mr978789pjn.76.1645481314382; Mon, 21 Feb 2022 14:08:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645481314; cv=none; d=google.com; s=arc-20160816; b=W3r77tRpEhezLY56gs6xkZplgcglW4bQihwLeHcWNkwqMV9bTWKyQ6vrICNu7OkPgz cF6rBY0P5cSRkysqYCGY1T2kmdJUTrKPXFF1L8MRWgK44x8adSaFEO72ZUKmHvwgwmOe LVmyJrIPQT+p3v5PTLi/zz3Ht6xjc8xtev8qQNiOFR0rANdKS1T9M26AM7CDeD0WCnIH K/ZWV4Xce29ELq1wHz7G+Y7AzvLAUymStnLa26Re/HPp35vGtx1SnS/EVqsFd/b/bD+f m5uOA71b92ANyfLPXAtEbLaUdEEbHTC00Rf8OEPf6LvfQ3JnS7murQH3s99UOx6G9KX8 YL0w== 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=LP4YKbZ56ySo7RzBJHPXewfRLeUAvDaEzOSTPxmlgxQ=; b=upBHb5dSoyEXvC1XUlPqEKHphoODvWy1kgY8aRau7z7fJW4mWQlOOCVj9v9JBVdn0R n0IshHAeZQBSm5Byfc3XcYtvtKYrzlNfuzt1GktCtdNrPrTjgon4ln5f3ZHRgrwhuAP+ 5PUgdCI2Oi4ExX0awE9U0qMw2nnsXZT73jH1tvuj2gzHuV7v1IcZLLAGirDgYR4FigQy zTchaFMN6tFdsiPBCBgjaZoqQ9oVducvxHg97ocwhalf5t76x5VxpQpw08R4LtSXZkTH DnVun2IIC6cAeb3r7LwqFRWsEAfD38sf38CSxwBewa9YdfAvn8ecQwD4/UeAjs6YWyIg JNgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=QAnlw9X4; 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 j17si9022799pfj.322.2022.02.21.14.08.10; Mon, 21 Feb 2022 14:08:34 -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=QAnlw9X4; 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 S1378117AbiBUOlu (ORCPT + 99 others); Mon, 21 Feb 2022 09:41:50 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378116AbiBUOlt (ORCPT ); Mon, 21 Feb 2022 09:41:49 -0500 Received: from m43-7.mailgun.net (m43-7.mailgun.net [69.72.43.7]) by lindbergh.monkeyblade.net (Postfix) with UTF8SMTPS id 4E703205D2 for ; Mon, 21 Feb 2022 06:41:24 -0800 (PST) DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1645454486; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=LP4YKbZ56ySo7RzBJHPXewfRLeUAvDaEzOSTPxmlgxQ=; b=QAnlw9X4h8lqD2Ndpod+1pG3drgZiAbwOedx0DEd7OCvdy0PNYQsJLy/rv+MzdH9w6BFcxGO QYLA1nZuyWm1YxY3xeWHE0o9RNUU72Flq1RZJHJ8d9VcACuiz1uWt32x4u15BJOsOtPsIFs5 5qiRe5+iWPeC6aphjYZhFhxHz+o= 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-n02.prod.us-west-2.postgun.com with SMTP id 6213a48fb360e81798d0e83c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 21 Feb 2022 14:41:19 GMT Sender: quic_akhilpo=quicinc.com@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 4425CC4338F; Mon, 21 Feb 2022 14:41:19 +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 25C3EC4361B; Mon, 21 Feb 2022 14:41:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org 25C3EC4361B 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 1/5] drm/msm: Use generic name for gpu resources Date: Mon, 21 Feb 2022 20:10:58 +0530 Message-Id: <20220221201039.1.Id3d2e7391192c86d0783aeb307d3f9fb61f9efee@changeid> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1645454462-27867-1-git-send-email-quic_akhilpo@quicinc.com> References: <1645454462-27867-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 --- 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