]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915: Drop redundant checks to update PSR state
authorJosé Roberto de Souza <jose.souza@intel.com>
Fri, 8 Mar 2019 00:00:48 +0000 (16:00 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 8 Mar 2019 18:31:45 +0000 (10:31 -0800)
commit9f952664e38cb5261f38089527cab6ea53651f02
tree8c91c1577ef91cd25c3d314e05506490549a2468
parent618cf883becd756d519488db6b21ab7a60ce7f7c
drm/i915: Drop redundant checks to update PSR state

All of this checks are redudant and can be removed as the if bellow
already takes care when there is no changes in the state.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190308000050.6226-7-jose.souza@intel.com
drivers/gpu/drm/i915/intel_psr.c