Re: [PATCH weston] compositor-drm: Stop sending uninit data to the kernel

2016-08-15 Thread Quentin Glidic
On 09/07/2016 05:40, Yong Bakos wrote: On Jul 8, 2016, at 10:50 AM, Derek Foreman wrote: Valgrind noticed that we send uninit data to drmModeAddFB2. While the kernel should never read this (because of the plane format), it's probably still nicer to zero the data before we send it. Signed-off

Re: [PATCH weston] compositor-drm: Stop sending uninit data to the kernel

2016-07-08 Thread Yong Bakos
On Jul 8, 2016, at 10:50 AM, Derek Foreman wrote: > > Valgrind noticed that we send uninit data to drmModeAddFB2. While > the kernel should never read this (because of the plane format), > it's probably still nicer to zero the data before we send it. > > Signed-off-by: Derek Foreman Reviewed-

[PATCH weston] compositor-drm: Stop sending uninit data to the kernel

2016-07-08 Thread Derek Foreman
Valgrind noticed that we send uninit data to drmModeAddFB2. While the kernel should never read this (because of the plane format), it's probably still nicer to zero the data before we send it. Signed-off-by: Derek Foreman --- libweston/compositor-drm.c | 2 +- 1 file changed, 1 insertion(+), 1