On Fri, Mar 06, 2020 at 02:13:08PM +0000, Rob Herring wrote:
On Thu, Mar 5, 2020 at 8:34 PM Nick Fan nick.fan@mediatek.com wrote:
Sorry for my late reply. I have checked internally. The MT8183_POWER_DOMAIN_MFG_2D is just a legacy name, not really 2D domain.
If the naming too confusing, we can change this name to MT8183_POWER_DOMAIN_MFG_CORE2 for consistency.
Can you clarify what's in each domain? Are there actually 3 shader cores (IIRC, that should be discoverable)?
The cover letter from Nicolas includes:
[ 501.321752] panfrost 13040000.gpu: shader_present=0x7 l2_present=0x1
0x7 is three bits set, so it certainly looks like there are 3 shader cores. Of course I wouldn't guarantee that it is as simple as each power domain has a shader core in. The job manager and tiler also need to be powered somehow, so they are either sharing with a shader core or there's something more complex going on.
Steve