]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/vbt: Parse and use the new field with PSR2 TP2/3 wakeup time
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 12 Mar 2019 19:57:41 +0000 (12:57 -0700)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 13 Mar 2019 21:20:19 +0000 (14:20 -0700)
commit88a0d9606aff09d2b1c5dbe95a9df9dac44e79b6
tree2cce749791862b074b0230c0e5d24f96457dfaf1
parentc6c30b917d40047cfd19f7a28a8eea7b6ddd6634
drm/i915/vbt: Parse and use the new field with PSR2 TP2/3 wakeup time

A new field with the training pattern(TP) wakeup time for PSR2 was
added to VBT, so lets use it when available otherwise it will
fallback to PSR1 wakeup time.

v2: replacing enum to numerical usec time (Jani)

BSpec: 20131

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190312195743.8829-1-jose.souza@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_psr.c
drivers/gpu/drm/i915/intel_vbt_defs.h