From 481b4fde251891caa677825a5d508cc6166c35dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Wed, 27 Apr 2022 11:36:33 +0200 Subject: [PATCH] pc_intel_fb_drv: fix Shuttle DS57U When using the framebuffer driver on this machine the 'cpu_latency_qos_request_active' dummy is triggered. Removing the trace-and-stop call makes the driver usable. In addition, 'cpu_latency_qos_remove_request' is changed as well although it is guarded by 'cpu_latency_qos_request_active'. Fixes #4489. --- repos/pc/src/drivers/framebuffer/intel/pc/dummies.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/repos/pc/src/drivers/framebuffer/intel/pc/dummies.c b/repos/pc/src/drivers/framebuffer/intel/pc/dummies.c index 96817972cc..050a50c11a 100644 --- a/repos/pc/src/drivers/framebuffer/intel/pc/dummies.c +++ b/repos/pc/src/drivers/framebuffer/intel/pc/dummies.c @@ -605,13 +605,14 @@ void cpu_latency_qos_update_request(struct pm_qos_request *req, s32 new_value) bool cpu_latency_qos_request_active(struct pm_qos_request *req) { - lx_emul_trace_and_stop(__func__); + lx_emul_trace(__func__); + return false; } void cpu_latency_qos_remove_request(struct pm_qos_request *req) { - lx_emul_trace_and_stop(__func__); + lx_emul_trace(__func__); }