drm/amd/display: get_atomic_property missing for drm_connector_funcs
authorPratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Thu, 6 Apr 2017 07:48:20 +0000 (13:18 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:22:51 +0000 (17:22 -0400)
commit32a1892a86a8f40c6f24807a9a0da31a322e4874
tree01b98f2710b13166d52c752ba535f8a6d01fdd24
parent664a2ed115f62422475a783e6db453483a316a80
drm/amd/display: get_atomic_property missing for drm_connector_funcs

DRM_IOCTL_MODE_GETCONNECTOR fails with EINVAL on enabling DRIVER_ATOMIC
With this DRM_IOCTL_MODE_GETCONNECTOR returns all the connector properties.
freesync_property and freesync_capable_property return 0 currently.

TESTS(On Chromium OS on Stoney Only)
* Builds without compilation errors.
* 'atomictest' proceeds after applying patch and fails with vblank event
timed out.
* Chromium OS ui comes up.

Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Reviewed-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
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_types.h