]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd: Init modifier field of helper fb.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 16 May 2018 00:40:23 +0000 (02:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Oct 2020 18:27:22 +0000 (14:27 -0400)
commit95cae4fd470a5a43cc6858a974fac0d26c6c60e8
tree761e116d197f6f07803e5b7cdae132b1eb6f95a4
parenta0e6a04acfb635f2362b2867d943ecfa871bdf6d
drm/amd: Init modifier field of helper fb.

Otherwise the field ends up being used uninitialized when
enabling modifiers, failing validation with high likelyhood.

v4: Use memset

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
(for v1)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c