diff options
author | Dave Airlie <airlied@redhat.com> | 2017-09-29 10:32:24 +1000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-29 13:01:09 -0400 |
commit | d90371b0f5f3258a808d12a17a942e4d16f8252c (patch) | |
tree | 60746282a19acf6cf9a22dfebb6da1d281bfb241 /drivers/gpu/drm | |
parent | e04a6123a45abf6836f547e679a8f9aca37ceeb6 (diff) | |
download | linux-stable-d90371b0f5f3258a808d12a17a942e4d16f8252c.tar.gz linux-stable-d90371b0f5f3258a808d12a17a942e4d16f8252c.tar.bz2 linux-stable-d90371b0f5f3258a808d12a17a942e4d16f8252c.zip |
amdgpu/dm: constify rgb formats.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ef938521fec8..61ccddd19718 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, |