Dhinakaran Pandiyan
23effc1100
drm/amdgpu: Handle 64-bit return from drm_crtc_vblank_count()
...
570e86963a51 ("drm: Widen vblank count to 64-bits [v3]") changed the
return type for drm_crtc_vblank_count() to u64. This could cause
potential problems if the return value is used in arithmetic operations
with a 32-bit reference HW vblank count. Explicitly typecasting this down
to u32 either fixes a potential problem or serves to add clarity in case
the typecasting was implicitly done.
Cc: Keith Packard <keithp@keithp.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com> for both this patch
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180203051302.9974-4-dhinakaran.pandiyan@intel.com
2018-02-15 11:49:35 -08:00
..
2017-12-18 10:59:40 -05:00
2016-10-25 14:38:45 -04:00
2017-08-15 14:46:08 -04:00
2017-03-29 23:53:24 -04:00
2018-01-09 10:09:13 +10:00
2018-01-09 10:09:13 +10:00
2018-01-09 10:59:28 +10:00
2017-12-08 23:09:05 -05:00
2017-12-18 10:58:35 -05:00
2017-12-18 10:58:35 -05:00
2017-11-01 23:31:12 -04:00
2017-07-14 11:06:38 -04:00
2018-01-10 15:44:38 -05:00
2017-08-15 14:45:58 -04:00
2017-12-18 10:59:46 -05:00
2017-08-15 14:46:16 -04:00
2017-12-27 11:34:15 -05:00
2017-11-21 14:17:56 +01:00
2015-06-03 21:03:15 -04:00
2018-01-10 15:44:53 -05:00
2017-12-07 11:51:56 -05:00
2017-12-18 10:59:01 -05:00
2017-12-18 10:59:01 -05:00
2018-01-23 10:24:41 -05:00
2018-02-15 11:49:35 -08:00
2017-12-06 12:48:33 -05:00
2017-09-18 23:30:34 -04:00
2017-12-04 16:33:18 -05:00
2017-12-18 10:58:54 -05:00
2015-08-17 16:50:21 -04:00
2015-06-03 21:03:15 -04:00
2017-12-06 12:48:33 -05:00
2017-12-18 10:59:58 -05:00
2017-12-18 10:59:52 -05:00
2017-12-06 12:48:15 -05:00
2016-08-19 12:30:58 -04:00
2018-01-10 15:44:53 -05:00
2017-12-18 10:59:07 -05:00
2017-06-07 18:20:59 -04:00
2017-12-04 16:41:33 -05:00
2017-01-27 11:12:39 -05:00
2016-09-27 13:00:52 -04:00
2017-12-27 11:34:02 -05:00
2017-12-27 11:34:09 -05:00
2017-12-27 11:33:52 -05:00
2017-12-18 10:59:07 -05:00
2017-12-27 11:34:02 -05:00
2015-06-03 21:03:15 -04:00
2017-12-18 10:59:58 -05:00
2017-03-29 23:53:37 -04:00
2017-12-27 11:34:02 -05:00
2017-12-06 12:48:33 -05:00
2017-09-28 08:37:02 +10:00
2017-09-12 14:29:37 -04:00
2017-12-06 12:48:33 -05:00
2017-12-20 16:02:48 -05:00
2017-12-04 16:41:32 -05:00
2016-09-14 15:10:37 -04:00
2015-06-03 21:03:15 -04:00
2017-12-18 10:59:40 -05:00
2017-08-15 14:46:06 -04:00
2017-11-28 17:44:13 -05:00
2016-10-25 14:38:45 -04:00
2017-11-14 11:35:43 -05:00
2017-12-04 16:41:31 -05:00
2017-09-26 15:14:06 -04:00
2017-12-06 12:48:06 -05:00
2017-12-18 10:59:07 -05:00
2017-12-27 11:34:02 -05:00
2017-08-15 14:45:58 -04:00
2017-12-07 11:51:56 -05:00
2017-12-07 11:51:56 -05:00
2017-12-07 11:51:56 -05:00
2017-12-06 12:48:31 -05:00
2017-08-15 14:45:58 -04:00
2017-11-15 20:42:10 -08:00
2017-12-27 11:34:02 -05:00
2017-12-28 09:48:20 -05:00
2017-12-07 11:51:56 -05:00
2017-12-06 12:47:51 -05:00
2017-06-15 11:50:22 -04:00
2017-12-18 11:52:39 -05:00
2017-12-07 11:51:56 -05:00
2018-01-16 15:35:27 -05:00
2017-12-27 11:34:02 -05:00
2017-12-08 11:35:19 -05:00
2017-12-07 11:51:56 -05:00
2017-10-20 13:28:44 -04:00
2017-09-28 16:03:20 -04:00
2017-12-06 12:47:51 -05:00
2017-12-06 12:47:51 -05:00
2018-01-16 15:35:27 -05:00
2017-12-27 11:34:09 -05:00
2017-11-16 13:35:48 -05:00
2018-01-09 10:09:13 +10:00
2017-08-29 15:27:54 -04:00
2017-08-29 15:27:54 -04:00
2017-06-20 12:06:49 -04:00
2016-05-04 20:23:53 -04:00
2016-08-08 13:28:39 -04:00
2015-06-03 21:03:15 -04:00
2017-01-27 11:12:39 -05:00
2015-06-03 21:03:15 -04:00
2017-12-06 12:47:59 -05:00
2016-07-14 16:39:35 -04:00
2017-12-18 10:59:40 -05:00
2017-03-29 23:52:52 -04:00
2017-05-16 17:17:41 +02:00
2017-09-18 23:30:35 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-12-18 11:00:08 -05:00
2016-10-25 14:38:45 -04:00
2017-11-27 18:29:47 -05:00
2015-06-03 21:03:17 -04:00
2017-12-13 17:28:08 -05:00
2017-01-27 12:20:41 -05:00
2015-06-03 21:03:17 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:41:40 -05:00
2016-10-25 14:38:45 -04:00
2017-12-04 16:41:40 -05:00
2016-10-25 14:38:45 -04:00
2017-12-18 10:59:13 -05:00
2016-10-25 14:38:45 -04:00
2017-12-18 10:59:13 -05:00
2016-10-25 14:38:45 -04:00
2017-12-06 12:47:52 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2018-01-09 10:09:13 +10:00
2017-05-31 16:48:48 -04:00
2018-01-09 10:09:13 +10:00
2017-05-31 16:48:48 -04:00
2018-01-16 15:35:28 -05:00
2017-08-15 14:46:13 -04:00
2017-12-18 11:53:08 -05:00
2017-08-15 14:46:00 -04:00
2017-12-27 11:33:52 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:33:52 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:33:52 -05:00
2016-10-25 14:38:45 -04:00
2018-01-18 16:10:36 -05:00
2017-03-29 23:54:44 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2017-09-26 17:01:32 -04:00
2017-12-18 10:59:40 -05:00
2015-06-03 21:03:17 -04:00
2017-05-16 17:17:41 +02:00
2017-12-27 11:33:52 -05:00
2017-12-18 11:53:08 -05:00
2017-08-15 14:46:00 -04:00
2017-04-28 17:32:57 -04:00
2017-12-18 10:59:58 -05:00
2017-09-26 15:14:12 -04:00
2017-12-18 10:59:58 -05:00
2017-09-26 15:14:12 -04:00
2017-12-13 17:28:07 -05:00
2017-12-13 17:28:07 -05:00
2017-12-13 17:28:07 -05:00
2017-12-13 17:28:07 -05:00
2016-10-25 14:38:06 -04:00
2016-07-15 12:33:31 -04:00
2017-03-29 23:54:48 -04:00
2017-12-08 11:35:19 -05:00
2017-09-26 15:14:06 -04:00
2017-12-08 11:35:19 -05:00
2017-09-26 15:14:06 -04:00
2016-08-31 15:21:09 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2017-03-29 23:54:45 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2018-01-10 15:44:27 -05:00
2017-09-18 23:30:35 -04:00
2017-02-08 17:25:02 -05:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-05-16 17:17:41 +02:00
2017-12-18 10:59:40 -05:00
2016-10-25 14:38:45 -04:00
2017-01-27 12:20:41 -05:00
2016-09-28 16:13:17 -04:00
2017-12-13 17:28:07 -05:00
2018-01-19 17:32:07 -05:00
2017-12-08 11:18:51 -05:00
2017-08-18 12:02:11 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2015-09-02 12:21:35 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2018-01-23 01:43:15 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2017-03-29 23:54:47 -04:00
2017-04-04 13:40:33 -04:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2016-10-25 14:38:45 -04:00
2017-12-27 11:34:02 -05:00
2017-03-29 23:54:47 -04:00
2017-12-27 11:34:02 -05:00
2017-05-24 17:41:27 -04:00
2017-12-27 11:34:02 -05:00
2017-03-29 23:54:46 -04:00
2017-12-08 11:16:51 -05:00
2017-03-29 23:54:30 -04:00
2017-01-27 11:12:43 -05:00
2017-12-19 23:44:13 -05:00
2017-03-29 23:53:31 -04:00
2017-11-01 19:22:00 -04:00