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

Commit c03a5cf9 authored by Shubhashree Dhar's avatar Shubhashree Dhar Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/sde: add rev check for dbg buses



Add rev checks for debug bus entries for trinket target.

Change-Id: I24ee1c34fe17007f91ed32c9a5d85707057859ef
Signed-off-by: default avatarShubhashree Dhar <dhar@codeaurora.org>
parent 1ee5220d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5147,7 +5147,8 @@ void sde_dbg_init_dbg_buses(u32 hwversion)
		dbg->dbgbus_dsi.entries = dsi_dbg_bus_sdm845;
		dbg->dbgbus_dsi.size = ARRAY_SIZE(dsi_dbg_bus_sdm845);
	} else if (IS_SM8150_TARGET(hwversion) || IS_SM6150_TARGET(hwversion) ||
				IS_SDMMAGPIE_TARGET(hwversion)) {
				IS_SDMMAGPIE_TARGET(hwversion) ||
				IS_SDMTRINKET_TARGET(hwversion)) {
		dbg->dbgbus_sde.entries = dbg_bus_sde_sm8150;
		dbg->dbgbus_sde.cmn.entries_size =
				ARRAY_SIZE(dbg_bus_sde_sm8150);