Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3519270pxf; Mon, 15 Mar 2021 11:21:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTC5q3hMtFn3PERRrv0Y0Xl5wDEQIGhXK4ytOeSqqbHd4FNWKJB1r0vX1mvzlWCis67F4h X-Received: by 2002:a17:906:f10c:: with SMTP id gv12mr25256172ejb.53.1615832469537; Mon, 15 Mar 2021 11:21:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832469; cv=none; d=google.com; s=arc-20160816; b=0Gn+6xC7VeAp+mcAVonS5GujIxaZL/4TyXt8xEUl3ERHde4B/tesc9AMSluf5Tj7IR tJrtbtgikTzNVSTSTO04Y4305Y44p027WOydIAo36n1gZ2D1AtQvw2EBu3eOXiprO0kX QkZbf9sfnNHEmI1O8p2KE54BZAb61zJy3/HTgK1MGk4DyYNOIpzIXj7XltXmJkYKuJRm EnkOq07yE/KefWl9zDs8GvDP2p101bBEK3YYnt+Rbgv/LxuAl6pH0MJZHtYCc5mGUFIa QeOx4L1ZuTD2RW3Ci+c8xMnQtGvZe3BzocCSQ3OujRDl6PAs9FGBmorpA2gFJ2kM9Ydl qSRQ== 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=M1ElKKGhupQ3lsG4Mn+ev4LpjyOz//CZjH4VgCmJTFA=; b=PpemDrnZdvRH71+3p3nneCgtNW4F7a1/tlPFBCdRXRiaWoiR5H7+RLU0XgtdsOJdn5 K1PBBgJ9rjkMAtDlu7CJ1jdXgE+ac+kNAKILXvu7tVUYMoOt7+LDAWMc6cpC9gZrSgvk nRebk0wqZM8ImvgD/7D8RyMbQyfo0Ro8zz2saxH6gpaB4B8aZ1TBj422Zo7kKZ4pwY5c 6YjlU8laoWfNztyV/s1GV8VORYbqf7hdt0HmzAOVtUHUZqfR2YOoqIrNLLVAWM9S6Ot3 xWVDLlLtf6fKlQo4docZ2LUQxcgk3mwCdVDf3dAigJ86LTsDlxbto0cCTvplNno6sOOd ci3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=t4qWwAKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v25si11124184edx.598.2021.03.15.11.20.47; Mon, 15 Mar 2021 11:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=t4qWwAKX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S237684AbhCOOTb (ORCPT + 99 others); Mon, 15 Mar 2021 10:19:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:36764 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232704AbhCON7e (ORCPT ); Mon, 15 Mar 2021 09:59:34 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A4C9264F2E; Mon, 15 Mar 2021 13:59:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816751; bh=AznuqpOkkSuA+4G6CX9T30XzHXgyKop5MLAUA3jqGwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=t4qWwAKXsnK2ekJLiE18wexkusZ5Ygtx6gOyARkraYilwjSrhAQWfYDcB0Z4iSnY1 x39BvTw8nQizBkyVEZMz2awuV2YlfOdCX7QO5KV7uoQQ2wvE2f7+Rdqn5p/TwG9BPM 5fYToRnZSLZGdu1iPHQ/RU2pYKZ/GS2eXLlzq5+s= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nicholas Kazlauskas , Alex Deucher Subject: [PATCH 5.11 103/306] drm/amdgpu/display: dont assert in set backlight function Date: Mon, 15 Mar 2021 14:52:46 +0100 Message-Id: <20210315135511.122637199@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135507.611436477@linuxfoundation.org> References: <20210315135507.611436477@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Greg Kroah-Hartman From: Alex Deucher commit dfd8b7fbd985ec1cf76fe10f2875a50b10833740 upstream. It just spams the logs. Reviewed-by: Nicholas Kazlauskas Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -2571,7 +2571,6 @@ bool dc_link_set_backlight_level(const s if (pipe_ctx->plane_state == NULL) frame_ramp = 0; } else { - ASSERT(false); return false; }