drm-next amdgpu warning

Dave Airlie airlied at gmail.com
Sun Aug 16 22:58:10 PDT 2015


Hey Alex,

this seems valid,

/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:
In function ‘amdgpu_uvd_cs_pass2’:
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:491:17:
warning: ‘min_ctx_size’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
  buf_sizes[0x4] = min_ctx_size;
                 ^
/home/airlied/devel/kernel/drm-next/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c:377:58:
note: ‘min_ctx_size’ was declared here
  unsigned image_size, tmp, min_dpb_size, num_dpb_buffer, min_ctx_size;
                                                          ^
Dave.


More information about the dri-devel mailing list