diff options
author | 2018-06-20 14:25:43 +0100 | |
---|---|---|
committer | 2018-06-20 12:00:31 -0700 | |
commit | c238ad62588981b3e83e1ba41bf5ec57b8875dd4 (patch) | |
tree | d5704c72fbb5e4dc2890e5e391cdadb4f80c0804 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | drm/i915/psr: Fix warning in intel_psr_activate() (diff) | |
download | linux-dev-c238ad62588981b3e83e1ba41bf5ec57b8875dd4.tar.xz linux-dev-c238ad62588981b3e83e1ba41bf5ec57b8875dd4.zip |
drm/i915/psr: fix copy-paste error with setting of tp2_wakeup_time_us
Currently for the psr_table->tp2_tp3_wakeup_time case 3 there appears
to be a copy-paste error from the previous switch statement where
dev_priv->vbt.psr.tp1_wakeup_time_us is being assigned and I believe
it should be dev_priv->vbt.psr.tp2_tp3_wakeup_time_us that should be
assigned instead.
Detected by CoverityScan, CID#1470105 ("Copy-paste error")
Fixes: 77312ae8f071 ("drm/i915/psr: vbt change for psr")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180620132543.28092-1-colin.king@canonical.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions