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

Skip to content
Commit 049b77cb authored by Ben Gamari's avatar Ben Gamari Committed by Eric Anholt
Browse files

drm/i915: Warn when inteldrmfb fails to restore its framebuffer config



While sifting through the inteldrmfb code trying to solve #22040 I found that
the fb restore path doesn't check the return value of
drm_crtc_helper_set_config(), which seems to have all sorts of potential
failure modes. We should warn someone if one of these is triggered.

Signed-Off-By: default avatarBen Gamari <bgamari.foss@gmail.com>
Acked-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
[anholt: hand-applied, failures are mine]
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent 3fe0344f
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