linux/drivers/gpu/drm/tegra
Dhinakaran Pandiyan 3abe241337 drm/tegra: Handle 64-bit return from drm_crtc_vblank_count()
570e86963a ("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 implicit typecasting was already correct.

Cc: Keith Packard <keithp@keithp.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180203051302.9974-6-dhinakaran.pandiyan@intel.com
2018-02-15 11:49:49 -08:00
..
dc.c drm/tegra: Handle 64-bit return from drm_crtc_vblank_count() 2018-02-15 11:49:49 -08:00
dc.h drm/tegra: dc: Implement legacy blending 2017-12-21 14:55:55 +01:00
dpaux.c drm/tegra: dpaux: Keep reset defaults for hybrid pad parameters 2017-12-21 14:52:37 +01:00
dpaux.h drm/tegra: dpaux: Configure pads as I2C by default 2015-08-13 13:47:47 +02:00
drm.c drm/tegra: Changes for v4.16-rc1 2018-01-12 11:46:19 +10:00
drm.h drm/tegra: Changes for v4.16-rc1 2018-01-12 11:46:19 +10:00
dsi.c drm/tegra: dsi: Register debugfs in ->late_register() 2017-12-13 13:42:07 +01:00
dsi.h drm/tegra: dsi: Add Tegra210 support 2015-08-13 13:47:45 +02:00
falcon.c drm/tegra: Add falcon helper library 2017-04-05 18:11:47 +02:00
falcon.h drm/tegra: Add falcon helper library 2017-04-05 18:11:47 +02:00
fb.c drm/tegra: Changes for v4.16-rc1 2018-01-12 11:46:19 +10:00
gem.c drm/tegra: gem: Correct iommu_map_sg() error checking 2017-12-21 14:52:39 +01:00
gem.h drm/tegra: Use .dumb_map_offset and .dumb_destroy defaults 2017-08-16 20:13:48 +02:00
gr2d.c gpu: host1x: syncpt: Request syncpoints per client 2017-10-20 14:19:51 +02:00
gr2d.h
gr3d.c gpu: host1x: syncpt: Request syncpoints per client 2017-10-20 14:19:51 +02:00
gr3d.h
hdmi.c drm/tegra: hdmi: Register debugfs in ->late_register() 2017-12-13 13:42:07 +01:00
hdmi.h drm/tegra: hdmi: Enable audio over HDMI 2016-07-04 11:34:31 +02:00
hub.c drm/tegra: Mark Tegra186 display hub PM functions __maybe_unused 2017-12-21 14:52:37 +01:00
hub.h drm/tegra: dc: Use direct offset to plane registers 2017-12-21 14:52:34 +01:00
Kconfig drm/tegra: hdmi: Add cec-notifier support 2017-10-20 14:19:54 +02:00
Makefile drm/tegra: Add Tegra186 display hub support 2017-12-13 14:16:37 +01:00
mipi-phy.c drm/tegra: dsi: Adjust D-PHY timing 2015-01-27 10:14:40 +01:00
mipi-phy.h drm/tegra: Relicense under GPL v2 2014-04-04 09:12:51 +02:00
output.c drm/tegra: sor: Add Tegra186 support 2017-12-13 14:36:36 +01:00
plane.c drm/tegra: dc: Restore YUV overlay support 2018-01-08 13:44:17 +01:00
plane.h drm/tegra: dc: Implement legacy blending 2017-12-21 14:55:55 +01:00
rgb.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
sor.c Linux 4.15-rc8 2018-01-18 09:32:15 +10:00
sor.h drm/tegra: sor: Support HDMI 2.0 modes 2017-12-13 14:36:37 +01:00
trace.c drm/tegra: dc: Trace register accesses 2017-08-17 17:57:14 +02:00
trace.h drm/tegra: trace: Fix path to include 2017-09-26 11:08:17 +02:00
vic.c drm/tegra: Use IOMMU groups 2017-12-21 14:52:36 +01:00
vic.h drm/tegra: Add VIC support 2017-04-05 18:11:48 +02:00