mirror of https://gitee.com/openkylin/linux.git
amdgpu/dm: constify yuv_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>
This commit is contained in:
parent
b8a1d69ccb
commit
99d1abf8f4
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue