1. 28 3月, 2017 1 次提交
  2. 27 3月, 2017 1 次提交
  3. 23 3月, 2017 4 次提交
  4. 21 3月, 2017 1 次提交
  5. 17 3月, 2017 3 次提交
  6. 16 3月, 2017 1 次提交
  7. 14 3月, 2017 1 次提交
    • D
      drm/i915: annote drop_caches debugfs interface with lockdep · 05df49e7
      Daniel Vetter 提交于
      The trouble we have is that we can't really test all the shrinker
      recursion stuff exhaustively in BAT because any kind of thrashing
      stress test just takes too long.
      
      But that leaves a really big gap open, since shrinker recursions are
      one of the most annoying bugs. Now lockdep already has support for
      checking allocation deadlocks:
      
      - Direct reclaim paths are marked up with
        lockdep_set_current_reclaim_state() and
        lockdep_clear_current_reclaim_state().
      
      - Any allocation paths are marked with lockdep_trace_alloc().
      
      If we simply mark up our debugfs with the reclaim annotations, any
      code and locks taken in there will automatically complete the picture
      with any allocation paths we already have, as long as we have a simple
      testcase in BAT which throws out a few objects using this interface.
      Not stress test or thrashing needed at all.
      
      v2: Need to EXPORT_SYMBOL_GPL to make it compile as a module.
      
      v3: Fixup rebase fail (spotted by Chris).
      
      Cc: Chris Wilson <chris@chris-wilson.co.uk>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: linux-kernel@vger.kernel.org
      Reviewed-by: NChris Wilson <chris@chris-wilson.co.uk>
      Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170312205340.16202-1-daniel.vetter@ffwll.chSigned-off-by: NDaniel Vetter <daniel.vetter@intel.com>
      05df49e7
  8. 13 3月, 2017 1 次提交
    • C
      drm/i915: Extend rpm wakelock for debugfs/i915_drpc_info · cf632bd6
      Chris Wilson 提交于
      i915_drpc_info missed covering a few register read with the runtime pm
      wakelock. Be simple and cover the entire function with a single wakelock
      so that new additions are not similarly missed in future.
      
        WARNING: CPU: 2 PID: 1334 at drivers/gpu/drm/i915/intel_drv.h:1743 gen6_read32+0x192/0x1e0 [i915]
        RPM wakelock ref not held during HW access
        Modules linked in: rpcsec_gss_krb5 nfsv4 dns_resolver netconsole nfsd auth_rpcgss ipmi_watchdog ipmi_poweroff ipmi_devintf ipmi_msghandler overlay btrfs xor raid6_pq dm_mod sg sd_mod snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ata_generic pata_acpi intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel kvm_intel snd_hda_codec kvm eeepc_wmi irqbypass snd_hda_core crct10dif_pclmul crc32_pclmul crc32c_intel asus_wmi sparse_keymap ghash_clmulni_intel snd_hwdep i915 rfkill ppdev pcbc aesni_intel ata_piix crypto_simd glue_helper snd_pcm pata_via cryptd pcspkr snd_timer drm_kms_helper syscopyarea snd sysfillrect libata sysimgblt fb_sys_fops soundcore shpchp drm wmi parport_pc parport tpm_infineon video
        CPU: 2 PID: 1334 Comm: php5 Not tainted 4.10.0-rc8-01615-g1f58c8e7 #1
        Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
        Call Trace:
         dump_stack+0x63/0x8a
         __warn+0xcb/0xf0
         warn_slowpath_fmt+0x4f/0x60
         ? seq_vprintf+0x35/0x50
         gen6_read32+0x192/0x1e0 [i915]
         i915_drpc_info+0x55d/0x990 [i915]
         seq_read+0xf2/0x3b0
         full_proxy_read+0x51/0x80
         __vfs_read+0x28/0x130
         ? security_file_permission+0x9b/0xc0
         ? rw_verify_area+0x4e/0xb0
         vfs_read+0xa8/0x170
         SyS_read+0x46/0xa0
         entry_SYSCALL_64_fastpath+0x1a/0xa9
        RIP: 0033:0x7fd97bf175a0
        RSP: 002b:00007ffdf730db68 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
        RAX: ffffffffffffffda RBX: 00007fd978028738 RCX: 00007fd97bf175a0
        RDX: 0000000000002000 RSI: 00007fd97740e0d8 RDI: 0000000000000005
        RBP: 0000000000000001 R08: 0000000000e97840 R09: 00007fd977ef8d58
        R10: 0000000000000027 R11: 0000000000000246 R12: 00007fd977ef8d58
        R13: 0000000000000000 R14: 0000000000eb4640 R15: 0000000000000000
      Reported-by: Nkernel test robot <xiaolong.ye@intel.com>
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170313095617.29010-1-chris@chris-wilson.co.ukReviewed-by: NMika Kuoppala <mika.kuoppala@intel.com>
      cf632bd6
  9. 12 3月, 2017 1 次提交
  10. 10 3月, 2017 2 次提交
  11. 09 3月, 2017 1 次提交
  12. 08 3月, 2017 1 次提交
  13. 04 3月, 2017 1 次提交
  14. 03 3月, 2017 2 次提交
  15. 02 3月, 2017 1 次提交
  16. 01 3月, 2017 1 次提交
  17. 23 2月, 2017 1 次提交
  18. 22 2月, 2017 1 次提交
  19. 20 2月, 2017 2 次提交
  20. 16 2月, 2017 1 次提交
  21. 15 2月, 2017 2 次提交
  22. 11 2月, 2017 1 次提交
    • L
      drm/i915/debugfs: Add i915_hpd_storm_ctl · 317eaa95
      Lyude 提交于
      This adds a file in i915's debugfs directory that allows userspace to
      manually control HPD storm detection. This is mainly for hotplugging
      tests, where we might want to test HPD storm functionality or disable
      storm detection to speed up hotplugging tests without breaking anything.
      
      Changes since v1:
      - Make HPD storm interval configurable
      - Misc code cleanup
      Signed-off-by: NLyude <lyude@redhat.com>
      Acked-by: NJani Nikula <jani.nikula@linux.intel.com>
      Cc: Tomeu Vizoso <tomeu@tomeuvizoso.net>
      317eaa95
  23. 10 2月, 2017 1 次提交
    • C
      drm/i915/byt: Take powerwell for reading PIPESTAT in debugfs · 4f4631af
      Chris Wilson 提交于
      [12493.693827] WARNING: CPU: 1 PID: 14860 at drivers/gpu/drm/i915/intel_uncore.c:795 __unclaimed_reg_debug+0x5d/0x80 [i915]
      [12493.693868] Unclaimed read from register 0x1f0024
      [12493.693905] Modules linked in: vgem i915 drm_kms_helper drm intel_gtt i2c_algo_bit syscopyarea sysfillrect sysimgblt fb_sys_fops prime_numbers intel_powerclamp crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel cryptd lpc_ich i2c_i801 mfd_core video i2c_designware_platform i2c_designware_core i2c_core button autofs4 sd_mod ahci libahci libata scsi_mod [last unloaded: i915]
      [12493.694039] CPU: 1 PID: 14860 Comm: intel-gpu-overl Tainted: G     U          4.10.0-rc7+ #11
      [12493.694079] Hardware name: GIGABYTE GB-BXBT-1900/MZBAYAB-00, BIOS F8 03/02/2016
      [12493.694121] Call Trace:
      [12493.694169]  dump_stack+0x67/0x9d
      [12493.694235]  __warn+0x117/0x140
      [12493.694288]  warn_slowpath_fmt+0x4f/0x60
      [12493.694344]  ? do_raw_spin_lock+0x116/0x180
      [12493.694533]  ? check_for_unclaimed_mmio+0x98/0xe0 [i915]
      [12493.694727]  __unclaimed_reg_debug+0x5d/0x80 [i915]
      [12493.694923]  fwtable_read32+0x2c5/0x330 [i915]
      [12493.695108]  i915_interrupt_info+0xd52/0xf80 [i915]
      [12493.695302]  ? gen6_write16+0x310/0x310 [i915]
      [12493.695357]  seq_read+0x187/0x710
      [12493.695412]  full_proxy_read+0x75/0xc0
      [12493.695472]  __vfs_read+0x5a/0x220
      [12493.695524]  ? kmem_cache_free+0x6c/0x260
      [12493.695577]  ? putname+0x97/0xa0
      [12493.695629]  ? putname+0x97/0xa0
      [12493.695682]  ? rcu_read_lock_sched_held+0xb8/0xd0
      [12493.695735]  ? rw_verify_area+0x65/0x140
      [12493.695787]  vfs_read+0xd1/0x1f0
      [12493.695840]  SyS_read+0x62/0xc0
      [12493.695893]  entry_SYSCALL_64_fastpath+0x1c/0xb1
      [12493.695943] RIP: 0033:0x7f82dca99ba0
      [12493.695985] RSP: 002b:00007ffc0bdfd4f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
      [12493.696031] RAX: ffffffffffffffda RBX: 00007ffc0be005a0 RCX: 00007f82dca99ba0
      [12493.696073] RDX: 0000000000001fff RSI: 00007ffc0bdfd500 RDI: 000000000000001a
      [12493.696115] RBP: ffffffff810fb639 R08: 302f6972642f6775 R09: 00007f82dca0999a
      [12493.696157] R10: 00007f82dcd62760 R11: 0000000000000246 R12: ffff880069a17f98
      [12493.696199] R13: 00007ffc0bdfd428 R14: 0000000000000003 R15: 00007ffc0bdfd428
      [12493.696250]  ? trace_hardirqs_off_caller+0xd9/0x130
      [12493.696300] ---[ end trace 52ccf4d39793cc59 ]---
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99761Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170210133632.16946-1-chris@chris-wilson.co.ukReviewed-by: NMika Kuoppala <mika.kuoppala@intel.com>
      4f4631af
  24. 09 2月, 2017 1 次提交
  25. 08 2月, 2017 1 次提交
  26. 07 2月, 2017 1 次提交
  27. 27 1月, 2017 1 次提交
  28. 26 1月, 2017 2 次提交
    • M
      drm/i915: Add support for DP Video pattern compliance tests · 611032bf
      Manasi Navare 提交于
      The intel_dp_autotest_video_pattern() function gets invoked through the
      compliance test handler on a HPD short pulse if the test type is
      set to DP_TEST_VIDEO_PATTERN. This performs the DPCD registers
      reads to read the requested test pattern, video pattern resolution,
      frame rate and bits per color value. The results of this analysis
      are handed off to userspace so that the userspace app can set the
      video pattern mode appropriately for the test result/response.
      When the  test is requested with specific BPC value, we read the BPC
      value from the DPCD register. If this BPC value in intel_dp structure
      has a non-zero value and we're on a display port connector, then we use
      the value to calculate the bpp for the pipe. Also in this case if its
      a 18bpp video pattern request, then we force the dithering on pipe to be
      disabled since it causes CRC mismatches.
      
      The compliance_test_active flag is set at the end of the individual
      test handling functions. This is so that the kernel-side operations
      can be completed without the risk of interruption from the userspace
      app that is polling on that flag.
      
      v5:
      * Remove test_result variable
      * Populate the compliance test data at the end of the function (Jani Nikula)
      v4:
      *Return TEST_NAK on read failures and invalid values (Jani Nikula)
      * Address CRC mismatch errors
      v3:
      * Use the updated properly shifted bit definitions (Jani Nikula)
      * Force dithering to be disabled on 18bpp compliance
      test request (Manasi Navare)
      v2:
      * Updated the DPCD Register reads based on proper defines in header (Jani Nikula)
      * Squahsed the patch that forced the pipe bpp to compliance test bpp (Jani Nikula)
      Signed-off-by: NManasi Navare <manasi.d.navare@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1485274909-17470-1-git-send-email-manasi.d.navare@intel.com
      611032bf
    • M
      drm/i915: Fixes to support DP Compliance EDID tests · b48a5ba9
      Manasi Navare 提交于
      This patch addresses a few issues from the original patch for
      DP Compliance EDID test support submitted by
      Todd Previte<todd.previte@gmail.com>
      
      Video Mode requested in the EDID test handler for the EDID Read
      test (CTS 4.2.2.3) should be set to PREFERRED as per the CTS spec.
      
      v2:
      * Added read debugfs data from test_data.edid if its EDID test (Jani NIkula)
      Signed-off-by: NManasi Navare <manasi.d.navare@intel.com>
      Cc: Jani Nikula <jani.nikula@linux.intel.com>
      Cc: Daniel Vetter <daniel.vetter@intel.com>
      Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1484968170-12467-3-git-send-email-manasi.d.navare@intel.com
      b48a5ba9
  29. 25 1月, 2017 1 次提交
  30. 24 1月, 2017 1 次提交