[igt-dev] [PATCH i-g-t v7 1/5] lib/intel_bufops: Introduce buffer operations

Chris Wilson chris at chris-wilson.co.uk
Mon Jan 13 15:59:05 UTC 2020


Quoting Zbigniew Kempczyński (2020-01-13 09:19:04)
> +       case I915_BIT_6_SWIZZLE_UNKNOWN:
> +       case I915_BIT_6_SWIZZLE_9_17:
> +       case I915_BIT_6_SWIZZLE_9_10_17:
> +       default:
> +               /* If we hit this case, we need to implement support for the
> +                * appropriate swizzling method. */

As a side comment, this can't be done in userspace. Bit17 is not within
the page and so requires knowledge of the physical address.
-Chris


More information about the igt-dev mailing list