[PATCH] amdgpu/dm: constify yuv_formats.

Harry Wentland harry.wentland at amd.com
Fri Sep 29 00:45:59 UTC 2017


On 2017-09-28 08:27 PM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index dba54c0..89442cc 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -3073,7 +3073,7 @@ static uint32_t rgb_formats[] = {
>  	DRM_FORMAT_ABGR2101010,
>  };
>  
> -static uint32_t yuv_formats[] = {
> +static const uint32_t yuv_formats[] = {
>  	DRM_FORMAT_NV12,
>  	DRM_FORMAT_NV21,
>  };
> 


More information about the amd-gfx mailing list