forked from Minki/linux
f0dce5c4fd
Until now, when running at the maximum resolution of 1280x720 at 32bpp
on the JZ4770 SoC the output was garbled, the X/Y position of the
top-left corner of the framebuffer warping to a random position with
the whole image being offset accordingly, every time a new frame was
being submitted.
This problem can be eliminated by using a bigger burst size for the DMA.
Set in each soc_info structure the maximum burst size supported by the
corresponding SoC, and use it in the driver.
Set the new value using regmap_update_bits() instead of
regmap_set_bits(), since we do want to override the old value of the
burst size. (Note that regmap_set_bits() wasn't really valid before for
the same reason, but it never seemed to be a problem).
Cc: <stable@vger.kernel.org>
Fixes:
|
||
---|---|---|
.. | ||
ingenic-drm-drv.c | ||
ingenic-drm.h | ||
ingenic-dw-hdmi.c | ||
ingenic-ipu.c | ||
ingenic-ipu.h | ||
Kconfig | ||
Makefile |