]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amd/display: fix crash with modesetting driver
authorHarry Wentland <harry.wentland@amd.com>
Fri, 3 Feb 2017 16:45:43 +0000 (11:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:13:47 +0000 (17:13 -0400)
commitf7f3cfee084b0c68789e2b4231b0d3de3466a52b
tree878f2497653bfcd20bdb2b56ad8bd46160c70613
parent94cd1f79b05994b712a2cf0563ac73be0323978b
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.c