Nicholas Kazlauskas
43d10d30df
drm/amd/display: Skip determining update type for async updates
...
[Why]
By passing through the dm_determine_update_type_for_commit for atomic
commits that can be done asynchronously we are incurring a
performance penalty by locking access to the global private object
and holding that access until the end of the programming sequence.
This is also allocating a new large dc_state on every access in addition
to retaining all the references on each stream and plane until the end
of the programming sequence.
[How]
Shift the determination for async update before validation. Return early
if it's going to be an async update.
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com >
Acked-by: Alex Deucher <alexander.deucher@amd.com >
Reviewed-by: David Francis <david.francis@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2019-08-02 10:30:38 -05:00
..
2019-08-02 10:30:38 -05:00
2019-05-30 11:26:41 -07:00
2019-06-21 10:47:15 +01:00
2019-05-28 08:59:11 +10:00
2019-05-21 10:50:46 +02:00
2019-06-13 13:37:19 +02:00
2019-06-04 23:52:09 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-05 17:37:15 +02:00
2019-05-30 11:26:32 -07:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-27 11:48:10 +10:00
2019-05-21 10:50:46 +02:00
2019-06-21 14:00:10 +10:00
2019-06-19 12:07:29 +02:00
2019-06-19 13:24:14 +02:00
2019-05-21 20:47:36 +08:00
2019-06-13 11:55:23 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-05-21 10:50:46 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-05-30 11:26:37 -07:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:32:13 +02:00
2019-06-05 17:37:17 +02:00
2019-06-19 12:07:29 +02:00
2019-06-05 20:31:19 +02:00
2019-08-02 10:30:38 -05:00
2019-06-18 11:44:00 -04:00
2019-06-19 12:32:13 +02:00
2019-06-05 20:31:04 +02:00
2019-05-29 11:49:51 -05:00
2019-06-19 12:17:52 +02:00
2019-04-03 11:15:57 +01:00
2019-06-05 20:29:57 +02:00
2019-06-13 17:35:49 +02:00
2019-06-20 17:03:24 +02:00
2019-06-19 12:07:29 +02:00
2019-05-21 10:50:46 +02:00
2019-06-25 12:59:43 +10:00
2019-05-21 10:50:46 +02:00
2019-05-30 11:26:32 -07:00
2019-08-02 10:18:04 -05:00
2019-06-05 17:37:17 +02:00
2019-06-05 17:30:28 +02:00
2019-05-28 08:59:11 +10:00
2019-05-22 16:08:21 -04:00
2019-06-19 12:32:13 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-06-14 11:44:24 +02:00
2019-06-18 22:56:31 -03:00
2019-06-18 15:22:48 +02:00
2019-05-21 10:50:46 +02:00
2019-05-28 08:59:11 +10:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:17:52 +02:00
2019-06-13 14:31:10 -04:00
2019-06-13 14:31:10 -04:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-13 13:00:29 -04:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:17:51 +02:00
2019-06-04 12:13:47 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:17:50 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-08 16:46:37 +02:00
2019-06-13 16:39:16 +02:00
2019-05-28 09:03:06 +02:00
2019-06-13 16:39:16 +02:00
2019-06-14 16:59:51 +02:00
2019-05-27 18:07:03 +02:00
2019-05-06 16:00:48 +03:00
2019-05-06 16:00:48 +03:00
2019-06-14 19:11:10 +03:00
2019-05-29 20:12:34 +03:00
2019-06-13 16:39:16 +02:00
2019-03-05 13:24:34 -05:00
2019-05-27 18:07:03 +02:00
2019-05-28 09:39:08 +02:00
2019-06-25 14:44:03 +10:00
2019-05-27 18:07:03 +02:00
2019-05-30 11:26:37 -07:00
2019-06-19 12:17:49 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-20 13:35:56 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-06-19 12:07:29 +02:00
2019-06-10 09:14:01 -06:00
2019-06-13 13:37:36 +02:00
2019-06-17 17:37:01 +02:00
2019-05-27 18:07:03 +02:00
2019-05-13 22:05:54 +02:00
2019-06-17 17:37:01 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:06:47 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:17:51 +02:00
2019-02-07 21:48:28 +01:00
2019-05-27 18:07:03 +02:00
2019-05-28 09:39:08 +02:00
2019-06-08 15:07:06 +02:00
2019-01-12 13:08:12 +01:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-04-24 11:30:32 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-20 10:03:21 -04:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 12:07:29 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:06:54 +02:00
2019-06-14 19:10:04 +03:00
2019-06-18 15:41:33 -04:00
2019-05-27 18:07:03 +02:00
2019-05-22 12:43:29 +02:00
2019-05-27 18:07:03 +02:00
2019-05-27 18:07:03 +02:00
2019-06-19 13:24:14 +02:00
2019-06-19 13:24:14 +02:00