Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp694171pxb; Tue, 5 Apr 2022 19:04:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw219ULx4WSF3uZgjA1Exr7MRy3CUc6wYrCqgwKGOAxS06hh+UGDW/9Yoc52GZuusCtZEay X-Received: by 2002:a63:7c19:0:b0:398:a5ca:2cf with SMTP id x25-20020a637c19000000b00398a5ca02cfmr5231250pgc.408.1649210591823; Tue, 05 Apr 2022 19:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649210591; cv=none; d=google.com; s=arc-20160816; b=BLJAAG1bQNiipcJ8UESkwuDmY9quq6iMUAukK4bcpOyGFWvaWe6bgSRckAR5Cja57a EOMjoXYgMjFTnEt1YSanqb6jSzCj7ZsTfreF+NsNkTx5B2enAg95AsYcy+dd+i6/k+qV 9zSyVZTPwq/4F2nw7hUNtZeY40Qm9elMxqN0i7Xcizp01q24Oydcq4Mzuxn/062A9oM2 SbsuFuriYeX2QO8WEIW7GR2pkttKiwqpMM722d5Vh+BMsnK585edfMD85TUBYk5FQLdr 75h7iEQIhJUehXNmuo/KYnIV6W0LlUkpRBPJRvE5ETNr5rHZ/jDBketmMeacaiTYTq5z Labg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=P5Gg/8J5YflTvyWO+4uAoy9Dz6omgwTVECNILKDo8uc=; b=SQO/L6uD3DwahDd8EMBSvvwb91szlBlZIUMS+hRk+UlxinLGygxipNlJZTWOgmbL24 Ujl+29dfczupjJL+HkBoLjl/seeUltX8l7X7f4HcPQtqamgDAqCty32asaqpUeGTOKiI CrfWjBpeLp2gKRHUSh/hjz/l9Ndpv0Hv6A3690AQugKFaM/vFuTW8Hbpm6xv5FksmF1I yvFwDkAvUz0W2wqxRxg79oz+d9vwcbwDhEJFcDLi+mDrmq+M8H2okiAzcGa8emb80dWw XWh+ujR5hf3x2llov8/9tp7Gn/i4XMYC3Ujt5DyIKCmJLjpnUrTakNxvFouppDsiou/C +cHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hGdvHT46; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p15-20020a1709028a8f00b001560318de2csi12924976plo.318.2022.04.05.19.02.53; Tue, 05 Apr 2022 19:03:11 -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=@linuxfoundation.org header.s=korg header.b=hGdvHT46; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356397AbiDELPZ (ORCPT + 99 others); Tue, 5 Apr 2022 07:15:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237106AbiDEIRm (ORCPT ); Tue, 5 Apr 2022 04:17:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91BA2AFB0C; Tue, 5 Apr 2022 01:05:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4B76EB81BBF; Tue, 5 Apr 2022 08:05:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA778C385A7; Tue, 5 Apr 2022 08:05:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649145911; bh=bb88SYtp3zyNlkq/15otdBnpkl/912WXpaRl/MiFuJA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hGdvHT46JLLUxztU26V0IrQ2MZ6Y/LY8MB5IMZexXzNrVUzkDn6og2P9SvVyIaMmV /yRUrtEZukVFogxq53mS1xREkk0QK8lxjKxyC6NK080u+YIMkitOg3gbnIXJ4wCqZN nuziostoou2DjGSXMZy0isCiqJ46GtkDQHHRVZh4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Abhinav Kumar , Bjorn Andersson , Stephen Boyd , Dmitry Baryshkov , Sasha Levin Subject: [PATCH 5.17 0574/1126] drm/msm/dpu: remove msm_dp cached in dpu_encoder_virt Date: Tue, 5 Apr 2022 09:22:01 +0200 Message-Id: <20220405070424.481080231@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Dmitry Baryshkov [ Upstream commit b78f30a5c8a396ca31a905982c8cd955cd35807e ] Stop caching msm_dp instance in dpu_encoder_virt since it's not used now. Fixes: 8a3b4c17f863 ("drm/msm/dp: employ bridge mechanism for display enable and disable") Reviewed-by: Abhinav Kumar Reviewed-by: Bjorn Andersson Reviewed-by: Stephen Boyd Signed-off-by: Dmitry Baryshkov Link: https://lore.kernel.org/r/20220217035358.465904-4-dmitry.baryshkov@linaro.org Signed-off-by: Dmitry Baryshkov Signed-off-by: Sasha Levin --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c index 02d0fae1c6dc..16ae0cccbbb1 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c @@ -168,7 +168,6 @@ enum dpu_enc_rc_states { * @vsync_event_work: worker to handle vsync event for autorefresh * @topology: topology of the display * @idle_timeout: idle timeout duration in milliseconds - * @dp: msm_dp pointer, for DP encoders */ struct dpu_encoder_virt { struct drm_encoder base; @@ -207,8 +206,6 @@ struct dpu_encoder_virt { struct msm_display_topology topology; u32 idle_timeout; - - struct msm_dp *dp; }; #define to_dpu_encoder_virt(x) container_of(x, struct dpu_encoder_virt, base) @@ -2128,8 +2125,6 @@ int dpu_encoder_setup(struct drm_device *dev, struct drm_encoder *enc, timer_setup(&dpu_enc->vsync_event_timer, dpu_encoder_vsync_event_handler, 0); - else if (disp_info->intf_type == DRM_MODE_ENCODER_TMDS) - dpu_enc->dp = priv->dp[disp_info->h_tile_instance[0]]; INIT_DELAYED_WORK(&dpu_enc->delayed_off_work, dpu_encoder_off_work); -- 2.34.1