[PATCH] drm/amdgpu: Remove immutable flag from freesync_capable property

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>

On 10/25/2017 11:31 AM, Harry Wentland wrote:
> 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 <harry.wentland at amd.com>
> ---
>   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 6744e0cd1373..d704a45c866b 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
> @@ -638,7 +638,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;



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux