Loading drivers/gpu/msm/kgsl.c +14 −0 Original line number Diff line number Diff line Loading @@ -4483,6 +4483,20 @@ int kgsl_device_platform_probe(struct kgsl_device *device) goto error_close_mmu; } /* * The default request type PM_QOS_REQ_ALL_CORES is * applicable to all CPU cores that are online and * would have a power impact when there are more * number of CPUs. PM_QOS_REQ_AFFINE_IRQ request * type shall update/apply the vote only to that CPU to * which IRQ's affinity is set to. */ #ifdef CONFIG_SMP device->pwrctrl.pm_qos_req_dma.type = PM_QOS_REQ_AFFINE_IRQ; device->pwrctrl.pm_qos_req_dma.irq = device->pwrctrl.interrupt_num; #endif pm_qos_add_request(&device->pwrctrl.pm_qos_req_dma, PM_QOS_CPU_DMA_LATENCY, PM_QOS_DEFAULT_VALUE); Loading Loading
drivers/gpu/msm/kgsl.c +14 −0 Original line number Diff line number Diff line Loading @@ -4483,6 +4483,20 @@ int kgsl_device_platform_probe(struct kgsl_device *device) goto error_close_mmu; } /* * The default request type PM_QOS_REQ_ALL_CORES is * applicable to all CPU cores that are online and * would have a power impact when there are more * number of CPUs. PM_QOS_REQ_AFFINE_IRQ request * type shall update/apply the vote only to that CPU to * which IRQ's affinity is set to. */ #ifdef CONFIG_SMP device->pwrctrl.pm_qos_req_dma.type = PM_QOS_REQ_AFFINE_IRQ; device->pwrctrl.pm_qos_req_dma.irq = device->pwrctrl.interrupt_num; #endif pm_qos_add_request(&device->pwrctrl.pm_qos_req_dma, PM_QOS_CPU_DMA_LATENCY, PM_QOS_DEFAULT_VALUE); Loading