Skip to content
  • Daniel Stone's avatar
    Revert "i965: Always use Y-tiled buffers on SKL+" · e54b2e90
    Daniel Stone authored
    This commit broke Weston, Mutter, and xf86-video-modesetting, on KMS.
    
    In order to use Y-tiled buffers, the kernel requires the tiling mode to
    be explicitly named through the I915_FORMAT_MOD_Y_TILED AddFB2 modifier;
    it disallows any attempt to infer the buffer's tiling mode.
    
    As the GBM API does not have a way to extract modifiers for a buffer,
    this commit broke all users of GBM on SKL+. Revert it for now, until we
    get a way to extract modifier information from GBM, and also let GBM
    users inform the implementation that it intends to use the modifiers.
    
    This reverts commit 6a0d0364
    
    .
    
    Signed-off-by: default avatarDaniel Stone <daniels@collabora.com>
    Acked-by: Ben Widawsky's avatarBen Widawsky <ben@bwidawsk.net>
    Tested-by: default avatarHans de Goede <hdegoede@redhat.com>
    e54b2e90