mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 04:25:27 +08:00
drm/exynos/decon5433: do not use unnecessary software trigger
Software trigger should not be used if hardware trigger is configured. Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
parent
b0bb3d0775
commit
3f4c8e5c28
@ -434,7 +434,8 @@ static void decon_te_irq_handler(struct exynos_drm_crtc *crtc)
|
|||||||
{
|
{
|
||||||
struct decon_context *ctx = crtc->ctx;
|
struct decon_context *ctx = crtc->ctx;
|
||||||
|
|
||||||
if (!test_bit(BIT_CLKS_ENABLED, &ctx->flags))
|
if (!test_bit(BIT_CLKS_ENABLED, &ctx->flags) ||
|
||||||
|
(ctx->out_type & I80_HW_TRG))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (test_and_clear_bit(BIT_WIN_UPDATED, &ctx->flags))
|
if (test_and_clear_bit(BIT_WIN_UPDATED, &ctx->flags))
|
||||||
|
Loading…
Reference in New Issue
Block a user