[igt-dev] [PATCH i-g-t v6 1/4] lib/rendercopy_gen7: Reorganizing batch allocations

Michał Winiarski michal.winiarski at intel.com
Tue Apr 24 11:23:47 UTC 2018


On Tue, Apr 24, 2018 at 10:32:09AM +0200, Lukasz Kalamarz wrote:
> This lib was written in a different manner than all other libs,
> which was causing some issues during refactoring. Previous
> implementation was using two pointers (ptr and state) to
> access two parts of batchbuffer in the same time. Current
> implementation is reusing ptr with a downside of needing
> to ensure the state/command ordering is proper.
> 
> v3: Modified commit message and added batch boundary check
> v5: Rebase
> 
> Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz at intel.com>
> Cc: Katarzyna Dec <katarzyna.dec at intel.com>
> Cc: Radoslaw Szwichtenberg <radoslaw.szwichtenberg at intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Reviewed-by: Katarzyna Dec <katarzyna.dec at intel.com>
> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>

Pushed this one and related gen6 tweaks.

Thanks for the patches and the review!

-Michał

> ---
>  lib/rendercopy_gen7.c | 77 ++++++++++++++++++++++++++++++---------------------
>  1 file changed, 45 insertions(+), 32 deletions(-)


More information about the igt-dev mailing list