aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2018-10-22 17:19:53 +0300
committerVille Syrjälä <[email protected]>2018-11-13 17:15:30 +0200
commit86ef615fa11b57ac44ee895136f05712ea905a39 (patch)
tree561986f4d6f43ea6fe2ce6363996aae0d869d383 /scripts/gcc-plugins/randomize_layout_plugin.c
parentf255c624c11a5f58ff7c866f2bef6d850905dc20 (diff)
drm/i915: Fix the VLV/CHV DSI panel orientation hw readout
Let's make sure the DSI port is actually on before we go poking at the plane register to determine which way it's rotated. Otherwise we could be looking at a plane that is feeding a HDMI port for instance. And in order to read the plane register we need the power well to be on. Make sure that is indeed the case. We'll also make sure the plane is actually enabled before we trust the rotation bit to tell us the truth. v2: s/intel_dsi/vlv_dsi/ Cc: Hans de Goede <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Tested-by: Hans de Goede <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> #irc
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions