[Bug 70945] New: [HSW Bisected]igt/kms_flip/dpms-off-confusion-interruptible causes [drm:intel_pipe_config_compare] *ERROR* mismatch in pipe_bpp (expected 24, found 0)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 28 08:41:04 CET 2013


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

          Priority: high
            Bug ID: 70945
                CC: intel-gfx-bugs at lists.freedesktop.org
          Assignee: intel-gfx-bugs at lists.freedesktop.org
           Summary: [HSW
                    Bisected]igt/kms_flip/dpms-off-confusion-interruptible
                    causes [drm:intel_pipe_config_compare] *ERROR*
                    mismatch in pipe_bpp (expected 24, found 0)
        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

Created attachment 88208
  --> https://bugs.freedesktop.org/attachment.cgi?id=88208&action=edit
dmesg

System Environment:
--------------------------
Platform: Haswell
Kernel:    (drm-intel-fixes)cfa91465f2410f615cba1341cde2f80e736ef58b

Bug detailed description:
---------------------------
It causes [drm:intel_pipe_config_compare] *ERROR* mismatch in pipe_bpp
(expected 24, found 0) on haswell with drm-intel-fixes kernel. It doesn't
happens on -nightly and -queued kernel.
Following cases also have this issue:
igt/gem_tiled_swapping
igt/kms_render/direct-render
igt/kms_render/gpu-blit

Bisect shows:f22be8c70cf3702b0f11743f2dc5d093b2f8f5d7 is the first bad commit
commit f22be8c70cf3702b0f11743f2dc5d093b2f8f5d7
Author:     Ville Syrjälä <ville.syrjala at linux.intel.com>
AuthorDate: Mon Oct 21 10:52:06 2013 +0300
Commit:     Daniel Vetter <daniel.vetter at ffwll.ch>
CommitDate: Mon Oct 21 09:56:49 2013 +0200

    drm/i915: Add support for pipe_bpp readout

    On CTG+ read out the pipe bpp setting from hardware and fill it into
    pipe config. Also check it appropriately.

    v2: Don't do the pipe_bpp extraction inside the PCH only code block on
        ILK+.
        Avoid the PIPECONF read as we already have read it for the
        PIPECONF_EANBLE check.

    Note: This is already in drm-intel-next-queued as
    commit 42571aefafb1d330ef84eb29418832f72e7dfb4c
    Author: Ville Syrjälä <ville.syrjala at linux.intel.com>
    Date:   Fri Sep 6 23:29:00 2013 +0300

        drm/i915: Add support for pipe_bpp readout

    but is needed for the following bugfix.

    Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
    Reviewed-by: Jani Nikula <jani.nikula at intel.com>
    Cc: stable at vger.kernel.org
    Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>

output:
Using monotonic timestamps
Beginning dpms-off-confusion-interruptible on crtc 3, connector 9
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
dpms-off-confusion-interruptible on crtc 3, connector 9: PASSED

Beginning dpms-off-confusion-interruptible on crtc 5, connector 9
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
dpms-off-confusion-interruptible on crtc 5, connector 9: PASSED

Beginning dpms-off-confusion-interruptible on crtc 7, connector 9
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x48 65000
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
dpms-off-confusion-interruptible on crtc 7, connector 9: PASSED

Subtest dpms-off-confusion-interruptible: SUCCESS


Call trace:
[   94.797951] [drm:intel_pipe_config_compare] *ERROR* mismatch in pipe_bpp
(expected 24, found 0)
[   94.797952] ------------[ cut here ]------------
[   94.797957] WARNING: CPU: 0 PID: 3761 at
drivers/gpu/drm/i915/intel_display.c:8805 check_crtc_state+0x72f/0x776 [i915]()
[   94.797958] pipe state doesn't match!
[   94.797958] Modules linked in: dm_mod snd_hda_codec_realtek
snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support dcdbas pcspkr serio_raw
i2c_i801 lpc_ich snd_hda_intel mfd_core snd_hda_codec snd_hwdep shpchp snd_pcm
snd_page_alloc snd_timer snd soundcore acpi_cpufreq i915 video button
drm_kms_helper drm freq_table
[   94.797966] CPU: 0 PID: 3761 Comm: kms_flip Tainted: G        W   
3.12.0-rc5_drm-intel-fixes_cfa914_20131028_+ #1771
[   94.797967] Hardware name: Dell Inc. OptiPlex 9020/0DNKMN, BIOS A02
08/15/2013
[   94.797968]  0000000000000000 0000000000000009 ffffffff81704adc
ffff880004c3b9c8
[   94.797969]  ffffffff8103319e ffff880004c3b9c0 ffffffffa0081b91
0000000000000001
[   94.797970]  ffff8800db2b2000 ffff8800db309000 ffff880004c3ba40
ffff8800db2b26d0
[   94.797972] Call Trace:
[   94.797974]  [<ffffffff81704adc>] ? dump_stack+0x41/0x51
[   94.797976]  [<ffffffff8103319e>] ? warn_slowpath_common+0x73/0x8b
[   94.797980]  [<ffffffffa0081b91>] ? check_crtc_state+0x72f/0x776 [i915]
[   94.797982]  [<ffffffff8103324e>] ? warn_slowpath_fmt+0x45/0x4a
[   94.797987]  [<ffffffffa0081b91>] ? check_crtc_state+0x72f/0x776 [i915]
[   94.797993]  [<ffffffffa008bc33>] ? intel_modeset_check_state+0x36f/0x617
[i915]
[   94.797997]  [<ffffffffa000e735>] ? drm_mode_object_find+0x91/0xa1 [drm]
[   94.798001]  [<ffffffffa00122f3>] ?
drm_mode_obj_set_property_ioctl+0x162/0x1ec [drm]
[   94.798004]  [<ffffffffa00123a9>] ?
drm_mode_connector_property_set_ioctl+0x2c/0x31 [drm]
[   94.798007]  [<ffffffffa000501d>] ? drm_ioctl+0x2a5/0x3c4 [drm]
[   94.798010]  [<ffffffffa001237d>] ?
drm_mode_obj_set_property_ioctl+0x1ec/0x1ec [drm]
[   94.798012]  [<ffffffff810e8462>] ? vfs_ioctl+0x1e/0x31
[   94.798013]  [<ffffffff810e8c38>] ? do_vfs_ioctl+0x3ad/0x3ef
[   94.798014]  [<ffffffff810e8cc8>] ? SyS_ioctl+0x4e/0x7e
[   94.798016]  [<ffffffff8170f062>] ? system_call_fastpath+0x16/0x1b
[   94.798017] ---[ end trace e100fc048187f1cd ]---

Reproduce steps:
----------------------------
1. ./kms_flip --run-subtest dpms-off-confusion-interruptible

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list 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/20131028/ba629a77/attachment.html>


More information about the intel-gfx-bugs mailing list