Re: [Intel-gfx] [PATCH] drm/i915: Free write_buf that we allocated with kzalloc.

2018-08-23 Thread Rodrigo Vivi
On Thu, Aug 23, 2018 at 11:25:42PM +0100, Chris Wilson wrote: > Quoting Rodrigo Vivi (2018-08-23 21:51:36) > > We use kzalloc to allocate the write_buf that we use for > > i2c transfer on hdcp write. But it seems that we are forgetting > > to free the memory that is not needed after i2c transfer is

Re: [Intel-gfx] [PATCH] drm/i915: Free write_buf that we allocated with kzalloc.

2018-08-23 Thread Chris Wilson
Quoting Rodrigo Vivi (2018-08-23 21:51:36) > We use kzalloc to allocate the write_buf that we use for > i2c transfer on hdcp write. But it seems that we are forgetting > to free the memory that is not needed after i2c transfer is > completed. > > Reported-by: Brian J Wood > Fixes: 2320175feb74 ("

[Intel-gfx] [PATCH] drm/i915: Free write_buf that we allocated with kzalloc.

2018-08-23 Thread Rodrigo Vivi
We use kzalloc to allocate the write_buf that we use for i2c transfer on hdcp write. But it seems that we are forgetting to free the memory that is not needed after i2c transfer is completed. Reported-by: Brian J Wood Fixes: 2320175feb74 ("drm/i915: Implement HDCP for HDMI") Cc: Ramalingam C Cc: