disp: msm: add runtime_pm ops support in drm driver
Add runtime_pm ops support in drm driver instead of direct sde_power_resource_enable/disable call. It allows drm driver to use runtime pm refcount logic to track the resources instead of custom implementation. The change also removes the NRT_CLIENT support from sde_power_handle code to simplify it further. Change-Id: Ib14692dca5876703d0a230da2512d731b69b8ebb Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
此提交包含在:
@@ -86,23 +86,20 @@ TRACE_EVENT(sde_perf_set_ot,
|
||||
)
|
||||
|
||||
TRACE_EVENT(sde_perf_update_bus,
|
||||
TP_PROTO(int client, u32 bus_id, unsigned long long ab_quota,
|
||||
TP_PROTO(u32 bus_id, unsigned long long ab_quota,
|
||||
unsigned long long ib_quota),
|
||||
TP_ARGS(client, bus_id, ab_quota, ib_quota),
|
||||
TP_ARGS(bus_id, ab_quota, ib_quota),
|
||||
TP_STRUCT__entry(
|
||||
__field(int, client)
|
||||
__field(u32, bus_id);
|
||||
__field(u64, ab_quota)
|
||||
__field(u64, ib_quota)
|
||||
),
|
||||
TP_fast_assign(
|
||||
__entry->client = client;
|
||||
__entry->bus_id = bus_id;
|
||||
__entry->ab_quota = ab_quota;
|
||||
__entry->ib_quota = ib_quota;
|
||||
),
|
||||
TP_printk("Request client:%d bus_id:%d ab=%llu ib=%llu",
|
||||
__entry->client,
|
||||
TP_printk("Request bus_id:%d ab=%llu ib=%llu",
|
||||
__entry->bus_id,
|
||||
__entry->ab_quota,
|
||||
__entry->ib_quota)
|
||||
|
新增問題並參考
封鎖使用者