diff options
author | Jouni Högander <[email protected]> | 2023-11-20 10:26:06 +0200 |
---|---|---|
committer | Jouni Högander <[email protected]> | 2023-11-27 07:36:25 +0200 |
commit | a4f477e6ac171ccdea38556437493c3c5222bbe5 (patch) | |
tree | 831d8859611f9e49890eccd793fefcc5e945efed /net/lapb/lapb_iface.c | |
parent | b1f5279b5981f9ed851163ee661692f42397982f (diff) |
drm/i915/psr: Add proper handling for disabling sel fetch for planes
Currently we are enabling selective fetch for all planes that are visible.
This is suboptimal as we might be fetching for memory for planes that are
not part of selective update.
Fix this by adding proper handling for disabling plane selective fetch:
If plane previously part of selective update is now not part of update:
Add it into updated planes and let the plane configuration to disable
selective fetch for it.
v3: Checkpatch warnings fixed
v2:
- Add setting sel_fetch_area->y1/y2 to -1
- Remove setting again local sel_fetch_area variable
Signed-off-by: Jouni Högander <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions