<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [IVB Bisected]I-G-T sysfs_rps Aborted"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=63415">63415</a>
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>xunx.fang@intel.com, yangweix.shui@intel.com
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[IVB Bisected]I-G-T sysfs_rps Aborted
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>huax.lu@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>System Environment:
--------------------------
Arch:             x86_64
Platform:         Ivybridge
Kernel:    (drm-intel-nightly) 60f0bcbcd32a17ec0cbc70d21b45179c384ca4ce

Bug detailed description:
-------------------------
It aborted on ivybridge with drm-intel-next-queued kernel, works well -fixed
kernel.

Bisect shows:4f9b2fe0441d4bdf5666a306156b5d6755de2584 is the first bad commit.
commit 4f9b2fe0441d4bdf5666a306156b5d6755de2584
Author:     Ben Widawsky <<a href="mailto:ben@bwidawsk.net">ben@bwidawsk.net</a>>
AuthorDate: Fri Apr 5 14:29:22 2013 -0700
Commit:     Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>
CommitDate: Tue Apr 9 18:57:18 2013 +0200

    drm/i915: Better overclock support

    Most importantly this will allow users to set overclock frequencies in
    sysfs. Previously the max was limited by the RP0 max as opposed to the
    overclock max. This is useful if one wants to either limit the max
    overclock frequency, or set the minimum frequency to be in the overclock
    range. It also fixes an issue where if one sets the max frequency to be
    below the overclock max, they wouldn't be able to set back the proper
    overclock max.

    In addition I've added a couple of other bits:
    Show the overclock freq. as max in sysfs
    Print the overclock max in debugfs.
    Print a warning if the user sets the min frequency to be in the
    overclock range.

    In this patch I've decided to store the hw_max when we read it from the
    pcode at init. The reason I do this is the pcode reads can fail, and are
    slow.

    v2: Report when user requested overclocked max (Daniel)
    Remove when user sets min to overclock range (Daniel)

    Reported-by: freezer from #intel-gfx on irc
    Signed-off-by: Ben Widawsky <<a href="mailto:ben@bwidawsk.net">ben@bwidawsk.net</a>>
    Reviewed-by: Mika Kuoppala <<a href="mailto:mika.kuoppala@intel.com">mika.kuoppala@intel.com</a>>
    [danvet: Fixup the s/100MHz/50MHz/ confusion in an unrelated comment
    that Mika spotted.]
    Signed-off-by: Daniel Vetter <<a href="mailto:daniel.vetter@ffwll.ch">daniel.vetter@ffwll.ch</a>>


output: 
sysfs_rps: sysfs_rps.c:175: main: Assertion `0' failed.
Aborted (core dumped)

dmesg:
[  462.651103] [drm:i915_driver_open],
[  462.651127] [drm:intel_crtc_set_config], [CRTC:3] [FB:27] #connectors=1 (x
y) (0 0)
[  462.651131] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651134] [drm:intel_crtc_set_config], [CRTC:5] [NOFB]
[  462.651136] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651138] [drm:intel_crtc_set_config], [CRTC:7] [NOFB]
[  462.651140] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651149] [drm:i915_driver_open],
[  462.651160] [drm:intel_crtc_set_config], [CRTC:3] [FB:27] #connectors=1 (x
y) (0 0)
[  462.651162] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651164] [drm:intel_crtc_set_config], [CRTC:5] [NOFB]
[  462.651166] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651167] [drm:intel_crtc_set_config], [CRTC:7] [NOFB]
[  462.651169] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651176] [drm:i915_driver_open],
[  462.651186] [drm:intel_crtc_set_config], [CRTC:3] [FB:27] #connectors=1 (x
y) (0 0)
[  462.651188] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651190] [drm:intel_crtc_set_config], [CRTC:5] [NOFB]
[  462.651192] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]
[  462.651194] [drm:intel_crtc_set_config], [CRTC:7] [NOFB]
[  462.651195] [drm:intel_modeset_stage_output_state], [CONNECTOR:9:VGA-1] to
[CRTC:3]


Reproduce steps:
----------------
1. ./sysfs_rps</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>