[Bug 111306] gbm creates BO with wrong pitch when dri3_get_modifiers returns modifiers, causing drmModeAddFB2WithModifiers to fail

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 9 10:07:15 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111306

Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|19.1                        |DRI git
         QA Contact|intel-3d-bugs at lists.freedes |intel-gfx-bugs at lists.freede
                   |ktop.org                    |sktop.org
                 CC|                            |intel-gfx-bugs at lists.freede
                   |                            |sktop.org
            Product|Mesa                        |DRI
           Assignee|intel-3d-bugs at lists.freedes |intel-gfx-bugs at lists.freede
                   |ktop.org                    |sktop.org
          Component|Drivers/DRI/i965            |DRM/Intel

--- Comment #26 from Lionel Landwerlin <lionel.g.landwerlin at linux.intel.com> ---
Reassigning to i915 to check the workaround in intel_display.c :

 /*                                                        
  * Display WA #0531: skl,bxt,kbl,glk                      
  *                                                        
  * Render decompression and plane width > 3840            
  * combined with horizontal panning requires the          
  * plane stride to be a multiple of 4. We'll just         
  * require the entire fb to accommodate that to avoid     
  * potential runtime errors at plane configuration time.  
  */
 if (IS_GEN(dev_priv, 9) && i == 0 && fb->width > 3840 &&
     is_ccs_modifier(fb->modifier))
         stride_alignment *= 4;

I think there might be an issue there, because it applies a workaround that
seem to be meant for the aux surface to the main surface.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20190809/4c77050f/attachment.html>


More information about the intel-3d-bugs mailing list