Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 47db35db authored by Ingrid Gallardo's avatar Ingrid Gallardo
Browse files

drm/msm/sde: optimize sde interrupts handling



Current interrupt handler in the sde driver looks
up within a static hash table for the interrupts
that driver needs to service.
Current table holds placeholders for interrupts
which are not in use, this unnecessarily
increments the number of loops to find the
interrupt that needs to be serviced.
This change optimizes the execution by
dynamically allocating the hash table during
initialization with the valid interrupts for
the target, and also prioritize the interrupts
that are most likely to be triggered during
common use cases by adding them at the top of
the table.

Change-Id: I298c6398e1694bb646cb346282f4773246d71946
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent c2cea8f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment