Skip to content
Commit a6728963 authored by Nanley Chery's avatar Nanley Chery Committed by Dylan Baker
Browse files

gallium/dri2: Fix creation of multi-planar modifier images



The commit noted below assumed and enforced that DRM_MOD_INVALID was the
only valid modifier for multi-planar imported images. Due to that, it
required that modifier on multi-planar images to:

   1. Allow multiple planes.
   2. Perform YUV format lowering and extent adjustments.
   3. Use buffer_index to correctly map the given planes.

Fix these issues by removing or updating the code built on that
assumption.

Fixes: 2066966c ("gallium/dri2: Support creating multi-planar modifier images")
Reviewed-by: default avatarKenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit d5c85783)
parent 6adf4fe2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment