android_kernel_oneplus_msm8998/drivers/gpu/drm
Ville Syrjälä 7ad57b32aa drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers
[ Upstream commit c978ae9bde582e82a04c63a4071701691dd8b35c ]

We aren't supposed to force a stop+start between every i2c msg
when performing multi message transfers. This should eg. cause
the DDC segment address to be reset back to 0 between writing
the segment address and reading the actual EDID extension block.

To quote the E-DDC spec:
"... this standard requires that the segment pointer be
 reset to 00h when a NO ACK or a STOP condition is received."

Since we're going to touch this might as well consult the
I2C_M_STOP flag to determine whether we want to force the stop
or not.

Cc: Brian Vincent <brainn@gmail.com>
References: https://bugs.freedesktop.org/show_bug.cgi?id=108081
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180928180403.22499-1-ville.syrjala@linux.intel.com
Reviewed-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-27 09:33:53 +02:00
..
amd mm: replace get_user_pages() write/force parameters with gup_flags 2018-12-17 21:55:16 +01:00
armada drm/armada: fix colorkey mode property 2018-08-24 13:26:58 +02:00
ast drm/ast: fixed reading monitor EDID not stable issue 2018-12-17 21:55:11 +01:00
atmel-hlcdc drm: atmel-hlcdc: Fix vertical scaling 2016-09-24 10:07:42 +02:00
bochs
bridge
cirrus drm/drivers: add support for using the arch wc mapping API. 2018-09-09 20:04:36 +02:00
exynos mm: replace get_vaddr_frames() write/force parameters with gup_flags 2018-12-17 21:55:16 +01:00
fsl-dcu
gma500 drm: gma500: fix logic error 2018-12-13 09:21:29 +01:00
i2c drm/bridge: adv7511: Reset registers on hotplug 2018-09-05 09:18:34 +02:00
i810
i915 mm: replace get_user_pages() write/force parameters with gup_flags 2018-12-17 21:55:16 +01:00
imx drm/imx: imx-ldb: check if channel is enabled before printing warning 2018-09-05 09:18:34 +02:00
mga
mgag200 drm/drivers: add support for using the arch wc mapping API. 2018-09-09 20:04:36 +02:00
msm drm/msm: Unblock writer if reader closes file 2019-03-23 08:44:18 +01:00
nouveau drm/nouveau/fbcon: fix oops without fbdev emulation 2018-11-10 07:41:37 -08:00
omapdrm drm/omap: fix memory barrier bug in DMM driver 2018-11-21 09:27:38 +01:00
panel drm/panel: type promotion bug in s6e8aa0_read_mtp_id() 2018-09-26 08:35:10 +02:00
qxl drm: qxl: Don't alloc fbdev if emulation is not supported 2018-03-22 09:23:19 +01:00
r128
radeon drm/radeon/evergreen_cs: fix missing break in switch statement 2019-03-23 08:44:40 +01:00
rcar-du drm: rcar-du: Fix race condition when disabling planes at CRTC stop 2018-02-16 20:09:37 +01:00
rockchip Revert "drm/rockchip: Allow driver to be shutdown on reboot/kexec" 2018-12-21 14:09:51 +01:00
savage
shmobile
sis
sti drm/sti: sti_vtg: Handle return NULL error from devm_ioremap_nocache 2017-11-21 09:21:19 +01:00
tdfx
tegra
tilcdc
ttm drm/ttm: check the return value of kzalloc 2018-03-03 10:19:44 +01:00
udl udl-kms: fix crash due to uninitialized memory 2018-09-05 09:18:39 +02:00
vc4
vgem
via mm: replace get_user_pages() write/force parameters with gup_flags 2018-12-17 21:55:16 +01:00
virtio virtio-gpu: fix ioctl and expose the fixed status to userspace. 2018-05-30 07:49:02 +02:00
vmwgfx drm/vmwgfx: Don't double-free the mode stored in par->set_mode 2019-04-03 06:23:14 +02:00
ati_pcigart.c
drm_agpsupport.c
drm_atomic.c drm/atomic: Handling the case when setting old crtc for plane 2018-08-06 16:24:37 +02:00
drm_atomic_helper.c drm/atomic: fix an error code in mode_fixup() 2017-03-15 09:57:15 +08:00
drm_auth.c
drm_bridge.c
drm_bufs.c drm/bufs: Fix Spectre v1 vulnerability 2019-02-20 10:13:03 +01:00
drm_cache.c
drm_context.c
drm_crtc.c drm: Reject page_flip for !DRIVER_MODESET 2016-09-15 08:27:51 +02:00
drm_crtc_helper.c
drm_crtc_internal.h
drm_debugfs.c
drm_dma.c
drm_dp_helper.c
drm_dp_mst_topology.c drm/dp/mst: Configure no_stop_bit correctly for remote i2c xfers 2019-04-27 09:33:53 +02:00
drm_drv.c drm: drm_minor_register(): Clean up debugfs on failure 2017-11-15 17:13:09 +01:00
drm_edid.c drm/edid: set ELD connector type in drm_edid_to_eld() 2018-03-22 09:23:27 +01:00
drm_edid_load.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c drm/fb-helper: Ignore the value of fb_var_screeninfo.pixclock 2019-01-26 09:42:52 +01:00
drm_flip_work.c
drm_fops.c drm: set FMODE_UNSIGNED_OFFSET for drm files 2018-06-13 16:15:27 +02:00
drm_gem.c drm: Release driver tracking before making the object available again 2017-08-30 10:19:23 +02:00
drm_gem_cma_helper.c
drm_global.c
drm_hashtab.c
drm_info.c
drm_internal.h
drm_ioc32.c drm: Only use compat ioctl for addfb2 on X86/IA64 2016-09-24 10:07:43 +02:00
drm_ioctl.c drm/ioctl: Fix Spectre v1 vulnerabilities 2019-01-13 10:05:27 +01:00
drm_irq.c drm: Defer disabling the vblank IRQ until the next interrupt (for instant-off) 2018-03-22 09:23:20 +01:00
drm_legacy.h
drm_lock.c
drm_memory.c
drm_mipi_dsi.c
drm_mm.c drm: Apply range restriction after color adjustment when allocation 2017-11-30 08:37:27 +00:00
drm_modes.c drm/modes: Prevent division by zero htotal 2019-02-20 10:13:19 +01:00
drm_modeset_lock.c drm: Require __GFP_NOFAIL for the legacy drm_modeset_lock_all 2018-02-25 11:03:35 +01:00
drm_of.c
drm_panel.c
drm_pci.c
drm_plane_helper.c
drm_platform.c
drm_prime.c drm/prime: Pass the right module owner through to dma_buf_export() 2016-10-31 04:13:57 -06:00
drm_probe_helper.c drm: Allow determining if current task is output poll worker 2018-03-18 11:17:48 +01:00
drm_rect.c
drm_scatter.c
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vm.c
drm_vma_manager.c
Kconfig
Makefile