Ilija Hadzic's Virtual CRTCs feature discuss

2014-08-18 Thread Derek
Thanks. Best wishes Derek -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140818/515550ec/attachment-0001.html>

Ilija Hadzic's Virtual CRTCs feature discuss

2014-08-25 Thread Derek
ction post related this driver? Thanks. Best wishes Derek On Mon, Aug 25, 2014 at 6:12 AM, Daniel Vetter wrote: > On Mon, Aug 18, 2014 at 03:35:16PM -0700, Derek wrote: > > Hi every one > > I'm currently working on VirtualMonitor in my leisure time. It allows you > > t

Ilija Hadzic's Virtual CRTCs feature discuss

2014-08-27 Thread Derek
Thanks for loop dri-devel back. I didn't realize that I clicked "reply" instead of "reply-all" :( Best wishes Derek On Wed, Aug 27, 2014 at 10:54 AM, Daniel Vetter wrote: > Please don't drop mailing lists, especially when you've dug out some > good i

[PATCH 2/5] dt-bindings: display/panel: Expand rotation documentation

2019-06-10 Thread Derek Basehore
This adds to the rotation documentation to explain how drivers should use the property and gives an example of the property in a devicetree node. Signed-off-by: Derek Basehore --- .../bindings/display/panel/panel.txt | 32 +++ 1 file changed, 32 insertions(+) diff

[PATCH 4/5] drm/connector: Split out orientation quirk detection

2019-06-10 Thread Derek Basehore
This removes the orientation quirk detection from the code to add an orientation property to a panel. This is used only for legacy x86 systems, yet we'd like to start using this on device tree systems where quirk detection like this is not needed. Signed-off-by: Derek Basehore --- driver

[PATCH 5/5] drm/mtk: add panel orientation property

2019-06-10 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions

[PATCH 1/5] drm/panel: Add helper for reading DT rotation

2019-06-10 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 41 + include/drm/drm_panel.h | 7 +++ 2 files changed, 48 insertions(+) diff --git a

[PATCH 3/5] drm/panel: Add attach/detach callbacks

2019-06-10 Thread Derek Basehore
ch as the panel orientation, and display size can be filled in for the connector. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 14 ++ include/drm/drm_panel.h | 4 2 files changed, 18 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/dr

[PATCH 0/5] Panel rotation patches

2019-06-10 Thread Derek Basehore
This adds the plumbing for reading panel rotation from the devicetree and sets up adding a panel property for the panel orientation on Mediatek SoCs when a rotation is present. Derek Basehore (5): drm/panel: Add helper for reading DT rotation dt-bindings: display/panel: Expand rotation

[PATCH 4/5] drm/connector: Split out orientation quirk detection

2019-06-10 Thread Derek Basehore
This removes the orientation quirk detection from the code to add an orientation property to a panel. This is used only for legacy x86 systems, yet we'd like to start using this on devicetree systems where quirk detection like this is not needed. Signed-off-by: Derek Basehore --- driver

[PATCH 1/5] drm/panel: Add helper for reading DT rotation

2019-06-10 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 41 + include/drm/drm_panel.h | 7 +++ 2 files changed, 48 insertions(+) diff --git a

[PATCH 3/5] drm/panel: Add attach/detach callbacks

2019-06-10 Thread Derek Basehore
ch as the panel orientation, and display size can be filled in for the connector. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 14 ++ include/drm/drm_panel.h | 4 2 files changed, 18 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/dr

[PATCH v2 0/5] Panel rotation patches

2019-06-10 Thread Derek Basehore
This adds the plumbing for reading panel rotation from the devicetree and sets up adding a panel property for the panel orientation on Mediatek SoCs when a rotation is present. v2 changes: fixed build errors in i915 Derek Basehore (5): drm/panel: Add helper for reading DT rotation dt

[PATCH 5/5] drm/mtk: add panel orientation property

2019-06-10 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions

[PATCH 2/5] dt-bindings: display/panel: Expand rotation documentation

2019-06-10 Thread Derek Basehore
This adds to the rotation documentation to explain how drivers should use the property and gives an example of the property in a devicetree node. Signed-off-by: Derek Basehore --- .../bindings/display/panel/panel.txt | 32 +++ 1 file changed, 32 insertions(+) diff

[PATCH v3 0/4] Panel rotation patches

2019-06-21 Thread Derek Basehore
update to Documentation -added separate function for quirked panel orientation property init v2 changes: fixed build errors in i915 Derek Basehore (4): drm/panel: Add helper for reading DT rotation drm/panel: set display info in panel attach drm/connector: Split out orientation quirk

[PATCH v3 1/4] drm/panel: Add helper for reading DT rotation

2019-06-21 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 42 + include/drm/drm_panel.h | 7 +++ 2 files changed, 49 insertions(+) diff --git a

[PATCH v3 3/4] drm/connector: Split out orientation quirk detection

2019-06-21 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore --- drivers/gpu/drm

[PATCH v4 4/4] drm/mtk: add panel orientation property

2019-06-21 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions

[PATCH v3 2/4] drm/panel: set display info in panel attach

2019-06-21 Thread Derek Basehore
ction. These values are stored from probe in the drm_panel struct. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 28 include/drm/drm_panel.h | 14 ++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/driver

[PATCH v4 2/4] drm/panel: set display info in panel attach

2019-07-02 Thread Derek Basehore
ction. These values are stored from probe in the drm_panel struct. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 28 include/drm/drm_panel.h | 14 ++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/driver

[PATCH v4 1/4] drm/panel: Add helper for reading DT rotation

2019-07-02 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 7 ++ 2 files changed, 50 insertions(+) diff --git a

[PATCH v4 0/4] Panel rotation patches

2019-07-02 Thread Derek Basehore
: -changed from attach/detach callbacks to directly setting fixed panel values in drm_panel_attach -removed update to Documentation -added separate function for quirked panel orientation property init v2 changes: fixed build errors in i915 Derek Basehore (4): drm/panel: Add helper for reading DT

[PATCH v4 3/4] drm/connector: Split out orientation quirk detection

2019-07-02 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore --- drivers/gpu/drm

[PATCH v4 4/4] drm/mtk: add panel orientation property

2019-07-03 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions

[PATCH v5 1/4] drm/panel: Add helper for reading DT rotation

2019-07-03 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 7 ++ 2 files changed, 50 insertions(+) diff --git a

[PATCH v5 3/4] drm/connector: Split out orientation quirk detection

2019-07-03 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore --- drivers/gpu/drm

[PATCH v5 0/4] Panel rotation patches

2019-07-03 Thread Derek Basehore
helper v3 changes: -changed from attach/detach callbacks to directly setting fixed panel values in drm_panel_attach -removed update to Documentation -added separate function for quirked panel orientation property init v2 changes: fixed build errors in i915 Derek Basehore (4): drm/panel: Add helper

[PATCH v5 4/4] drm/mtk: add panel orientation property

2019-07-04 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions

[PATCH v5 2/4] drm/panel: set display info in panel attach

2019-07-04 Thread Derek Basehore
ction. These values are stored from probe in the drm_panel struct. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 28 include/drm/drm_panel.h | 14 ++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/driver

[PATCH v6 0/4] Panel rotation patches

2019-07-09 Thread Derek Basehore
errors in i915 Derek Basehore (4): drm/panel: Add helper for reading DT rotation drm/panel: set display info in panel attach drm/connector: Split out orientation quirk detection drm/mtk: add panel orientation property drivers/gpu/drm/drm_connector.c| 45 ++- drivers

[PATCH v6 3/4] drm/connector: Split out orientation quirk detection

2019-07-09 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore --- drivers/gpu/drm

[PATCH v6 2/4] drm/panel: set display info in panel attach

2019-07-09 Thread Derek Basehore
ction. These values are stored from probe in the drm_panel struct. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 28 include/drm/drm_panel.h | 14 ++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/driver

[PATCH v6 4/4] drm/mtk: add panel orientation property

2019-07-09 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions

[PATCH v6 1/4] drm/panel: Add helper for reading DT rotation

2019-07-09 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 9 2 files changed, 52 insertions(+) diff --git a

[PATCH v7 4/4] drm/mtk: add panel orientation property

2019-07-09 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore --- drivers/gpu/drm/mediatek/mtk_dsi.c | 8 1 file changed, 8 insertions

[PATCH v7 3/4] drm/connector: Split out orientation quirk detection

2019-07-09 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore --- drivers/gpu/drm

[PATCH v7 2/4] drm/panel: set display info in panel attach

2019-07-09 Thread Derek Basehore
ction. These values are stored from probe in the drm_panel struct. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 28 include/drm/drm_panel.h | 14 ++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/driver

[PATCH v7 1/4] drm/panel: Add helper for reading DT rotation

2019-07-09 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 9 2 files changed, 52 insertions(+) diff --git a

[PATCH v7 0/4] Panel rotation patches

2019-07-09 Thread Derek Basehore
orientation property init v2 changes: fixed build errors in i915 Derek Basehore (4): drm/panel: Add helper for reading DT rotation drm/panel: set display info in panel attach drm/connector: Split out orientation quirk detection drm/mtk: add panel orientation property drivers/gpu/drm

[PATCH v10 0/2] Panel rotation patches

2020-03-06 Thread Derek Basehore
drm_panel_attach -removed update to Documentation -added separate function for quirked panel orientation property init v2 changes: fixed build errors in i915 Derek Basehore (4): drm/panel: Add helper for reading DT rotation drm/panel: set display info in panel attach drm/connector: Split out

[PATCH v10 1/2] drm/panel: Add helper for reading DT rotation

2020-03-06 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore Reviewed-by: Sam Ravnborg --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 9 2 files changed, 52

[PATCH v10 2/2] drm/panel: read panel orientation for BOE tv101wum-nl6

2020-03-06 Thread Derek Basehore
This reads the DT setting for the panel rotation to set the panel orientation in the get_modes callback. Signed-off-by: Derek Basehore --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c b

[PATCH v8 0/4] Panel rotation patches

2019-09-25 Thread Derek Basehore
fixed panel values in drm_panel_attach -removed update to Documentation -added separate function for quirked panel orientation property init v2 changes: fixed build errors in i915 Derek Basehore (4): drm/panel: Add helper for reading DT rotation drm/panel: set display info in panel attach drm

[PATCH v8 3/4] drm/connector: Split out orientation quirk detection

2019-09-25 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore Acked-by: Sam Ravnborg

[PATCH v8 2/4] drm/panel: set display info in panel attach

2019-09-25 Thread Derek Basehore
ction. These values are stored from probe in the drm_panel struct. Signed-off-by: Derek Basehore Reviewed-by: Sam Ravnborg --- drivers/gpu/drm/drm_panel.c | 28 + include/drm/drm_panel.h | 50 + 2 files changed, 78 insertions(+) diff --

[PATCH v8 1/4] drm/panel: Add helper for reading DT rotation

2019-09-25 Thread Derek Basehore
This adds a helper function for reading the rotation (panel orientation) from the device tree. Signed-off-by: Derek Basehore Reviewed-by: Sam Ravnborg --- drivers/gpu/drm/drm_panel.c | 43 + include/drm/drm_panel.h | 9 2 files changed, 52

[PATCH v8 4/4] drm/mtk: add panel orientation property

2019-09-25 Thread Derek Basehore
This inits the panel orientation property for the mediatek dsi driver if the panel orientation (connector.display_info.panel_orientation) is not DRM_MODE_PANEL_ORIENTATION_UNKNOWN. Signed-off-by: Derek Basehore Acked-by: Sam Ravnborg Reviewed-by: CK Hu --- drivers/gpu/drm/mediatek/mtk_dsi.c

[PATCH v11 0/4] Allow USB devices to remain runtime-suspended when sleeping

2016-01-04 Thread Derek Basehore
On Mon, Nov 02, 2015 at 02:50:40AM +0100, Rafael J. Wysocki wrote: > > I've queued up this series for the second half of the v4.4 merge window. > > Thanks, > Rafael > > > ___ > linux-arm-kernel mailing list > linux-arm-kernel at lists.infradead.org >

[PATCH] drm/connector: hdmi: Increase HDMI_MAX_INFOFRAME_SIZE to 30

2024-08-23 Thread Derek Foreman
The DRM infoframe is 26 bytes, with a 4 byte header this gives us 30. The current limit of 29 prevents us from writing DRM infoframes. Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 2 +- drivers/gpu/drm/drm_debugfs.c | 2 +- 2 files changed

[PATCH v2] drm/connector: hdmi: Increase HDMI_MAX_INFOFRAME_SIZE to 30

2024-08-23 Thread Derek Foreman
ENOSPC return from hdmi_infoframe_pack(), and never calling the connector's write_infoframe() vfunc. Increase HDMI_MAX_INFOFRAME_SIZE to 30 so we can successfully write DRM infoframes. The drm_debugfs code is similarly updated. Signed-off-by: Derek Foreman --- drivers/gpu/drm/di

[PATCH v3] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-08-26 Thread Derek Foreman
ENOSPC return from hdmi_infoframe_pack(), and never calling the connector's write_infoframe() vfunc. Instead of having HDMI_MAX_INFOFRAME_SIZE defined in two places, replace HDMI_MAX_INFOFRAME_SIZE with HDMI_INFOFRAME_SIZE(MAX) and make MAX the same size as the DRM infoframe. Signed-off-by:

Re: [PATCH v3] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-08-27 Thread Derek Foreman
On 2024-08-27 05:19, Jani Nikula wrote: On Tue, 27 Aug 2024, Maxime Ripard wrote: Hi, On Mon, Aug 26, 2024 at 07:10:11AM GMT, Derek Foreman wrote: The largest infoframe we create is the DRM (Dynamic Range Mastering) infoframe which is 26 bytes + a 4 byte header, for a total of 30 bytes

[PATCH v4] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-08-27 Thread Derek Foreman
on to be the largest infoframe payload. Fixes: f378b77227bc ("drm/connector: hdmi: Add Infoframes generation") Fixes: c602e4959a0c ("drm/connector: hdmi: Create Infoframe DebugFS entries") Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c

Re: [PATCH v4] drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

2024-09-16 Thread Derek Foreman
Gentle ping - is there anything more I need to do before this can land? Thanks, Derek On 2024-08-28 03:31, Jani Nikula wrote: On Tue, 27 Aug 2024, Derek Foreman wrote: The largest infoframe we create is the DRM (Dynamic Range Mastering) infoframe which is 26 bytes + a 4 byte header, for a

[PATCH] drm/connector: Allow clearing hdr infoframe

2024-11-29 Thread Derek Foreman
we expect it to clear. Disable the infoframe when no output metadata is present to prevent this from happening. Fixes: f378b77227bc4 ("drm/connector: hdmi: Add Infoframes generation") Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 2 ++ 1 file chang

Re: [PATCH] drm/connector: Allow clearing hdr infoframe

2024-12-02 Thread Derek Foreman
On 2024-11-29 17:40, Dmitry Baryshkov wrote: On Fri, Nov 29, 2024 at 03:38:01PM -0600, Derek Foreman wrote: When a display isn't presenting HDR content, the infoframe shouldn't be present at all. Currently if we set the HDR_OUTPUT_METADATA blob, we'll set a Dynamic Range and

[PATCH] drm/connector: Allow clearing HDMI infoframes

2024-12-02 Thread Derek Foreman
t, be generated. This fixes switching to an SDR mode from an HDR one. Fixes: f378b77227bc4 ("drm/connector: hdmi: Add Infoframes generation") Signed-off-by: Derek Foreman --- drivers/gpu/drm/display/drm_hdmi_state_helper.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/

Re: [PATCH] drm/connector: Allow clearing HDMI infoframes

2024-12-16 Thread Derek Foreman
Just a ping - is there anything further I need to do here? On 2024-12-03 03:45, AngeloGioacchino Del Regno wrote: Il 02/12/24 19:19, Derek Foreman ha scritto: Our infoframe setting code currently lacks the ability to clear infoframes. For some of the infoframes, we only need to replace them

[PATCH] drm/rockchip: Don't change hdmi reference clock rate

2024-12-17 Thread Derek Foreman
, as the theoretical timing error in DDC appears to still be within tolerances and harmless - and HDCP and CEC are not yet supported. Signed-off-by: Derek Foreman --- drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw