From 4395b41cdc74e80d134331372d27e53481d3c809 Mon Sep 17 00:00:00 2001 From: Harry Wentland Date: Fri, 20 Oct 2017 16:45:53 -0400 Subject: [PATCH 3146/4131] drm/amdgpu: Remove immutable flag from freesync_capable property Atomic drivers should not use legacy properties but atomic properties don't support the immutable flag. Remove the immutable flag for now. This will be followed by a bunch of DC patches to start treating freesync_capable as an atomic property on a connector_state. Eventually we'll want to remove the these properties and replace them with new atomic adaptive sync properties that we define in DRM. Signed-off-by: Harry Wentland Reviewed-by: Andrey Grodzovsky Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c index b13839d..9502dd9 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c @@ -659,7 +659,7 @@ int amdgpu_modeset_create_props(struct amdgpu_device *adev) return -ENOMEM; adev->mode_info.freesync_capable_property = drm_property_create_bool(adev->ddev, - DRM_MODE_PROP_IMMUTABLE, + 0, "freesync_capable"); if (!adev->mode_info.freesync_capable_property) return -ENOMEM; -- 2.7.4