Re: [Patch v1 01/10] memory: tegra: add interconnect support for DRAM scaling in Tegra234

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 21/12/22 22:14, Dmitry Osipenko wrote:
External email: Use caution opening links or attachments


21.12.2022 11:05, Sumit Gupta пишет:
On 20/12/22 23:37, Dmitry Osipenko wrote:
External email: Use caution opening links or attachments


20.12.2022 19:02, Sumit Gupta пишет:
+#ifndef MEMORY_TEGRA_ICC_H
+#define MEMORY_TEGRA_ICC_H
+
+enum tegra_icc_client_type {
+     TEGRA_ICC_NONE,
+     TEGRA_ICC_NISO,
+     TEGRA_ICC_ISO_DISPLAY,
+     TEGRA_ICC_ISO_VI,
+     TEGRA_ICC_ISO_AUDIO,
+     TEGRA_ICC_ISO_VIFAL,
+};

You using only TEGRA_ICC_NISO and !TEGRA_ICC_NISO in the code.

include/soc/tegra/mc.h defines TAG_DEFAULT/ISO, please drop all these
duplicated and unused "types" unless there is a good reason to keep them


These type are used while defining clients in "tegra234_mc_clients[]"
and its passed to BPMP-FW which has handling for each client type.

The type should be based on the ICC tag, IMO. AFAICS, type isn't fixed
in FW and you can set both ISO and NISO BW, hence it's up to a device
driver to select the appropriate tag.


Type for a MC client is fixed. So, adding the tag and giving option to client driver won't have impact. Also, we need to pass the type to BPMP from bw set api. But the tag info is available to aggregate api and not set.



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux