diff options
author | Sean Paul <seanpaul@chromium.org> | 2019-11-06 14:41:15 -0500 |
---|---|---|
committer | Sean Paul <seanpaul@chromium.org> | 2019-11-06 15:20:37 -0500 |
commit | b149cbfeecaa2b2870d2c4f878382a024e6e4975 (patch) | |
tree | f7087b1b658692c96caabe1ca42dfdcddf4b99b9 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 7f4009c4bbea4438b50f3b12d1c57da3f5cd8db3 (diff) | |
download | linux-b149cbfeecaa2b2870d2c4f878382a024e6e4975.tar.bz2 |
drm/mst: Fix up u64 division
Change rem_nsec to u32 since that's what do_div returns, this avoids the
u64 divide in the drm_print args.
Changes in v2:
- Instead of doing do_div in drm_print, make rem_nsec u32 (Ville)
Link to v1: https://patchwork.freedesktop.org/patch/msgid/20191106173622.15573-1-sean@poorly.run
Fixes: 12a280c72868 ("drm/dp_mst: Add topology ref history tracking for debugging")
Cc: Juston Li <juston.li@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <hwentlan@amd.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Sean Paul <sean@poorly.run>
Cc: Lyude Paul <lyude@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191106194121.164458-1-sean@poorly.run
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions