Created
December 9, 2022 18:33
-
-
Save m-weigand/872427df624293625c64045f364696a3 to your computer and use it in GitHub Desktop.
ebc: Maybe improved global refreshes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/rockchip/rockchip_ebc.c b/drivers/gpu/drm/rockchip/rockchip_ebc.c | |
@@ -242,6 +248,10 @@ static int ioctl_trigger_global_refresh(struct drm_device *dev, void *data, | |
ebc->do_one_full_refresh = true; | |
spin_unlock(&ebc->refresh_once_lock); | |
// try to trigger the refresh immediately | |
+ /* if (ebc->refresh_thread->is_parked) */ | |
+ /* printk(KERN_INFO "[rockchip_ebc] thread parked"); */ | |
+ | |
+ kthread_unpark(ebc->refresh_thread); | |
wake_up_process(ebc->refresh_thread); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment