[Mesa-dev] [PATCH 12/16] anv/image: Separate modifiers from legacy scanout

Daniel Stone daniel at fooishbar.org
Wed Feb 14 11:39:11 UTC 2018


Hi,

On 13 February 2018 at 22:15, Jason Ekstrand <jason at jlekstrand.net> wrote:
> On Tue, Feb 13, 2018 at 10:48 AM, Daniel Stone <daniel at fooishbar.org> wrote:
>> On 9 February 2018 at 23:43, Jason Ekstrand <jason at jlekstrand.net> wrote:
>> For actual scanout, the kernel very specifically demands that if the
>> BO is X-tiled, then set_tiling be called with TILING_X. This applies
>> even if we explicitly allocate with MOD_X_TILED and pass that in via
>> drmModeAddFB2WithModifiers: there is an explicit check for
>> !!(bo_tiling == TILING_X) == !!(modifier == MOD_X_TILED).

You missed this bit. Suggested fixup: https://hastebin.com/xikopobiza

Cheers,
Daniel


More information about the mesa-dev mailing list