<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:benjamin.tissoires@gmail.com" title="Benjamin Tissoires <benjamin.tissoires@gmail.com>"> <span class="fn">Benjamin Tissoires</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ACPI _LID usage model change"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100923">bug 100923</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;">Product</td>
           <td>Wayland
           </td>
           <td>DRI
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Component</td>
           <td>libinput
           </td>
           <td>DRM/Intel
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">QA Contact</td>
           <td>
                
           </td>
           <td>intel-gfx-bugs@lists.freedesktop.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>wayland-bugs@lists.freedesktop.org
           </td>
           <td>intel-gfx-bugs@lists.freedesktop.org
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ACPI _LID usage model change"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100923#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ACPI _LID usage model change"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100923">bug 100923</a>
              from <span class="vcard"><a class="email" href="mailto:benjamin.tissoires@gmail.com" title="Benjamin Tissoires <benjamin.tissoires@gmail.com>"> <span class="fn">Benjamin Tissoires</span></a>
</span></b>
        <pre>Well, this issue is not related to libinput but to the use of acpi_lid_open()
by the intel i915 driver (in drivers/gpu/drm/i915/intel_lvds.c).

It has been shown that on some platforms the ACPI _LID call is not reliable and
only the closed event is sent.

drivers/gpu/drm/i915/intel_lvds.c ignores the value provided by the lid
notifier (unsigned long val parameter), and does it's own call to
acpi_lid_open().

IMO, we should either enforce i915 to use the provided value (as sent by Lv in
<a href="https://patchwork.kernel.org/patch/9713021/">https://patchwork.kernel.org/patch/9713021/</a>), or make sure acpi_lid_open()
returns the fixed value (so no change from the i915 driver would be required).</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>