1. 12 Apr, 2021 1 commit
    • Hans de Goede's avatar
      drm/i915/display/vlv_dsi: Do not skip panel_pwr_cycle_delay when disabling the panel · 2878b29f
      Hans de Goede authored
      After the recently added commit fe0f1e3b ("drm/i915: Shut down
      displays gracefully on reboot"), the DSI panel on a Cherry Trail based
      Predia Basic tablet would no longer properly light up after reboot.
      
      I've managed to reproduce this without rebooting by doing:
      chvt 3; echo 1 > /sys/class/graphics/fb0/blank;\
      echo 0 > /sys/class/graphics/fb0/blank
      
      Which rapidly turns the panel off and back on again.
      
      The vlv_dsi.c code uses an intel_dsi_msleep() helper for the various delays
      used for panel on/off, since starting with MIPI-sequences version >= 3 the
      delays are already included inside the MIPI-sequences.
      
      The problems exposed by the "Shut down displays gracefully on reboot"
      change, show that using this helper for the panel_pwr_cycle_delay is
      not the right thing to do. This has not been noticed until now because
      normally the panel never is cycled off and directly on again in quick
      succession.
      
      Change the msleep for the panel_pwr_cycle_delay to a normal msleep()
      call to avoid the panel staying black after a quick off + on cycle.
      
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Fixes: fe0f1e3b ("drm/i915: Shut down displays gracefully on reboot")
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210325114823.44922-1-hdegoede@redhat.com
      2878b29f
  2. 09 Apr, 2021 5 commits
  3. 08 Apr, 2021 6 commits
  4. 07 Apr, 2021 3 commits
  5. 06 Apr, 2021 1 commit
    • Xuezhi Zhang's avatar
      drm/i915/sysfs: convert snprintf to sysfs_emit · 11cda496
      Xuezhi Zhang authored
      Fix the following coccicheck warning:
      drivers/gpu/drm/i915//i915_sysfs.c:266:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:285:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:276:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:335:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:390:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:465:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:107:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:75:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:83:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:91:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:99:8-16:
      WARNING: use scnprintf or sprintf
      drivers/gpu/drm/i915//i915_sysfs.c:326:8-16:
      WARNING: use scnprintf or sprintf
      Signed-off-by: default avatarXuezhi Zhang <zhangxuezhi1@yulong.com>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210404084103.528211-1-llyz108@163.com
      11cda496
  6. 02 Apr, 2021 1 commit
  7. 01 Apr, 2021 7 commits
  8. 31 Mar, 2021 16 commits