Ville Syrjälä
cccc71b552
drm/i915: Avoid negative shift due to bigjoiner_pipes==0
...
bigjoiner_pipes==0 leads bigjoiner_master_pipe() to
do BIT(ffs(0)-1) which is undefined behaviour. The code should
actually still work fine since the only place we provoke
that is intel_crtc_bigjoiner_slave_pipes() and it'll bitwise
AND the result with 0, so doesn't really matter what we get
out of bigjoiner_master_pipe(). But best not provoke undefined
behaviour anyway.
Reported-by: kernel test robot <oliver.sang@intel.com>
Fixes: a6e7a006f5d5 ("drm/i915: Change bigjoiner state tracking to use the pipe bitmask")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220223131315.18016-2-ville.syrjala@linux.intel.com
Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
2022-02-25 19:06:27 +02:00
..
2022-02-01 11:33:23 +02:00
2021-12-09 11:21:46 +02:00
2022-02-02 07:59:54 -08:00
2022-02-09 21:51:56 +02:00
2022-02-09 21:51:56 +02:00
2022-02-24 17:51:51 +02:00
2022-02-21 12:06:15 +02:00
2022-02-21 12:06:15 +02:00
2021-11-23 13:11:42 +02:00
2021-10-13 13:41:16 +03:00
2021-09-09 12:59:07 +02:00
2022-02-18 08:42:28 +02:00
2022-02-18 08:42:28 +02:00
2022-02-11 22:42:23 +02:00
2022-02-11 22:42:23 +02:00
2021-12-09 16:18:30 +02:00
2021-11-05 13:05:14 +02:00
2022-01-10 16:17:46 +02:00
2021-08-26 10:40:41 +03:00
2022-02-23 15:03:51 -05:00
2022-02-23 13:31:50 +02:00
2022-02-16 15:04:28 +02:00
2022-02-16 12:29:47 -08:00
2022-01-24 15:20:21 +02:00
2022-02-18 17:27:31 +02:00
2022-01-11 14:03:25 -08:00
2022-01-11 14:03:25 -08:00
2021-10-01 13:45:37 +03:00
2021-12-02 13:45:29 +02:00
2022-02-02 07:59:54 -08:00
2022-01-05 17:57:06 +02:00
2021-12-09 16:18:30 +02:00
2022-02-24 17:51:51 +02:00
2022-01-17 10:19:36 +00:00
2021-10-14 18:45:59 +03:00
2022-02-24 17:16:51 -08:00
2022-02-02 07:59:54 -08:00
2022-02-02 07:59:54 -08:00
2022-02-23 13:28:53 +02:00
2021-10-01 13:45:37 +03:00
2022-02-16 12:29:47 -08:00
2022-02-03 12:39:26 +02:00
2021-12-09 11:21:46 +02:00
2022-01-05 17:57:06 +02:00
2022-02-23 15:03:51 -05:00
2022-02-25 19:06:27 +02:00
2022-02-15 14:41:05 +02:00
2022-02-25 18:33:37 +05:30
2022-02-02 07:59:54 -08:00
2021-12-14 10:24:28 +01:00
2022-01-13 15:20:48 +02:00
2022-01-13 15:20:48 +02:00
2022-01-17 11:25:44 +01:00
2021-04-28 11:07:01 +03:00
2022-02-18 10:02:33 +02:00
2022-02-23 15:03:51 -05:00
2022-02-11 11:35:37 +02:00
2021-10-08 13:14:25 +03:00
2022-02-23 15:03:51 -05:00
2022-02-02 07:59:54 -08:00
2021-10-14 12:22:55 +03:00
2021-10-04 12:43:01 +03:00
2022-02-18 06:35:44 -08:00
2022-02-18 06:35:44 -08:00
2022-02-09 13:39:46 +02:00
2022-02-09 13:39:43 +02:00
2022-02-23 15:03:51 -05:00
2021-11-03 11:07:24 +02:00
2022-02-01 11:33:23 +02:00
2021-09-07 15:39:43 -07:00
2022-02-11 12:52:50 +02:00
2022-02-02 07:59:54 -08:00
2021-11-11 11:51:58 +02:00
2022-02-21 12:06:10 +02:00
2021-11-23 13:11:13 +02:00
2021-12-03 11:46:33 +02:00
2022-02-21 12:06:06 +02:00
2022-02-02 07:59:54 -08:00
2021-09-30 11:20:13 +03:00
2022-02-23 15:03:51 -05:00
2021-10-12 12:58:40 +03:00
2022-02-24 17:34:48 +02:00
2022-02-24 17:34:48 +02:00
2022-02-24 17:34:48 +02:00
2021-12-15 17:02:40 +02:00
2022-02-23 15:03:51 -05:00
2022-02-17 10:01:21 +02:00
2022-02-09 13:39:40 +02:00
2021-10-19 09:40:13 +03:00
2021-12-09 11:21:46 +02:00
2021-12-09 11:21:46 +02:00
2021-12-13 12:04:59 +02:00
2022-02-18 16:03:31 -08:00
2021-12-16 16:17:01 +01:00
2022-01-13 15:20:57 +02:00
2022-02-23 15:03:51 -05:00
2022-02-11 22:36:00 +02:00
2022-02-09 13:39:35 +02:00
2021-11-05 13:04:48 +02:00
2022-02-23 15:03:51 -05:00
2021-10-01 10:48:59 +03:00
2022-02-02 07:59:54 -08:00
2022-02-11 09:54:46 +02:00
2021-12-31 12:13:54 +02:00
2022-02-11 12:52:50 +02:00
2021-09-30 11:20:40 +03:00
2021-09-30 11:20:13 +03:00
2022-02-01 11:33:23 +02:00
2022-02-01 11:33:23 +02:00
2021-10-19 09:36:22 +03:00
2021-10-19 09:36:22 +03:00
2021-05-05 21:04:42 +03:00
2022-02-24 17:34:48 +02:00
2021-10-12 12:58:33 +03:00
2022-01-24 15:20:02 +02:00
2021-10-01 10:48:59 +03:00
2022-02-18 07:04:08 -08:00
2021-12-13 12:04:54 +02:00
2021-05-19 23:59:12 -07:00
2021-05-19 23:59:12 -07:00
2021-12-03 11:46:33 +02:00
2021-12-02 11:39:50 +02:00
2022-02-02 07:59:54 -08:00
2022-01-11 14:03:25 -08:00
2022-02-24 17:16:51 -08:00
2021-10-04 12:42:55 +03:00
2022-02-24 17:51:51 +02:00
2021-10-21 22:22:58 +03:00
2022-01-11 14:03:26 -08:00
2022-02-18 12:39:20 +02:00
2021-09-29 23:58:04 +03:00
2021-12-09 11:21:46 +02:00
2022-02-18 06:35:44 -08:00
2022-02-15 14:41:05 +02:00
2022-02-15 14:41:05 +02:00
2022-02-02 17:14:40 +02:00
2021-11-18 22:31:15 +02:00
2021-11-18 22:31:15 +02:00
2021-10-21 21:44:17 +03:00
2022-02-24 17:51:51 +02:00
2022-02-21 12:06:10 +02:00
2022-02-21 12:06:10 +02:00
2021-11-23 13:11:36 +02:00
2022-02-21 12:06:10 +02:00
2022-02-21 12:06:10 +02:00
2021-11-23 13:11:39 +02:00