ddr: detect bandwidth except mali and reduce bandwidth [2/3]
authorwenbiao zhang <wenbiao.zhang@amlogic.com>
Fri, 12 Oct 2018 07:28:54 +0000 (15:28 +0800)
committerwenbiao zhang <wenbiao.zhang@amlogic.com>
Mon, 12 Nov 2018 06:47:52 +0000 (14:47 +0800)
commit4a792086175536ee2d0b86a8e289b2bb0e4ed3f9
treed75c322d373bb7d9b20b56736a2ab980abecab9f
parent0043af53854f3cd2e889b033193d2b7ea0c5ff15
ddr: detect bandwidth except mali and reduce bandwidth [2/3]

PD#SWPL-122

Problem:
ddr bandwidth is tightly in many cases, such as HDR/4K video playing,
and then refresh osd at the same time

Solution:
in most cases the problem is refreshing osd when bandwidth tightly,
so detect ddr bandwidth usage except mali and reduce it when it is tightly

Verify:
verify by p321/r311

Change-Id: Ia594f08dbe9a8a7a8d78b5104c93bddaa8229c0b
Signed-off-by: wenbiao zhang <wenbiao.zhang@amlogic.com>
MAINTAINERS
drivers/amlogic/ddr_tool/ddr_bandwidth.c
include/linux/amlogic/aml_ddr_bandwidth.h
include/linux/amlogic/aml_dmc.h [new file with mode: 0644]