42f59b83f0
commit babc250e278eac7b0e671bdaedf833759b43bb78 upstream. Rendering calls may be done simultaneously from the workqueue, dlfb_ops_write, dlfb_ops_ioctl, dlfb_ops_set_par and dlfb_dpy_deferred_io. The code is robust enough so that it won't crash on concurrent rendering. However, concurrent rendering may cause display corruption if the same pixel is simultaneously being rendered. In order to avoid this corruption, this patch adds a mutex around the rendering calls. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: Bernie Thompson <bernie@plugable.com> Cc: Ladislav Michl <ladis@linux-mips.org> Cc: <stable@vger.kernel.org> [b.zolnierkie: replace "dlfb:" with "uldfb:" in the patch summary] Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
atmel_lcdc.h | ||
aty128.h | ||
broadsheetfb.h | ||
cirrus.h | ||
cvisionppc.h | ||
da8xx-fb.h | ||
display_timing.h | ||
edid.h | ||
gbe.h | ||
hecubafb.h | ||
ili9320.h | ||
imx-ipu-image-convert.h | ||
imx-ipu-v3.h | ||
kyro.h | ||
mach64.h | ||
maxinefb.h | ||
mbxfb.h | ||
metronomefb.h | ||
mipi_display.h | ||
mmp_disp.h | ||
neomagic.h | ||
newport.h | ||
of_display_timing.h | ||
of_videomode.h | ||
omap-panel-data.h | ||
omapfb_dss.h | ||
omapvrfb.h | ||
permedia2.h | ||
platform_lcd.h | ||
pm3fb.h | ||
pmag-ba-fb.h | ||
pmagb-b-fb.h | ||
pxa168fb.h | ||
radeon.h | ||
s1d13xxxfb.h | ||
sa1100fb.h | ||
samsung_fimd.h | ||
sh_mobile_lcdc.h | ||
sisfb.h | ||
sstfb.h | ||
tdfx.h | ||
tgafb.h | ||
trident.h | ||
udlfb.h | ||
uvesafb.h | ||
vga.h | ||
videomode.h | ||
w100fb.h |