summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhan Liu <zhan.liu@amd.com>2019-10-22 10:53:38 -0400
committerZhan Liu <Zhan.Liu@amd.com>2019-10-22 10:55:12 -0400
commite9b37fdc9fff9e390f7a914b6cd6a6962256050c (patch)
treec266e0b52b6de8b3ba099f05a6c16c0b883e923c
parent6a3877169a8b5e46c85df671685a5f6659bcfa6e (diff)
drm/amd/display: Change Navi14's DWB flag to 1
[Why] DWB (Display Writeback) flag needs to be enabled as 1, or system will throw out a few warnings when creating dcn20 resource pool. Also, Navi14's dwb setting needs to match Navi10's, which has already been set to 1. [How] Change value of num_dwb from 0 to 1. Signed-off-by: Zhan Liu <zhan.liu@amd.com> Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
index e3fc8b44d908..01eb2fa0fef9 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
@@ -810,7 +810,7 @@ static const struct resource_caps res_cap_nv14 = {
.num_audio = 6,
.num_stream_encoder = 5,
.num_pll = 5,
- .num_dwb = 0,
+ .num_dwb = 1,
.num_ddc = 5,
};