1
0
Fork 0

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>
hifive-unleashed-5.1
Dave Airlie 2017-09-29 10:32:24 +10:00 committed by Alex Deucher
parent e04a6123a4
commit d90371b0f5
1 changed files with 1 additions and 1 deletions

View File

@ -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,