]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Don't access legacy properties
authorHarry Wentland <harry.wentland@amd.com>
Tue, 17 Oct 2017 16:02:01 +0000 (12:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 Apr 2018 18:08:02 +0000 (13:08 -0500)
commit173525209a7e7f631d46d2cdda219da35ac67822
tree947083ba58e0dcc731628a7460626ce9545f040c
parent1fa1b6bc05e118ff273982f1ffe717ca3f2edf2a
drm/amd/display: Don't access legacy properties

We're an atomic driver and shouldn't access legacy properties. Doing so
will only scare users with stack traces.

Instead save the prop in the state and access it directly. Much simpler.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h