[PATCH v4 2/5] drm/msm/dp: add audio support for Display Port on MSM

2020-08-31 Thread Abhinav Kumar
branch Changes in v3: none Changes in v4: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/Makefile| 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 7 + drivers/gpu/drm/msm/dp/dp_audio.c | 583 drivers/gpu/drm/msm/dp/dp_audio.h

[PATCH v4 3/5] drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver

2020-08-31 Thread Abhinav Kumar
of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_audio.c | 25 - drivers/gpu/drm/msm/dp/dp_display.c | 23 +++ drivers/gpu/drm/msm/dp/dp_display.h | 7 +++ 3 files changed, 54 insertions(+), 1 deletion(-) diff --git a

[PATCH 1/4] drm/msm/dp: add debugfs support to DP driver

2020-09-03 Thread Abhinav Kumar
To prepare the MSM DP driver for running video pattern compliance tests introduce debugfs module for it. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/Makefile| 3 +- drivers/gpu/drm/msm/dp/dp_debug.c | 310 drivers/gpu/drm/msm/dp/dp_debug.h

[PATCH 0/4] Add support for video pattern DP CTS to MSM DP

2020-09-03 Thread Abhinav Kumar
/project/dri-devel/list/?series=339847 [2] https://patchwork.kernel.org/project/dri-devel/list/?series=339997 [3] https://patchwork.kernel.org/project/dri-devel/list/?series=341175 Abhinav Kumar (4): drm/msm/dp: add debugfs support to DP driver drm/msm/dp: move debugfs node to /sys/kernel/debug

[PATCH 3/4] drm/msm/dp: add debugfs nodes for video pattern tests

2020-09-03 Thread Abhinav Kumar
Add the debugfs nodes needed for the video pattern compliance tests to MSM DP driver. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_debug.c | 184 ++ drivers/gpu/drm/msm/dp/dp_link.h | 23 2 files changed, 207 insertions(+) diff --git a/drivers

[PATCH 4/4] drm/msm/dp: remove mode hard-coding in case of DP CTS

2020-09-03 Thread Abhinav Kumar
No need to fix the number of resolutions to one during the video pattern CTS test. The userspace test client will handle both the hotplug as well as picking the right resolution for the test. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 3 -- drivers/gpu/drm/msm/dp

[PATCH 2/4] drm/msm/dp: move debugfs node to /sys/kernel/debug/dri/*/

2020-09-03 Thread Abhinav Kumar
Move the MSM DP debugfs node from /sys/kernel/debug/drm_dp to /sys/kernel/debug/dri/*/ as required for video pattern compliance test suite. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 7 + drivers/gpu/drm/msm/dp/dp_debug.c | 31

[PATCH v5 0/5] Add audio support for MSM DisplayPort driver

2020-09-10 Thread Abhinav Kumar
latest patchset of dependency changes in v5: - rebase on top of latest patchset of dependency - fix crash when trying to play audio in DP suspend state Abhinav Kumar (5): drm/msm/dp: store dp_display in the driver data drm/msm/dp: add audio support for Display Port on MSM drm/msm/dp

[PATCH v5 3/5] drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver

2020-09-10 Thread Abhinav Kumar
of dependency Changes in v5: rebase on top of latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_audio.c | 25 - drivers/gpu/drm/msm/dp/dp_display.c | 24 drivers/gpu/drm/msm/dp/dp_display.h | 7 +++ 3

[PATCH v5 1/5] drm/msm/dp: store dp_display in the driver data

2020-09-10 Thread Abhinav Kumar
Store the dp_display in the platform driver data instead of the dp_display_private. This is required to allow other sub-modules to reuse the platform driver data. Changes in v3: none Changes in v4: none Changes in v5: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c

[PATCH v5 5/5] drm/msm/dp: wait for audio notification before disabling clocks

2020-09-10 Thread Abhinav Kumar
: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_audio.c | 32 +++ drivers/gpu/drm/msm/dp/dp_display.c | 40 + drivers/gpu/drm/msm/dp/dp_display.h | 3 +++ 3 files changed, 70 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_audio.c b

[PATCH v5 2/5] drm/msm/dp: add audio support for Display Port on MSM

2020-09-10 Thread Abhinav Kumar
branch Changes in v3: none Changes in v4: none Changes in v5: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/Makefile| 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 7 + drivers/gpu/drm/msm/dp/dp_audio.c | 583 drivers/gpu/drm/msm

[PATCH v5 4/5] drm/msm/dp: signal the hotplug disconnect in the event handler

2020-09-10 Thread Abhinav Kumar
latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index 43e5240a87ad..59ffdb8a1636

[PATCH v6 1/5] drm/msm/dp: store dp_display in the driver data

2020-09-12 Thread Abhinav Kumar
-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index fa92b6cd6e3e..0defab6e2478 100644 --- a/drivers/gpu/drm/msm

[PATCH v6 2/5] drm/msm/dp: add audio support for Display Port on MSM

2020-09-12 Thread Abhinav Kumar
branch Changes in v3: none Changes in v4: none Changes in v5: none Changes in v6: rebase on top of latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/Makefile| 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 7 + drivers/gpu/drm/msm/dp

[PATCH v6 4/5] drm/msm/dp: signal the hotplug disconnect in the event handler

2020-09-12 Thread Abhinav Kumar
latest patchset of dependency Changes in v6: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/msm/dp/dp_display.c b/drivers/gpu/drm/msm/dp/dp_display.c index

[PATCH v6 3/5] drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver

2020-09-12 Thread Abhinav Kumar
of dependency Changes in v5: rebase on top of latest patchset of dependency Changes in v6: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_audio.c | 25 - drivers/gpu/drm/msm/dp/dp_display.c | 24 drivers/gpu/drm/msm/dp

[PATCH v6 0/5] Add audio support for MSM DisplayPort driver

2020-09-12 Thread Abhinav Kumar
udio during shutdown changes in v4: - rebase on top of latest patchset of dependency changes in v5: - rebase on top of latest patchset of dependency - fix crash when trying to play audio in DP suspend state changes in v6: - rebase on top of latest patchset of dependency Abhinav K

[PATCH v6 5/5] drm/msm/dp: wait for audio notification before disabling clocks

2020-09-12 Thread Abhinav Kumar
: - rebased on top of latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_audio.c | 32 +++ drivers/gpu/drm/msm/dp/dp_display.c | 40 + drivers/gpu/drm/msm/dp/dp_display.h | 3 +++ 3 files changed, 70 insertions(+), 5

[PATCH v2 3/4] drm/msm/dp: add debugfs nodes for video pattern tests

2020-09-12 Thread Abhinav Kumar
Add the debugfs nodes needed for the video pattern compliance tests to MSM DP driver. Changes in v2: rebase on top of latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_debug.c | 184 ++ drivers/gpu/drm/msm/dp/dp_link.h | 23

[PATCH v2 2/4] drm/msm/dp: move debugfs node to /sys/kernel/debug/dri/*/

2020-09-12 Thread Abhinav Kumar
Move the MSM DP debugfs node from /sys/kernel/debug/drm_dp to /sys/kernel/debug/dri/*/ as required for video pattern compliance test suite. Changes in v2: rebase on top of latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 7 + drivers

[PATCH v2 1/4] drm/msm/dp: add debugfs support to DP driver

2020-09-12 Thread Abhinav Kumar
To prepare the MSM DP driver for running video pattern compliance tests introduce debugfs module for it. Changes in v2: rebase on top of latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/Makefile| 3 +- drivers/gpu/drm/msm/dp/dp_debug.c | 310

[PATCH v2 4/4] drm/msm/dp: remove mode hard-coding in case of DP CTS

2020-09-12 Thread Abhinav Kumar
No need to fix the number of resolutions to one during the video pattern CTS test. The userspace test client will handle both the hotplug as well as picking the right resolution for the test. Changes in v2: rebase on top of latest patchset of dependency Signed-off-by: Abhinav Kumar --- drivers

[PATCH v2 0/4] Add support for video pattern DP CTS to MSM DP

2020-09-12 Thread Abhinav Kumar
/project/dri-devel/list/?series=339847 [2] https://patchwork.freedesktop.org/patch/390217/?series=79210&rev=8 [3] https://patchwork.kernel.org/project/dri-devel/list/?series=347831 Changes in v2: rebase on top of latest patchset of dependencies Abhinav Kumar (4): drm/msm/dp: add debugfs suppor

[PATCH 2/4] drm/msm/dp: add audio support for Display Port on MSM

2020-08-12 Thread Abhinav Kumar
Introduce audio support for Display Port on MSM chipsets. This change integrates DP audio sub-module with the main Display Port platform driver. In addition, this change leverages hdmi_codec_ops to expose the operations to the audio driver. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm

[PATCH 0/4] Add audio support for MSM DisplayPort driver

2020-08-12 Thread Abhinav Kumar
/11047883/ [2] https://patchwork.kernel.org/patch/11708677/ Abhinav Kumar (4): drm/msm/dp: store dp_display in the driver data drm/msm/dp: add audio support for Display Port on MSM drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver drm/msm/dp: signal the hotplug disconnect in the

[PATCH 1/4] drm/msm/dp: store dp_display in the driver data

2020-08-12 Thread Abhinav Kumar
Store the dp_display in the platform driver data instead of the dp_display_private. This is required to allow other sub-modules to reuse the platform driver data. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 25 +++-- 1 file changed, 15 insertions

[PATCH 4/4] drm/msm/dp: signal the hotplug disconnect in the event handler

2020-08-12 Thread Abhinav Kumar
Signal the hotplug disconnect event to the audio side in the event handler so that they are notified earlier and have more time to process the disconnect event. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH 3/4] drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver

2020-08-12 Thread Abhinav Kumar
Add the hook_plugged_cb op for the MSM DP driver to signal connect and disconnect events to the hdmi-codec driver which in-turn shall notify the audio subsystem to start a new or teardown an existing session. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_audio.c | 25

[PATCH v2 0/4] Add audio support for MSM DisplayPort driver

2020-08-13 Thread Abhinav Kumar
/11047883/ [2] https://patchwork.kernel.org/patch/11708677/ Abhinav Kumar (4): drm/msm/dp: store dp_display in the driver data drm/msm/dp: add audio support for Display Port on MSM drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver drm/msm/dp: signal the hotplug disconnect in the

[PATCH v2 3/4] drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver

2020-08-13 Thread Abhinav Kumar
Add the hook_plugged_cb op for the MSM DP driver to signal connect and disconnect events to the hdmi-codec driver which in-turn shall notify the audio subsystem to start a new or teardown an existing session. Changes in v2: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp

[PATCH v2 1/4] drm/msm/dp: store dp_display in the driver data

2020-08-13 Thread Abhinav Kumar
Store the dp_display in the platform driver data instead of the dp_display_private. This is required to allow other sub-modules to reuse the platform driver data. Changes in V2: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 25 +++-- 1 file

[PATCH v2 4/4] drm/msm/dp: signal the hotplug disconnect in the event handler

2020-08-13 Thread Abhinav Kumar
Signal the hotplug disconnect event to the audio side in the event handler so that they are notified earlier and have more time to process the disconnect event. Changes in v2: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 20 ++-- 1 file changed

[PATCH v2 2/4] drm/msm/dp: add audio support for Display Port on MSM

2020-08-13 Thread Abhinav Kumar
branch Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/Makefile| 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 6 + drivers/gpu/drm/msm/dp/dp_audio.c | 583 drivers/gpu/drm/msm/dp/dp_audio.h | 72 +++ drivers/gpu/drm/msm/dp

[PATCH v3 3/5] drm/msm/dp: add hook_plugged_cb hdmi-codec op for MSM DP driver

2020-08-17 Thread Abhinav Kumar
Add the hook_plugged_cb op for the MSM DP driver to signal connect and disconnect events to the hdmi-codec driver which in-turn shall notify the audio subsystem to start a new or teardown an existing session. Changes in v2: none Changes in v3: none Signed-off-by: Abhinav Kumar --- drivers/gpu

[PATCH v3 1/5] drm/msm/dp: store dp_display in the driver data

2020-08-17 Thread Abhinav Kumar
Store the dp_display in the platform driver data instead of the dp_display_private. This is required to allow other sub-modules to reuse the platform driver data. Changes in v3: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 25 +++-- 1 file

[PATCH v3 0/5] add audio support for Display Port on MSM

2020-08-17 Thread Abhinav Kumar
/11047883/ [2] https://patchwork.kernel.org/patch/11708677/ changes in v2: - fix up a compilation issue on drm-next branch changes in v3: - add support to synchronize DP driver and audio during shutdown Abhinav Kumar (5): drm/msm/dp: store dp_display in the driver data drm/msm

[PATCH v3 2/5] drm/msm/dp: add audio support for Display Port on MSM

2020-08-17 Thread Abhinav Kumar
branch Changes in v3: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/Makefile| 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 6 + drivers/gpu/drm/msm/dp/dp_audio.c | 583 drivers/gpu/drm/msm/dp/dp_audio.h | 72

[PATCH v3 5/5] drm/msm/dp: wait for audio notification before disabling clocks

2020-08-17 Thread Abhinav Kumar
addition, audio side can open the sound card even if DP monitor is not connected. Avoid programming hardware registers in this case and bail out early. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_audio.c | 32 + drivers/gpu/drm/msm/dp/dp_display.c | 28

[PATCH v3 4/5] drm/msm/dp: signal the hotplug disconnect in the event handler

2020-08-17 Thread Abhinav Kumar
Signal the hotplug disconnect event to the audio side in the event handler so that they are notified earlier and have more time to process the disconnect event. Changes in v3: none Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dp/dp_display.c | 20 ++-- 1 file changed

Re: [PATCH v9 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-10-04 Thread Abhinav Kumar
Abhinav Kumar wrote: Add the device tree bindings for Truly NT35597 panel driver. This panel driver supports both single DSI and dual DSI. By driver, you means drives panel timing signals or a Linux driver? The former is okay, the latter is not. Yes, I mean it driver panel timing signals

Re: [PATCH v9 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-10-05 Thread Abhinav Kumar
Hi Rob Had one question on below comment. Can you please help to clarify? Thanks Abhinav On 2018-10-04 12:42, Abhinav Kumar wrote: Hi Rob Thanks for the review. Will copy the DT list in the next patchset. Some comments inline. Thanks Abhinav On 2018-10-04 12:01, Rob Herring wrote: If

Re: [PATCH] drm/msm: validate display and event threads

2018-10-05 Thread Abhinav Kumar
On 2018-10-05 12:49, Jeykumar Sankaran wrote: While creating display and event threads per crtc, validate them before setting their priorities. Change-Id: I1dda805286df981c0f0e2b26507d089d3a21ff6c Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/msm_drv.c | 49 ++--

[PATCH v10 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-10-05 Thread Abhinav Kumar
fix a typo Reviewed-by: Linus Walleij Reviewed-by: Sean Paul Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/truly,nt35597.txt | 59 ++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/truly,nt35597.txt

[PATCH v10 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-10-05 Thread Abhinav Kumar
: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-truly-nt35597.c | 675 3 files changed, 683 insertions(+) create mode 100644 drivers/gpu/drm/panel/panel-truly

Re: [PATCH -next] drm/msm/dpu: remove duplicated include from dpu_hw_lm.c

2018-10-05 Thread Abhinav Kumar
On 2018-10-05 18:49, YueHaibing wrote: Remove duplicated include. Signed-off-by: YueHaibing Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_lm.c b/drivers/gpu/drm/msm/disp/dpu1

[PATCH] drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver

2018-10-10 Thread Abhinav Kumar
Fix the dsi clock names in the DSI 10nm PLL driver to match the names in the dispcc driver as those are according to the clock plan of the chipset. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH v2] drm/msm/dsi: fix dsi clock names in DSI 10nm PLL driver

2018-10-11 Thread Abhinav Kumar
Fix the dsi clock names in the DSI 10nm PLL driver to match the names in the dispcc driver as those are according to the clock plan of the chipset. Changes in v2: - Update the clock diagram with the new clock name Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 8

Re: [PATCH 5/6] drm/panel: simple: Innolux TV123WAM is actually P120ZDG-BF1

2018-10-25 Thread Abhinav Kumar
drm/panel: simple: Add Innolux TV123WAM panel driver support") > Signed-off-by: Douglas Anderson > Cc: Sandeep Panda > --- If Rob is onboard with this binding change, please feel free to add Reviewed-by: Abhinav Kumar > > drivers/gpu/drm/panel/panel-simple.c | 14 +++

[PATCH v3 1/2] Add support for Truly NT35597 panel used in MSM reference platforms.

2018-05-23 Thread Abhinav Kumar
changes in delays in panel sequences - Cleaned up probe function Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-truly-nt35597.c | 588

[PATCH v3 2/2] dt-bindings: Add Truly NT35597 panel bindings

2018-05-23 Thread Abhinav Kumar
Add the device tree bindings for Truly NT35597 panel. This panel supports both single DSI and dual DSI. However, this patch series supports only dual DSI. Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/truly,nt35597.txt | 69 ++ 1 file changed, 69

[PATCH v3 1/2] drm/panel: Add support for Truly NT35597 panel

2018-05-23 Thread Abhinav Kumar
the documentation to cover the port information - Formatting fixes and changes in delays in panel sequences - Cleaned up probe function Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile

[PATCH v3 2/2] dt-bindings: Add Truly NT35597 panel bindings

2018-05-23 Thread Abhinav Kumar
Add the device tree bindings for Truly NT35597 panel. This panel supports both single DSI and dual DSI. However, this patch series supports only dual DSI. Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/truly,nt35597.txt | 69 ++ 1 file changed, 69

[PATCH v4 2/2] dt-bindings: Add Truly NT35597 panel bindings

2018-05-25 Thread Abhinav Kumar
Add the device tree bindings for Truly NT35597 panel. This panel supports both single DSI and dual DSI. However, this patch series supports only dual DSI. Changes in v4: - None Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/truly,nt35597.txt | 69 ++ 1

[PATCH v4 1/2] drm/panel: Add support for Truly NT35597 panel

2018-05-25 Thread Abhinav Kumar
messages and return code Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-truly-nt35597.c | 576 3 files changed, 585

[DPU PATCH] drm/msm: make pclk_rate u64 to avoid truncation

2018-05-29 Thread Abhinav Kumar
Higher values of pclk can exceed 32 bits when multiplied by a factor. Make the pclk_rate u64 to accommodate higher pixel clock rates. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi_host.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm

[DPU PATCH v2] drm/msm: make pclk_rate u64 to avoid truncation

2018-05-30 Thread Abhinav Kumar
Higher values of pclk can exceed 32 bits when multiplied by a factor. Make the pclk_rate u64 to accommodate higher pixel clock rates. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi_host.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers

[DPU PATCH v3] Higher values of pclk can exceed 32 bits when multiplied by a factor.

2018-06-01 Thread Abhinav Kumar
Make the pclk_rate u64 to accommodate higher pixel clock rates. Changes in v3: - Rebased on top of https://patchwork.kernel.org/patch/10348865/ Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi_host.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a

[DPU PATCH v4] drm/msm: higher values of pclk can exceed 32 bits when multiplied by a factor.

2018-06-07 Thread Abhinav Kumar
Make the pclk_rate u64 to accommodate higher pixel clock rates. Changes in v4: - fixed commit message Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi_host.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers

[DPU PATCH v4] drm/msm: higher values of pclk can exceed 32 bits when multiplied by a factor

2018-06-07 Thread Abhinav Kumar
Make the pclk_rate u64 to accommodate higher pixel clock rates. Changes in v4: - fixed commit message Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi_host.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/dsi/dsi_host.c b/drivers

[DPU PATCH] drm/msm: remove support for seamless modes

2018-06-12 Thread Abhinav Kumar
://patchwork.freedesktop.org/series/44592/ Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c| 31 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 106 +--- drivers/gpu/drm/msm/msm_kms.h | 44 include/uapi/drm/drm_mode.h

[DPU PATCH] drm/msm/dsi: configure VCO rate for 10nm PLL driver

2018-06-14 Thread Abhinav Kumar
Currenty the VCO rate in the 10nm PLL driver relies on the parent rate which is not configured. Configure the VCO rate to 19.2 Mhz as required by the 10nm PLL driver. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/pll/dsi_pll_10nm.c | 4 +++- 1 file changed, 3 insertions(+), 1

[PATCH v6 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-08-17 Thread Abhinav Kumar
rd and the panel - Remove the display timing node Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/truly,nt35597.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/truly,nt35597.txt diff --git a/Doc

[PATCH v6 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-08-17 Thread Abhinav Kumar
nel driver - Have a data member for each compatible string - Remove the panel commands split as its not required for the panel init functionality Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/pane

[PATCH RESEND v6 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-08-28 Thread Abhinav Kumar
rd and the panel - Remove the display timing node Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/truly,nt35597.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/truly,nt35597.txt diff --git a/Doc

[PATCH RESEND v6 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-08-28 Thread Abhinav Kumar
nel driver - Have a data member for each compatible string - Remove the panel commands split as its not required for the panel init functionality Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/pane

Re: Question on 640x480 @ 72fps

2018-08-31 Thread Abhinav Kumar
Hi Sean/Ville Thanks for the comments. This mode 640x480 @ 72Hz comes directly from the VESA spec ( DMT Standards and Guidelines Summary ). Yes, I understand that the hardware will still be running at 72.8 Hz. The background behind the test is its actually testing out the EDID parser with d

Re: [PATCH RESEND v6 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-04 Thread Abhinav Kumar
e know if there are any concerns with this. Thanks Abhinav On 2018-09-03 15:00, Linus Walleij wrote: On Mon, Sep 3, 2018 at 9:50 PM Bjorn Andersson wrote: On Tue 28 Aug 15:39 PDT 2018, Abhinav Kumar wrote: > From: "abhin...@codeaurora.org" > > Add support for Truly NT35597 pa

[DPU PATCH] drm/msm/dsi: set encoder mode for DRM bridge explicitly

2018-06-15 Thread Abhinav Kumar
Currently, DRM bridge for DPU relies on the default video mode setting to set the encoder mode. Add an explicit call to set the encoder mode for bridges. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi_manager.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

[DPU PATCH] drm/msm/dsi: add only dsi nodes with a valid device to list

2018-06-15 Thread Abhinav Kumar
in creation of redundant connectors. Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/msm/dsi/dsi.c | 6 +- drivers/gpu/drm/msm/dsi/dsi.h | 1 + drivers/gpu/drm/msm/dsi/dsi_host.c | 10 ++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm

[PATCH v5] arm64: dts: sdm845: Add display nodes to MTP dts

2018-12-05 Thread Abhinav Kumar
: Abhinav Kumar --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 118 1 file changed, 118 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index d667eee..ee63783 100644 --- a/arch/arm64/boot/dts/qcom/sdm845

Re: [PATCH] drm/msm: dpu: Don't enable vblank interrupts in irq_control

2018-12-07 Thread Abhinav Kumar
On 2018-12-07 09:16, Sean Paul wrote: From: Sean Paul The irq_control function is called upon encoder enable/disable and turns on/off the vblank interrupts. Unfortunately, it enables them when the drm code is not expecting them to be on. As a result, we can get into nasty locking situations.

Re: [PATCH v5] arm64: dts: sdm845: Add display nodes to MTP dts

2018-12-07 Thread Abhinav Kumar
On 2018-12-07 12:59, Doug Anderson wrote: Hi, On Wed, Dec 5, 2018 at 7:35 PM Abhinav Kumar wrote: +&dsi0 { + status = "okay"; + qcom,dual-dsi-mode; + qcom,master-dsi; + qcom,sync-dual-dsi; + + vdda-supply = <&vdda_mipi_dsi0_1p

Re: [PATCH] drm/msm: dpu: Don't enable vblank interrupts in irq_control

2018-12-07 Thread Abhinav Kumar
On 2018-12-07 13:50, Sean Paul wrote: On Fri, Dec 07, 2018 at 01:16:54PM -0800, Abhinav Kumar wrote: On 2018-12-07 09:16, Sean Paul wrote: > From: Sean Paul > > The irq_control function is called upon encoder enable/disable and turns > on/off the vblank interrupts. Unfortunately

Re: [PATCH 1/3] drm/msm: dpu: Clear frame_busy_mask bit after trace

2018-09-19 Thread Abhinav Kumar
On 2018-09-19 11:33, Sean Paul wrote: From: Sean Paul We're printing the frame_busy_mask in a trace, but after it's been cleared. This, as it turns out, is pretty pointless. Signed-off-by: Sean Paul Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2

Re: [PATCH 2/3] drm/msm: dpu: Add extra_flush_bits to trigger_flush trace

2018-09-19 Thread Abhinav Kumar
On 2018-09-19 11:33, Sean Paul wrote: From: Sean Paul It's useful to know which bits of the flush come from "extra_flush_bits" Signed-off-by: Sean Paul Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 3 ++- drivers/gpu/drm/msm/disp/dpu1/dpu

Re: [PATCH 3/3] drm/msm: dpu: Don't store/deref pointers in trace ringbuffer

2018-09-19 Thread Abhinav Kumar
ter fixing the minor nit please add, Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 98 +-- 1 file changed, 55 insertions(+), 43 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h index ae

[PATCH v7 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-09-19 Thread Abhinav Kumar
ver string and the resolution - Indicate reset GPIO is ACTIVE_LOW Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/truly,nt35597.txt | 60 ++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/truly,nt35597.txt di

[PATCH v7 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-19 Thread Abhinav Kumar
ned-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-truly-nt35597.c | 706 3 files changed, 715 insertions(+) create mode 100644 d

Re: [PATCH v7 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-20 Thread Abhinav Kumar
Hi Sean Sure, I will address these in v8. Thanks Abhinav On 2018-09-20 08:52, Sean Paul wrote: On Wed, Sep 19, 2018 at 07:55:39PM -0700, Abhinav Kumar wrote: From: "abhin...@codeaurora.org" Add support for Truly NT35597 panel driver used in MSM reference platforms. This pa

Re: [PATCH v7 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-20 Thread Abhinav Kumar
Hi Bjorn Thanks for the comment. Yes, I will move of_node_put(dsi1) to right after of_find_mipi_dsi_host_by_node and remove it from err_dsi_device. Thanks Abhinav On 2018-09-20 09:54, Bjorn Andersson wrote: On Wed 19 Sep 19:55 PDT 2018, Abhinav Kumar wrote: +static int truly_nt35597_probe

[PATCH v8 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-09-20 Thread Abhinav Kumar
From: "abhin...@codeaurora.org" Add the device tree bindings for Truly NT35597 panel driver. This panel driver supports both single DSI and dual DSI. However, this patch series supports only dual DSI. Changes in v8: - None Signed-off-by: Abhinav Kumar --- .../devicetree/bindin

[PATCH v8 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-20 Thread Abhinav Kumar
nd headers - Remove unused macros - Try to avoid multi-lines wherever possible - Fix comments locations and make it concise - Fix return points in probe function Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/pane

Re: [PATCH v8 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-27 Thread Abhinav Kumar
Hi Thierry Thanks for the comments. I will fix these in v9. Thanks Abhinav On 2018-09-27 05:20, Thierry Reding wrote: On Thu, Sep 20, 2018 at 03:52:36PM -0700, Abhinav Kumar wrote: From: "abhin...@codeaurora.org" Add support for Truly NT35597 panel driver used in MSM reference

[PATCH v9 2/2] dt-bindings: Add Truly NT35597 panel driver bindings

2018-09-28 Thread Abhinav Kumar
Add the device tree bindings for Truly NT35597 panel driver. This panel driver supports both single DSI and dual DSI. However, this patch series supports only dual DSI. Changes in v9: - None Reviewed-by: Linus Walleij Reviewed-by: Sean Paul Signed-off-by: Abhinav Kumar --- .../devicetree

[PATCH v9 1/2] drm/panel: Add support for Truly NT35597 panel driver

2018-09-28 Thread Abhinav Kumar
number of lines used by comments - Fix return value in probe - Fix driver name to use '-' instead of '_' Reviewed-by: Sean Paul Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 7 + drivers/gpu/drm/panel/Makefil

[PATCH v5 1/2] drm/panel: Add support for Truly NT35597 panel

2018-08-02 Thread Abhinav Kumar
n - Remove truly_wqxga_panel_del and do necessary cleanup - Replace dev_err with DRM_DEV_ERROR Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-truly

[PATCH v5 2/2] dt-bindings: Add Truly NT35597 panel bindings

2018-08-02 Thread Abhinav Kumar
From: "abhin...@codeaurora.org" Add the device tree bindings for Truly NT35597 panel. This panel supports both single DSI and dual DSI. However, this patch series supports only dual DSI. Changes in v5: - None Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/tru

[PATCH v5 1/2] drm/panel: Add support for Truly NT35597 panel

2018-08-02 Thread Abhinav Kumar
n - Remove truly_wqxga_panel_del and do necessary cleanup - Replace dev_err with DRM_DEV_ERROR Signed-off-by: Archit Taneja Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/panel/Kconfig | 8 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-truly

[PATCH v5 2/2] dt-bindings: Add Truly NT35597 panel bindings

2018-08-02 Thread Abhinav Kumar
From: "abhin...@codeaurora.org" Add the device tree bindings for Truly NT35597 panel. This panel supports both single DSI and dual DSI. However, this patch series supports only dual DSI. Changes in v5: - None Signed-off-by: Abhinav Kumar --- .../devicetree/bindings/display/tru

Re: [PATCH] drm/msm: Remove prototypes for non-existing functions

2024-08-22 Thread Abhinav Kumar
, 2 deletions(-) Thanks for the patch Reviewed-by: Abhinav Kumar

Re: [PATCH 1/1] drm/msm: fix %s null argument error

2024-08-27 Thread Abhinav Kumar
rm_printf(p, "%s:%d\t%d\t%s\n", pipe2name(pipe), j, inuse, - plane ? plane->name : NULL); + plane ? plane->name : "(null)"); total += inuse; } Change itself looks fine to me, Reviewed-by: Abhinav Kumar

Re: [PATCH v5 03/16] drm/msm/dpu: move CRTC resource assignment to dpu_encoder_virt_atomic_mode_set

2024-08-27 Thread Abhinav Kumar
On 7/16/2024 4:06 PM, Dmitry Baryshkov wrote: On Wed, 17 Jul 2024 at 01:40, Abhinav Kumar wrote: On 6/24/2024 2:13 PM, Dmitry Baryshkov wrote: Historically CRTC resources (LMs and CTLs) were assigned in dpu_crtc_atomic_begin(). The commit 9222cdd27e82 ("drm/msm/dpu: move hw res

Re: [PATCH v5 05/12] drm/msm/dpu: move pstate->pipe initialization to dpu_plane_atomic_check

2024-08-27 Thread Abhinav Kumar
Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) Reviewed-by: Abhinav Kumar

Re: [PATCH v5 07/12] drm/msm/dpu: move scaling limitations out of the hw_catalog

2024-08-27 Thread Abhinav Kumar
/drm/msm/disp/dpu1/dpu_plane.c | 16 +--- 3 files changed, 13 insertions(+), 19 deletions(-) If we do end up with different scaling limits in the future, we will decide on what would be the best way to handle that, but till then, Reviewed-by: Abhinav Kumar

Re: [PATCH v5 08/12] drm/msm/dpu: split dpu_plane_atomic_check()

2024-08-28 Thread Abhinav Kumar
On 6/26/2024 2:46 PM, Dmitry Baryshkov wrote: Split dpu_plane_atomic_check() function into two pieces: dpu_plane_atomic_check_nopipe() performing generic checks on the pstate, without touching the associated pipe, and dpu_plane_atomic_check_pipes(), which takes into account used pipes. Sig

Re: [PATCH v5 09/12] drm/msm/dpu: move rot90 checking to dpu_plane_atomic_check_pipe()

2024-08-28 Thread Abhinav Kumar
On 6/26/2024 2:46 PM, Dmitry Baryshkov wrote: Move a call to dpu_plane_check_inline_rotation() to the dpu_plane_atomic_check_pipe() function, so that the rot90 constraints are checked for both pipes. Also move rotation field from struct dpu_plane_state to struct dpu_sw_pipe_cfg. Signed-off-by

Re: [PATCH v5 08/12] drm/msm/dpu: split dpu_plane_atomic_check()

2024-08-28 Thread Abhinav Kumar
On 8/28/2024 11:59 AM, Dmitry Baryshkov wrote: On Wed, 28 Aug 2024 at 21:27, Abhinav Kumar wrote: On 6/26/2024 2:46 PM, Dmitry Baryshkov wrote: Split dpu_plane_atomic_check() function into two pieces: dpu_plane_atomic_check_nopipe() performing generic checks on the pstate, without

Re: [PATCH 03/11] drm/msm/dsi: correct programming sequence for SM8350 / SM8450

2024-08-28 Thread Abhinav Kumar
000ULL) + config->pll_clock_inverters = 0x00; + else + config->pll_clock_inverters = 0x40; } Sorry for the delay, my request for the docs was first rejected for some reason :) Now I finally got access and this matches the docs Reviewed-by: Abhinav Kumar

Re: [PATCH -next] drm/msm: Use devm_platform_ioremap_resource_byname()

2024-08-28 Thread Abhinav Kumar
/msm_io_utils.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) Reviewed-by: Abhinav Kumar

<    10   11   12   13   14   15   16   17   18   19   >