Alvin Lee
ca8179ba11
drm/amd/display: Update phantom pipe enable / disable sequence
...
Previously we would call apply_ctx_to_hw to enable and disable
phantom pipes. However, apply_ctx_to_hw can potentially update
non-phantom pipes as well which is undesired. Instead of calling
apply_ctx_to_hw as a whole, call the relevant helpers for each
phantom pipe when enabling / disabling which will avoid us modifying
hardware state for non-phantom pipes unknowingly.
The use case is for an FRL display where FRL_Update is requested
by the display. In this case link_state_valid flag is cleared in
a passive callback thread and should be handled in the next stream /
link update. However, due to the call to apply_ctx_to_hw for the
phantom pipes during a flip, the main pipes were modified outside
of the desired sequence (driver does not handle link_state_valid = 0
on flips).
Cc: stable@vger.kernel.org # 6.6+
Reviewed-by: Samson Tam <samson.tam@amd.com >
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com >
Signed-off-by: Alvin Lee <alvin.lee2@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2024-02-07 18:27:09 -05:00
..
2024-02-07 18:27:09 -05:00
2023-12-13 15:09:53 -05:00
2023-11-27 13:56:32 -06:00
2023-11-27 13:56:32 -06:00
2024-01-18 17:29:01 -08:00
2023-09-21 10:41:04 -07:00
2024-01-26 22:48:47 +09:00
2023-12-20 07:54:03 +10:00
2024-01-22 19:20:36 +02:00
2023-11-21 09:17:54 +01:00
2024-01-25 14:22:15 +10:00
2023-09-21 10:41:04 -07:00
2024-01-18 21:10:41 +01:00
2023-11-15 10:56:44 +01:00
2024-01-18 21:10:41 +01:00
2024-01-12 12:38:37 +01:00
2024-01-27 03:58:24 +10:00
2024-01-05 10:31:54 +10:00
2023-12-01 16:04:14 +01:00
2023-09-13 11:12:20 -07:00
2023-11-21 09:18:52 +01:00
2024-01-12 11:32:19 -08:00
2023-11-10 16:57:49 +01:00
2024-01-18 17:29:01 -08:00
2023-09-21 10:41:04 -07:00
2024-01-18 17:29:01 -08:00
2023-11-21 09:18:53 +01:00
2024-01-18 17:29:01 -08:00
2024-01-18 17:29:01 -08:00
2023-11-27 13:56:32 -06:00
2024-02-02 17:15:47 +10:00
2023-12-01 12:04:28 +02:00
2024-01-22 09:44:15 +01:00
2023-12-12 11:32:33 +10:00
2023-09-21 10:51:55 -07:00
2023-12-04 09:42:32 +01:00
2024-01-18 17:29:01 -08:00
2023-12-06 10:36:06 +01:00
2024-01-18 17:29:01 -08:00
2024-02-06 12:47:43 +10:00
2024-01-12 14:59:50 -08:00
2023-11-21 09:18:53 +01:00
2023-09-21 10:41:04 -07:00
2023-09-21 10:51:55 -07:00
2024-01-18 21:10:41 +01:00
2024-02-01 13:17:21 +01:00
2024-01-22 09:44:15 +01:00
2023-12-01 12:04:43 +02:00
2023-11-28 21:57:16 +02:00
2023-12-06 10:36:18 +01:00
2024-01-27 03:57:58 +10:00
2023-09-21 10:51:55 -07:00
2023-12-06 10:35:49 +01:00
2024-01-11 11:23:13 -03:00
2023-11-24 11:58:00 +01:00
2024-01-12 11:32:19 -08:00
2024-01-29 11:44:34 +03:00
2023-12-08 10:24:30 +01:00
2023-11-24 15:15:28 +01:00
2024-02-01 11:34:59 +01:00
2023-12-06 10:36:21 +01:00
2023-12-19 17:07:32 +10:00
2023-12-13 15:09:53 -05:00
2023-12-13 15:09:53 -05:00
2023-12-13 15:09:53 -05:00
2024-01-12 11:32:19 -08:00
2023-12-04 21:33:10 +02:00
2023-12-03 20:22:02 +02:00
2023-12-04 16:07:29 +02:00
2023-09-29 08:27:15 +10:00
2023-11-15 13:51:38 +01:00
2023-10-27 16:01:10 +02:00
2023-12-06 10:35:49 +01:00
2023-12-04 21:33:07 +02:00
2023-12-08 15:47:39 +01:00
2023-11-24 15:15:25 +01:00
2023-12-07 12:29:17 +02:00
2023-12-06 10:08:28 +01:00
2023-11-21 12:22:48 +02:00
2024-01-12 11:32:19 -08:00
2023-11-09 16:48:27 +02:00
2023-12-04 16:07:29 +02:00
2023-12-10 10:38:47 -08:00
2023-07-31 20:07:18 +02:00
2023-07-31 20:07:24 +02:00
2023-12-07 09:21:43 +02:00
2023-11-14 10:23:11 +01:00
2023-11-14 10:16:53 +01:00
2023-10-24 21:34:35 +02:00
2023-12-23 07:31:29 +02:00
2023-11-14 10:01:14 +01:00
2023-07-28 11:46:02 +02:00
2023-08-24 07:26:06 +10:00
2023-10-12 10:44:06 +02:00
2023-12-20 07:54:03 +10:00
2023-12-06 10:08:37 +01:00
2023-12-06 10:08:32 +01:00
2023-12-06 10:08:32 +01:00
2023-11-21 12:22:48 +02:00
2023-10-09 16:59:49 +10:00
2023-11-14 10:16:53 +01:00
2023-12-07 09:22:47 +02:00
2023-09-01 08:53:05 +02:00
2023-11-23 17:12:38 +01:00
2023-12-01 09:51:43 -08:00
2023-11-15 16:57:08 +01:00
2023-08-01 07:38:13 -07:00
2023-12-06 10:08:37 +01:00
2023-12-06 10:35:49 +01:00
2023-12-23 07:31:05 +02:00
2023-11-30 14:46:04 -05:00
2023-08-23 17:14:37 -04:00
2023-12-13 15:09:53 -05:00
2024-01-12 11:32:19 -08:00
2023-09-15 14:46:42 +03:00
2023-10-03 16:01:03 +03:00
2023-12-06 10:08:28 +01:00
2023-12-12 14:05:48 -05:00
2023-12-12 14:05:48 -05:00