Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 090a78fc authored by Amit Kushwaha's avatar Amit Kushwaha
Browse files

ARM: dts: msm: Add gpu-models property for yupik gpu

Add gpu-models support for yupik gpu to specify different
gpu model names and vulkan device IDs.

Change-Id: Ie6340e55bc29f964a5058e77ced02ece764f4c89
parent 0fb064f1
Loading
Loading
Loading
Loading
+22 −2
Original line number Diff line number Diff line
@@ -57,8 +57,8 @@
		qcom,min-access-length = <32>;
		qcom,ubwc-mode = <3>;

		nvmem-cells = <&gpu_speed_bin>, <&gpu_gaming_bin>;
		nvmem-cell-names = "speed_bin", "gaming_bin";
		nvmem-cells = <&gpu_speed_bin>, <&gpu_gaming_bin>, <&gpu_model_bin>;
		nvmem-cell-names = "speed_bin", "gaming_bin", "gpu_model";

		qcom,tzone-names = "gpuss-0-usr", "gpuss-1-usr";

@@ -119,6 +119,26 @@
			};
		};

		qcom,gpu-models {
			#address-cells = <1>;
			#size-cells = <0>;
			compatible="qcom,gpu-models";

			qcom,gpu-model@0 {
				compatible="qcom,adreno-gpu-a643";
				qcom,gpu-model-id = <172>;
				qcom,gpu-model = "Adreno643v1";
				qcom,vk-device-id = <0x06030501>;
			};

			qcom,gpu-model@1 {
				compatible="qcom,adreno-gpu-a643";
				qcom,gpu-model-id = <190>;
				qcom,gpu-model = "Adreno643v1";
				qcom,vk-device-id = <0x06030501>;
			};
		};

		qcom,gpu-mempools {
			#address-cells = <1>;
			#size-cells = <0>;
+5 −0
Original line number Diff line number Diff line
@@ -5047,6 +5047,11 @@
			bits = <5 1>;
		};

		gpu_model_bin: gpu_model_bin@1e9 {
			reg = <0x1e9 0x2>;
			bits = <5 8>;
		};

		feat_conf_m7: feat_conf_m7@6020 {
			reg = <0x6020 0x4>;
		};