diff options
author | Dmytro Laktyushkin | 2017-05-02 23:29:48 +0200 |
---|---|---|
committer | Alex Deucher | 2017-09-27 00:07:01 +0200 |
commit | 9037d802a97812cb8d614b48f817a5532cf1558c (patch) | |
tree | f3cfa77ff65c30a08def6759aeb7f28e70d76587 /drivers/gpu/drm/amd/display/dc/dce80 | |
parent | drm/amd/display: prevent assert on error of 1 in calc_freesync_range (diff) | |
download | kernel-qcow2-linux-9037d802a97812cb8d614b48f817a5532cf1558c.tar.gz kernel-qcow2-linux-9037d802a97812cb8d614b48f817a5532cf1558c.tar.xz kernel-qcow2-linux-9037d802a97812cb8d614b48f817a5532cf1558c.zip |
drm/amd/display: refactor bw related variable structure in val_ctx
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce80')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c b/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c index 0aa128e5ed84..5735914a8737 100644 --- a/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c @@ -781,8 +781,8 @@ bool dce80_validate_bandwidth( struct validate_context *context) { /* TODO implement when needed but for now hardcode max value*/ - context->dispclk_khz = 681000; - context->bw_results.required_yclk = 250000 * MEMORY_TYPE_MULTIPLIER; + context->bw.dce.dispclk_khz = 681000; + context->bw.dce.yclk_khz = 250000 * MEMORY_TYPE_MULTIPLIER; return true; } |