1. 27 7月, 2017 19 次提交
  2. 11 7月, 2017 1 次提交
  3. 06 7月, 2017 5 次提交
  4. 15 6月, 2017 1 次提交
  5. 13 6月, 2017 1 次提交
    • V
      drm/i915/cnl: Implement CNL display init/unit sequence · d8d4a512
      Ville Syrjälä 提交于
      Implement the CNL display init/uninit sequence as outlined in Bspec.
      
      Quite similar to SKL/BXT. The main complicaiton is probably the extra
      procmon setup we must do based on the process/voltage information we
      can read out from some register.
      
      v2: s/skl_dbuf/gen9_dbuf/ to follow upstream
          bxt needed a cdclk sanitize step, so let's add it for cnl too
      v3: s/CHICKEN_MISC_1/CHICKEN_MISC_2/ (Ander)
      v4: Rebased by Rodrigo after Ville's cdclk rework
      v5: Removed unecessary Aux IO forced enable/disable, Fix DW10 setup
          Fix procpon Mask. (Credits-to Paulo and Clint)
          Remove A0 workaround.
      v6: Rebased on top of recent code (Rodrigo).
      v7: Respect the order of sanitize_ after set_
          (Done by Rodrigo, Requested by Ville)
      v8: Commit message updated to matvh v5 changes besides
          Remove unused DW8 and an extra blank line. (all noticed
          by Imre).
      v9: Remove __attribute__((unused)) added on latest version
          of drm/i915/cnl: Implement .set_cdclk() for CNL.
      
      Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
      Cc: Clint Taylor <clinton.a.taylor@intel.com>
      Signed-off-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/1497047175-27250-3-git-send-email-rodrigo.vivi@intel.com
      d8d4a512
  6. 07 6月, 2017 2 次提交
  7. 28 3月, 2017 1 次提交
  8. 27 2月, 2017 2 次提交
    • A
      drm/i915: Only enable DDI IO power domains after enabling DPLL · 62b69566
      Ander Conselvan de Oliveira 提交于
      According to bspec, the DDI IO power domains should be enabled after
      enabling the DPLL and mapping it to the DDI. The current order doesn't
      seem to create problems with Skylake and Kabylake, but causes enable
      timeouts in Geminilake.
      
      v2: Rebase.
        - Take power domain references before sanitizing encoders. (Imre)
        - Add comment to get_encoder_power_domains() defition. (Ander)
      
      v3: Don't put the domain if called with HSW/BDW's analog encoder. (CI)
      
      v4: Put IO power domain before unmapping DPLL. (Imre)
        - Change return type of intel_ddi_get_power_domains() to u64. (Imre)
      
      Cc: David Weinehall <david.weinehall@linux.intel.com>
      Cc: Imre Deak <imre.deak@intel.com>
      Signed-off-by: NAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Reviewed-by: David Weinehall <david.weinehall@linux.intel.com> # v1
      Reviewed-by: NImre Deak <imre.deak@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170224141959.5955-1-ander.conselvan.de.oliveira@intel.com
      62b69566
    • A
      drm/i915/glk: Don't enable DDI IO power domains during init · 71cc22e5
      Ander Conselvan de Oliveira 提交于
      In Geminilake, the DDI IO power domains can't be enabled before a DPLL
      is running and mapped to the appropriate DDI. At least on Geminilake,
      attempting to enable those during init will lead to a timeout.
      
      The failure to enable the power domain also causes issues with the state
      verifier during resume from suspend. After all the init power domains
      are enabled, the call to intel_power_domains_sync_hw() from the resume
      path will cause the hw_enabled field on the respective power wells to be
      false while the usage count remains above zero. Further attempts to
      enable the power domain caused by a modeset will simply update the usage
      count without doing anything else. When the state verifier attempts to
      read the state of a DDI encoder, intel_display_power_get_if_enabled()
      returns false, leading to the following WARN:
      
      WARNING: CPU: 3 PID: 1743 at drivers/gpu/drm/i915/intel_display.c:7001 verify_connector_state.isra.80+0x26c/0x2b0 [i915]
      attached crtc is active, but connector isn't
      Modules linked in: i915(E) tun ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_broute bridge stp llc ebtable_nat ip6table_mangle ip6table_security ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_raw iptable_mangle iptable_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_raw ebtable_filter ebtables ip6table_filter ip6_tables x86_pkg_temp_thermal coretemp kvm_intel kvm i2c_algo_bit drm_kms_helper irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel drm shpchp tpm_tis tpm_tis_core tpm nfsd auth_rpcgss nfs_acl lockd grace sunrpc crc32c_intel serio_raw [last unloaded: i915]
      CPU: 3 PID: 1743 Comm: kworker/u8:22 Tainted: G        W   E   4.10.0-rc3ander+ #300
      Hardware name: Intel Corp. Geminilake/GLK RVP1 DDR4 (05), BIOS GELKRVPA.X64.0023.B40.1611302145 11/30/2016
      Workqueue: events_unbound async_run_entry_fn
      Call Trace:
       dump_stack+0x86/0xc3
       __warn+0xcb/0xf0
       warn_slowpath_fmt+0x5f/0x80
       verify_connector_state.isra.80+0x26c/0x2b0 [i915]
       intel_atomic_commit_tail+0x520/0x1000 [i915]
       ? remove_wait_queue+0x70/0x70
       intel_atomic_commit+0x3f8/0x520 [i915]
       ? intel_runtime_pm_put+0x6e/0xa0 [i915]
       drm_atomic_commit+0x4b/0x50 [drm]
       __intel_display_resume+0x72/0xc0 [i915]
       intel_display_resume+0x107/0x150 [i915]
       i915_drm_resume+0xe0/0x180 [i915]
       i915_pm_restore+0x1e/0x30 [i915]
       i915_pm_resume+0xe/0x10 [i915]
       pci_pm_resume+0x64/0xa0
       dpm_run_callback+0xa1/0x2a0
       ? pci_pm_thaw+0x90/0x90
       device_resume+0xe3/0x200
       async_resume+0x1d/0x50
       async_run_entry_fn+0x39/0x170
       process_one_work+0x212/0x670
       ? process_one_work+0x197/0x670
       worker_thread+0x4e/0x490
       kthread+0x101/0x140
       ? process_one_work+0x670/0x670
       ? kthread_create_on_node+0x60/0x60
       ret_from_fork+0x2a/0x40
      
      Cc: David Weinehall <david.weinehall@linux.intel.com>
      Signed-off-by: NAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
      Reviewed-by: NDavid Weinehall <david.weinehall@linux.intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/20170222063431.10060-6-ander.conselvan.de.oliveira@intel.com
      71cc22e5
  9. 20 2月, 2017 5 次提交
  10. 10 2月, 2017 1 次提交
  11. 09 2月, 2017 2 次提交