[Piglit] [PATCH] framework: stop copying dma buffer source padding

Chad Versace chad.versace at linux.intel.com
Fri Oct 11 21:27:06 CEST 2013


On 10/10/2013 01:15 AM, Topi Pohjolainen wrote:
> Fixes a bug spotted by Chad.
>
> The initial support allowed the stride of the source content in
> the dma buffer creation to have some padding but it had to be
> less than the padding in the target dma buffer being created.
>
> Moreover the implementation also unnecessarily copied any
> padding present in the source to the destination. By copying
> only the actual pixel values one not only fixes this but also
> allows the source to have greater padding than the destination.
>
> CC: Chad Versace <chad.versace at linux.intel.com>
> Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
> ---
>   tests/util/piglit-framework-gl/piglit_drm_dma_buf.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)

Thanks. Committed.



More information about the Piglit mailing list