]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/psr: Share PSR and PSR2 exit mask
authorJosé Roberto de Souza <jose.souza@intel.com>
Wed, 3 Oct 2018 20:50:25 +0000 (13:50 -0700)
committerDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Fri, 5 Oct 2018 23:10:12 +0000 (16:10 -0700)
commitbf80928fbf066826251a9f3f7543ada52cc69c92
treec30ec02195f55a1f35d17927770bb26f08c1c1ee
parent00e5d8b1eb47378924f3de3435450650f426b02a
drm/i915/psr: Share PSR and PSR2 exit mask

Now both PSR and PSR2 have the same exit mask, so let's share then
instead of have the same code 2 times.

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