[Mesa-dev] [PATCH 21/27] i965: Make CCS stride match kernel's expectations

Pohjolainen, Topi topi.pohjolainen at gmail.com
Sat Dec 10 14:06:44 UTC 2016


On Thu, Dec 01, 2016 at 02:10:02PM -0800, Ben Widawsky wrote:
> From: Ben Widawsky <ben at bwidawsk.net>
> 
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Jason Ekstrand <jason at jlekstrand.net>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>
> ---
>  src/mesa/drivers/dri/i965/intel_screen.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c
> index f40761a..7ee21ee 100644
> --- a/src/mesa/drivers/dri/i965/intel_screen.c
> +++ b/src/mesa/drivers/dri/i965/intel_screen.c
> @@ -961,7 +961,7 @@ intel_from_planar(__DRIimage *parent, int plane, void *loaderPrivate)
>      if (parent == NULL || parent->planar_format == NULL) {
>         if (is_aux) {
>            offset = parent->aux_offset;
> -          stride = ALIGN(parent->pitch / 32, 128);

I think the commit message should go as a comment here?

> +          stride = ALIGN(parent->pitch / 64, 128);
>            dri_format = parent->dri_format;
>            goto done;
>         }
> -- 
> 2.10.2
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list