<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xf86-video-amdgpu-1.3.0 segfaults with a rotated screen (regression caused by commit ad53635af1)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100276">bug 100276</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Attachment #130373 is obsolete</td>
           <td>
                
           </td>
           <td>1
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xf86-video-amdgpu-1.3.0 segfaults with a rotated screen (regression caused by commit ad53635af1)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100276#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xf86-video-amdgpu-1.3.0 segfaults with a rotated screen (regression caused by commit ad53635af1)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100276">bug 100276</a>
              from <span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span></b>
        <pre>Comment on <span class="bz_obsolete"><a href="attachment.cgi?id=130373" name="attach_130373" title="Bail from drmmode_set_mode_major if it's called too early">attachment 130373</a> <a href="attachment.cgi?id=130373&action=edit" title="Bail from drmmode_set_mode_major if it's called too early">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=100276&attachment=130373'>[review]</a>
Bail from drmmode_set_mode_major if it's called too early

(In reply to timon37 from <a href="show_bug.cgi?id=100276#c5">comment #5</a>)
<span class="quote">> Patch didn't help. Actually it initially didn't compile for me
> (AMDGPUWindowExposures_oneshot was undefined)</span >

Oops, sorry, I thought I'd at least compile-tested the patch, but I obviously
hadn't.

<span class="quote">> but I added a prototype for it.</span >

Did you also remove the static keyword from the function declaration
src/amdgpu_kms.c? If not, that might explain why the patch didn't work.


<span class="quote">> But when I comment out the "Virtual 4096 4096" line it consistently works,
> and if then uncomment it it crashes.</span >

Thanks, this allowed me to reproduce the problem.
<a href="https://patchwork.freedesktop.org/patch/145922/">https://patchwork.freedesktop.org/patch/145922/</a> fixes it for me.

BTW, does the Virtual line serve any purpose? Xorg seems to resize the screen
to fit the rotated output anyway for me.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>