aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2017-11-25 20:35:52 +0100
committerHans de Goede <[email protected]>2017-12-04 23:03:21 +0100
commit028b186f4489dc58db1143c921f68b5ff6a89131 (patch)
treed6a90d1d6bcb319c6f1a696799862c48220258d9 /drivers/mtd/lpddr/lpddr_cmds.c
parent82daca297506a93354a532f7a08654ef3a646924 (diff)
efifb: Set info->fbcon_rotate_hint based on drm_get_panel_orientation_quirk
On some hardware the LCD panel is not mounted upright in the casing, but rotated by 90 degrees. In this case we want the console to automatically be rotated to compensate. The drm subsys has a quirk table for this, use the drm_get_panel_orientation_quirk function to get the panel orientation and set info->fbcon_rotate_hint based on this, so that the fbcon console on top of efifb gets automatically rotated to compensate for the panel orientation. Acked-by: Bartlomiej Zolnierkiewicz <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions