Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1062512ybl; Wed, 14 Aug 2019 10:06:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx4imw9XzTQNvheQMWyipuO0fUQeAjmwKtZaCFRlh3ujlxXzy8LQGyJYkcG/1H5hLujeLve X-Received: by 2002:a17:902:3003:: with SMTP id u3mr436874plb.8.1565802400677; Wed, 14 Aug 2019 10:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565802400; cv=none; d=google.com; s=arc-20160816; b=vdZN4QroKf36OdtOP0T+a3fFVvhnoG/zaxGBenL/ZTI0oqJiRjptQj5k2HfJwQFNYx FhMn8K9G5XmQvzgkzLok50RIMmRiC+W/quTY+Im0dqIM5pck0PolOqPyBZFNz3r9V/4E X+LOwfpQbOy9qpwDVcT20GTK19+2o4HVYGQxQuZoZ/qBE4h0At9a3TI5N82tW7RYOTyh VgyUhstGPrnfGXB4GvZkg4c6Ds8xfqwIPterQGGdQqOu55ZOo5u0Q8nedm20XCRGCYYI Wu5ua/0vM5Vqp4XprkK9d9R2VUDB8RTXIPRrcDwWsUJ6xH97LOuW/txXyWLMBXcTLA8L VKjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2wPzz21680g8GvwN7fJF0mbVcCkRWPFQn70H6XI6P0Y=; b=M0PcaJVzeGYYVL4Hmal0FUlpOISZZvZ4GLl9SGYBXhVOEUMNoeKmF4F66jZlA9L3gR xU214lBHQ3l03vnVUhh5pbMNQTQ2xQyucy0btgtwlFF7WDhsevINGBO1596sVLMizmEB WmNRiEKqbkPi9JJj/jF9GEE4WRk9nr11HpcOM1jdBFQTRQDHtqAovqydUqOIz8+Kujg0 gLEHw/gc5Ld0pf75b+w4d3KCrECTYe1A2J4IvKw5qFEwQZubr7dJrZhE1Jo4FvAW24wN xu55gawiheabyqWLo7U/KkROax4YnA33rUFV0U5PVltCoDSYRKNz84yUGOE7LLBZ2jU6 xF2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AYvrwGwJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h11si161070pgr.555.2019.08.14.10.06.24; Wed, 14 Aug 2019 10:06:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AYvrwGwJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729329AbfHNREz (ORCPT + 99 others); Wed, 14 Aug 2019 13:04:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:53780 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728672AbfHNREy (ORCPT ); Wed, 14 Aug 2019 13:04:54 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id EF56B216F4; Wed, 14 Aug 2019 17:04:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565802294; bh=Mx1n58CaDnbSfPiqZmPvIquoDq/LKIQCovOJI5KLmzs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AYvrwGwJUCjBzTnH14pga+Y8w9+Z78anhW8nb0gY+v9SZ6H5plRi8xlYSsOy7NdnN DhGDH7v13BcIscewe1OvknkwNwGqksH3c0SdxuwtSrTroceyM4LJkfR8/FsJlg9wW3 spIohmeFyCQsbWGkAxnypOrRj93qkNv5Y7zzGfiY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Derek Lai , Aric Cyr , Leo Li , Alex Deucher , Sasha Levin Subject: [PATCH 5.2 070/144] drm/amd/display: allocate 4 ddc engines for RV2 Date: Wed, 14 Aug 2019 19:00:26 +0200 Message-Id: <20190814165802.782267695@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814165759.466811854@linuxfoundation.org> References: <20190814165759.466811854@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 67fd6c0d2de8e51e84ff3fa6e68bbd524f823e49 ] [Why] Driver will create 0, 1, and 2 ddc engines for RV2, but some platforms used 0, 1, and 3. [How] Still allocate 4 ddc engines for RV2. Signed-off-by: Derek Lai Reviewed-by: Aric Cyr Acked-by: Leo Li Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c index 7eccb54c421d9..aac52eed6b2aa 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c @@ -512,7 +512,7 @@ static const struct resource_caps rv2_res_cap = { .num_audio = 3, .num_stream_encoder = 3, .num_pll = 3, - .num_ddc = 3, + .num_ddc = 4, }; #endif -- 2.20.1