diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-07-09 14:18:44 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-07-09 14:18:44 -0700 |
commit | 7a0fc4dcb27a18a7315251c374d696fdd1dd66ba (patch) | |
tree | c7e287f322fee19ddb09a59f448b80fcfee0e73a /0004-drm-amd-display-Only-revalidate-bandwidth-on-medium-.patch | |
parent | Updated to 5.7.7 (diff) | |
download | linux-ck-7a0fc4dcb27a18a7315251c374d696fdd1dd66ba.tar.xz |
Updated to 5.7.8
Diffstat (limited to '0004-drm-amd-display-Only-revalidate-bandwidth-on-medium-.patch')
-rw-r--r-- | 0004-drm-amd-display-Only-revalidate-bandwidth-on-medium-.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/0004-drm-amd-display-Only-revalidate-bandwidth-on-medium-.patch b/0004-drm-amd-display-Only-revalidate-bandwidth-on-medium-.patch deleted file mode 100644 index 2cce397..0000000 --- a/0004-drm-amd-display-Only-revalidate-bandwidth-on-medium-.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 7fab9d4206e54d19b578c70cd0529045ad642f25 Mon Sep 17 00:00:00 2001 -From: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> -Date: Mon, 29 Jun 2020 13:03:52 -0400 -Subject: drm/amd/display: Only revalidate bandwidth on medium and fast updates - -[Why] -Changes that are fast don't require updating DLG parameters making -this call unnecessary. Considering this is an expensive call it should -not be done on every flip. - -[How] -Guard the validation to only happen if update type isn't FAST. - -Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> ---- - drivers/gpu/drm/amd/display/dc/core/dc.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c -index 4acaf4be8a81..c825d383f0f1 100644 ---- a/drivers/gpu/drm/amd/display/dc/core/dc.c -+++ b/drivers/gpu/drm/amd/display/dc/core/dc.c -@@ -2533,10 +2533,12 @@ void dc_commit_updates_for_stream(struct dc *dc, - - copy_stream_update_to_stream(dc, context, stream, stream_update); - -- if (!dc->res_pool->funcs->validate_bandwidth(dc, context, false)) { -- DC_ERROR("Mode validation failed for stream update!\n"); -- dc_release_state(context); -- return; -+ if (update_type > UPDATE_TYPE_FAST) { -+ if (!dc->res_pool->funcs->validate_bandwidth(dc, context, false)) { -+ DC_ERROR("Mode validation failed for stream update!\n"); -+ dc_release_state(context); -+ return; -+ } - } - - commit_planes_for_stream( --- -cgit v1.2.3-1-gf6bb5 - |