kernel_samsung_a53x/drivers/gpu/drm/mgag200
Thomas Zimmermann c5212b53b5 drm/mgag200: Set DDC timeout in milliseconds
commit ecde5db1598aecab54cc392282c15114f526f05f upstream.

Compute the i2c timeout in jiffies from a value in milliseconds. The
original values of 2 jiffies equals 2 milliseconds if HZ has been
configured to a value of 1000. This corresponds to 2.2 milliseconds
used by most other DRM drivers. Update mgag200 accordingly.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Fixes: 414c45310625 ("mgag200: initial g200se driver (v2)")
Cc: Dave Airlie <airlied@redhat.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Jocelyn Falempe <jfalempe@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Cc: <stable@vger.kernel.org> # v3.5+
Link: https://patchwork.freedesktop.org/patch/msgid/20240513125620.6337-2-tzimmermann@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:20:30 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mgag200_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mgag200_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mgag200_i2c.c drm/mgag200: Set DDC timeout in milliseconds 2024-11-23 23:20:30 +01:00
mgag200_mm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mgag200_mode.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mgag200_reg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00