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

Commit 892e3b3d authored by Mohammed Mirza Mandayappurath Manzoor's avatar Mohammed Mirza Mandayappurath Manzoor
Browse files

msm: kgsl: Correct the logic for isdb breakpoint set



Isdb registers have to be written when the hardware clock gating is off.
Correct the logic to reflect that.

Change-Id: Ic16d316b40649481e0d3b8dc5dfb980c87960a17
Signed-off-by: default avatarMohammed Mirza Mandayappurath Manzoor <mmandaya@codeaurora.org>
parent 46e7ca64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -622,7 +622,7 @@ static void isdb_write(void __iomem *base, u32 offset)

static void set_isdb_breakpoint_registers(struct kgsl_device *device)
{
	if (!device->set_isdb_breakpoint || !device->ftbl->is_hwcg_on(device)
	if (!device->set_isdb_breakpoint || device->ftbl->is_hwcg_on(device)
					|| device->qdss_gfx_virt == NULL)
		return;