[Bug 63415] New: [IVB Bisected]I-G-T sysfs_rps Aborted

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 10 22:21:41 PDT 2013


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

          Priority: high
            Bug ID: 63415
                CC: xunx.fang at intel.com, yangweix.shui at intel.com
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: [IVB Bisected]I-G-T sysfs_rps Aborted
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: huax.lu at intel.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: DRM/Intel
           Product: DRI

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 <ben at bwidawsk.net>
AuthorDate: Fri Apr 5 14:29:22 2013 -0700
Commit:     Daniel Vetter <daniel.vetter at ffwll.ch>
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 <ben at bwidawsk.net>
    Reviewed-by: Mika Kuoppala <mika.kuoppala at intel.com>
    [danvet: Fixup the s/100MHz/50MHz/ confusion in an unrelated comment
    that Mika spotted.]
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>


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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20130411/764804c0/attachment-0001.html>


More information about the intel-gfx-bugs mailing list