linux_dsm_epyc7002/drivers/gpu/drm/tilcdc
Logan Gunthorpe 4e5ca2d930 drm/tilcdc: ensure nonatomic iowrite64 is not used
Add a check to ensure iowrite64 is only used if it is atomic.

It was decided in [1] that the tilcdc driver should not be using an
atomic operation (so it was left out of this patchset). However, it turns
out that through the drm code, a nonatomic header is actually included:

include/linux/io-64-nonatomic-lo-hi.h
is included from include/drm/drm_os_linux.h:9:0,
            from include/drm/drmP.h:74,
            from include/drm/drm_modeset_helper.h:26,
            from include/drm/drm_atomic_helper.h:33,
            from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:19:

And thus, without this change, this patchset would inadvertantly
change the behaviour of the tilcdc driver.

[1] lkml.kernel.org/r/CAK8P3a2HhO_zCnsTzq7hmWSz5La5Thu19FWZpun16iMnyyNreQ@mail.gmail.com

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Jyri Sarha <jsarha@ti.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
2017-12-18 13:24:29 +02:00
..
Kconfig drm/tilcdc: Remove obsolete "ti,tilcdc,slave" dts binding support 2017-11-20 14:30:50 +02:00
Makefile fixes/cleanups for rc1, non-desktop flags for VR 2017-11-23 21:04:56 -10:00
tilcdc_crtc.c drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode() 2017-10-13 15:24:21 +03:00
tilcdc_drv.c drm/tilcdc: Use drm_gem_cma_print_info() 2017-11-11 11:24:12 +01:00
tilcdc_drv.h
tilcdc_external.c
tilcdc_external.h
tilcdc_panel.c drm/tilcdc: tilcdc_panel: make of_device_ids const. 2017-10-05 11:47:10 +03:00
tilcdc_panel.h
tilcdc_plane.c
tilcdc_regs.h drm/tilcdc: ensure nonatomic iowrite64 is not used 2017-12-18 13:24:29 +02:00
tilcdc_tfp410.c drm/tilcdc: tilcdc_tfp410: make of_device_ids const. 2017-10-05 11:47:11 +03:00
tilcdc_tfp410.h