From patchwork Tue Mar 31 20:57:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lyude Paul X-Patchwork-Id: 11468355 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 29B7E17EA for ; Tue, 31 Mar 2020 20:57:58 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 072A120BED for ; Tue, 31 Mar 2020 20:57:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="B1uS6vRb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 072A120BED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DD8A16E88C; Tue, 31 Mar 2020 20:57:56 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by gabe.freedesktop.org (Postfix) with ESMTPS id E45A96E88D for ; Tue, 31 Mar 2020 20:57:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585688274; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RT7YcYvPXgQSj7BD5jsv2sgp21ReQU5d7+m4XV0mPYY=; b=B1uS6vRb8jIt19lmseS0VLDunPKStFk/jeuPlYbV04/agoi1SRgeRtAKG7lC2w1cZUKgaN amD6+r06Q4lXP+OnuCJNCyuzkYt0CgO6mhMxcLLpC15/IoscAFVQiaMdeKZVbE422+oL5O 75SgXHWRFoHG+yMd6p6NtjOYcHiXih8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-372-wJmpsAMgPYy-FzNIsGhyfA-1; Tue, 31 Mar 2020 16:57:52 -0400 X-MC-Unique: wJmpsAMgPYy-FzNIsGhyfA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 288B010CE78F; Tue, 31 Mar 2020 20:57:50 +0000 (UTC) Received: from Ruby.redhat.com (ovpn-113-88.rdu2.redhat.com [10.10.113.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 247B097B19; Tue, 31 Mar 2020 20:57:48 +0000 (UTC) From: Lyude Paul To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 1/4] drm/amd/amdgpu_dm/mst: Remove unneeded edid assignment when destroying connectors Date: Tue, 31 Mar 2020 16:57:34 -0400 Message-Id: <20200331205740.135525-2-lyude@redhat.com> In-Reply-To: <20200331205740.135525-1-lyude@redhat.com> References: <20200331205740.135525-1-lyude@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Li , Pankaj Bharadiya , David Francis , Rodrigo Siqueira , linux-kernel@vger.kernel.org, Wenjing Liu , David Airlie , Alex Deucher , Mikita Lipski , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Doesn't do anything, noticed this while cleaning up some unrelated stuff. Signed-off-by: Lyude Paul --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c index e8208df420d9..7b3303efb1ff 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c @@ -140,7 +140,6 @@ dm_dp_mst_connector_destroy(struct drm_connector *connector) struct amdgpu_encoder *amdgpu_encoder = amdgpu_dm_connector->mst_encoder; kfree(amdgpu_dm_connector->edid); - amdgpu_dm_connector->edid = NULL; drm_encoder_cleanup(&amdgpu_encoder->base); kfree(amdgpu_encoder);