Skip to content

fb/drm: Add support for a panel-orientation connector prop

Hans de Goede dri-devel linux-fbdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 8 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4video: fb: Make fbcon dmi quirks usuable for drm drivers toodrivers/video/fbdev/core/Makefile drivers/video/fbdev/core/fb_dmi_quirks.c drivers/video/fbdev/core/fbcon.c +2 more+32 -234 replies
2/4drm: Add support for a panel-orientation connector propertydrivers/gpu/drm/drm_connector.c include/drm/drm_connector.h include/drm/drm_mode_config.h +1 more+111 -00 replies
3/4drm/i915: Add "panel orientation" property to the panel connectordrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h +1 more+79 -12 replies
4/4drm/fb-helper: Apply panel orientation connector prop to the primary planedrivers/gpu/drm/drm_fb_helper.c+51 -22 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] fb/drm: Add support for a panel-orientation connector prop

Hi All,

This is a resend of v2 of my panel-orientation drm connector property series. I already send this out 2 weeks ago from my Red Hat email, but that does not get picked up by the drm subsys scripts to run tests, so hence this resend from my gmail.

The 2 biggest changes in v2 are:

1) Add support to drm-fb-helper.c for the panel-orientation prop and make it apply the rotation to the fb to get fbcon to show the right way up.

2) Change the patch to enable the panel-orientation prop in the i915 driver to read back to rotation setup by the BIOS from the hardware (the VBT has a panel rotation field for this, but it reads 0 on hardware where the GOP does correctly rotate the screen, so its useless).

Regards,

Hans