[PATCH 2/2] amdgpu/dm: constify rgb formats.
Harry Wentland
harry.wentland at amd.com
Fri Sep 29 00:48:45 UTC 2017
On 2017-09-28 08:32 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 ef93852..61ccddd 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -3062,7 +3062,7 @@ static const struct drm_plane_helper_funcs dm_plane_helper_funcs = {
> * plane capabilities, or initialize this array to all formats, so internal drm
> * check will succeed, and let DC to implement proper check
> */
> -static uint32_t rgb_formats[] = {
> +static const uint32_t rgb_formats[] = {
> DRM_FORMAT_RGB888,
> DRM_FORMAT_XRGB8888,
> DRM_FORMAT_ARGB8888,
>
More information about the amd-gfx
mailing list