José Roberto de Souza 3b6f409547 drm/i915/display/psr: Lock and unlock PSR around pipe updates
Frontbuffer rendering and page flips can race with each other
and this can potentialy cause issues with PSR2 selective fetch.

And because pipe/crtc updates are time sentive we can't grab the
PSR lock after intel_pipe_update_start() and before
intel_pipe_update_end().

So here adding the lock and unlock functions and calls, the
proper PSR2 selective fetch handling will come in a separated patch.

v2:
- fixed new functions documentation

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Cc: Jouni Högander <jouni.hogander@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220405155344.47219-2-jose.souza@intel.com
2022-04-06 08:42:58 -07:00
..
2022-02-18 19:36:36 +01:00
2022-02-25 12:30:01 -08:00
2022-02-14 10:52:27 +10:00
2022-02-17 17:05:07 -08:00
2022-02-07 17:42:44 +01:00
2022-02-25 05:50:18 +10:00
2022-02-01 19:02:41 +10:00
2021-12-09 20:06:54 -08:00
2022-02-07 16:35:35 -08:00
2022-01-11 11:35:28 -08:00
2022-01-12 11:11:34 -08:00
2022-02-14 10:52:27 +10:00
2022-02-25 12:12:06 -08:00
2022-01-22 08:33:37 +02:00
2022-01-16 08:08:11 +02:00
2022-02-02 10:33:04 +05:30
2022-02-19 02:03:58 +01:00
2022-02-28 14:57:14 +10:00
2022-01-22 08:33:37 +02:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-02-18 09:20:52 -08:00
2022-02-25 12:37:41 -08:00
2022-02-28 14:57:14 +10:00
2022-02-08 09:48:44 +01:00
2022-02-25 11:45:29 -08:00
2021-12-29 10:54:50 +01:00
2022-02-24 14:51:45 +01:00
2022-01-20 13:31:46 +02:00
2022-02-25 05:50:18 +10:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00
2021-12-08 14:53:15 -05:00