diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-02-03 11:45:43 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:13:47 -0400 |
commit | f7f3cfee084b0c68789e2b4231b0d3de3466a52b (patch) | |
tree | 878f2497653bfcd20bdb2b56ad8bd46160c70613 /drivers/gpu/drm/amd/display/dc/inc/custom_float.h | |
parent | 94cd1f79b05994b712a2cf0563ac73be0323978b (diff) |
drm/amd/display: fix crash with modesetting driver
They might call commit with ACTION_NOTHING without a mode.
We shouldn't crash but simply skip updating stream scaling
settings since scaling obviously didn't change without a
provided mode.
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <Andrey.Grodzovsky@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/inc/custom_float.h')
0 files changed, 0 insertions, 0 deletions