summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce100
diff options
context:
space:
mode:
authorJoshua Aberback <joshua.aberback@amd.com>2019-04-01 22:18:29 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-04-15 08:22:11 +0300
commitafcd526b1ba9dbc5707f9bd8d2d032ae62e337dc (patch)
treefed373baa9e3bb1521d2a22d1621b4dd4c7eaeab /drivers/gpu/drm/amd/display/dc/dce100
parentc14a005c1621c3b995ac9df8bf93bb4de8a3e446 (diff)
downloadlinux-afcd526b1ba9dbc5707f9bd8d2d032ae62e337dc.tar.xz
drm/amd/display: Add fast_validate parameter
Add a fast_validate parameter in dc_validate_global_state for future use Signed-off-by: Joshua Aberback <joshua.aberback@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce100')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
index f38ea29b3377..e938bf9986d3 100644
--- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
@@ -778,7 +778,8 @@ static enum dc_status build_mapped_resource(
bool dce100_validate_bandwidth(
struct dc *dc,
- struct dc_state *context)
+ struct dc_state *context,
+ bool fast_validate)
{
int i;
bool at_least_one_pipe = false;