[U-Boot] [linux-sunxi] [u-boot 2/2] sun5i: bump DEBE priority (useful on a10s only)

Hans de Goede
2015-01-04T19:49:38Z

Hi,

On 04-01-15 20:19, Michal Suchanek wrote:
> Setting magic 'reserved' hpcr bit on sun5i DEBE seems required for
> smooth HDMI scanout of large frambuffer (eg. 1080p).
>
> This fix comes at the cost of some overall memory bandwidth so it
> might be appropriate to detect a10s and only apply there (and not a13).

Hmm, Sairhei is the expert on this, adding him to the Cc. Sairhei, what
do you think of the proposed change ?

Regards,

Hans

>
> Signed-off-by: Michal Suchanek <hramrach@gmail.com>
> ---
> arch/arm/cpu/armv7/sunxi/dram_sun4i.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c b/arch/arm/cpu/armv7/sunxi/dram_sun4i.c
> index ec8aaa7..e20cd2b 100644
> --- a/arch/arm/cpu/armv7/sunxi/dram_sun4i.c
> +++ b/arch/arm/cpu/armv7/sunxi/dram_sun4i.c
> @@ -207,7 +207,7 @@ static u32 hpcr_value[32] = {
> 0, 0, 0, 0,
> 0, 0, 0, 0,
> 0, 0, 0, 0,
> - 0x1031, 0x1031, 0x0735, 0x1035,
> + 0x1031, 0x1031, 0x0735, 0x1037,
> 0x1035, 0x0731, 0x1031, 0,
> 0x0301, 0x0301, 0x0301, 0x0301,
> 0x0301, 0x0301, 0x0301, 0
>