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

Commit d82f9c01 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: avoid BW down vote after splash memory release"

parents 8f3d6345 9c35c4f2
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 * Copyright (c) 2014-2021, The Linux Foundation. All rights reserved.
 * Copyright (C) 2013 Red Hat
 * Author: Rob Clark <robdclark@gmail.com>
@@ -1099,6 +1100,7 @@ static void _sde_kms_release_splash_resource(struct sde_kms *sde_kms,
	/* remove the votes if all displays are done with splash */
	if (!sde_kms->splash_data.num_splash_displays) {
		for (i = 0; i < SDE_POWER_HANDLE_DBUS_ID_MAX; i++)
			if (sde_kms->perf.sde_rsc_available)
				sde_power_data_bus_set_quota(&priv->phandle, i,
					SDE_POWER_HANDLE_ENABLE_BUS_AB_QUOTA,
					SDE_POWER_HANDLE_ENABLE_BUS_IB_QUOTA);