[Freedreno] [DPU PATCH v2 1/6] drm/msm: remove display stream compression(DSC) support for SM845

2018-04-19 Thread Jeykumar Sankaran
Upstream DSI driver doesn't support DSC panels yet. Remove the support for compression from DPU for now. changes in v2: - indents and unrelated change clean up (Sean Paul) - fix compilation dependency in dsi-staging Signed-off-by: Jeykumar Sankaran ---

[Freedreno] [DPU PATCH v2 3/6] drm/msm: remove panel autorefresh support for SDM845

2018-04-19 Thread Jeykumar Sankaran
Remove autorefresh support for smart panels in SDM845 for now. It needs more discussion to figure out the user space communication to set preference for the feature. changes in v2: - none Reviewed-by: Sean Paul Signed-off-by: Jeykumar Sankaran

[Freedreno] [DPU PATCH v2 4/6] drm/msm: strip down custom event ioctl's

2018-04-19 Thread Jeykumar Sankaran
Remove custom ioctl support in SDM845 which allows user space to register/unregister for hw events. changes in v2: - none Reviewed-by: Sean Paul Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 218

[Freedreno] [DPU PATCH v2 2/6] drm/msm: remove support for ping pong split topology

2018-04-19 Thread Jeykumar Sankaran
ping pong split topology was meant for low end soc's which doesn't have enough layer mixers to support split panels. Considering how uncommon the topology is for current chipset's and also to simply the driver programming, striping off the support for SDM845. changes in v2: - none

[Freedreno] [DPU PATCH v2 0/6] Switch DPU to use upstream DSI driver for SDM845

2018-04-19 Thread Jeykumar Sankaran
SDM845 DPU driver was talking to dsi-staging driver for its dsi operations through the customized dpu_connector layer. The following series of patches removes DPU dependency from various dpu connector API's before purging the dpu_connector altogether. It also completes the switch to upstream DSI

[Freedreno] [DPU PATCH] drm/msm: populate aspace in msm_kms

2018-04-19 Thread Jeykumar Sankaran
display drivers may need to access aspace to allocate internal buffers (e.g. DSI to allocate cmd buffer) This change populates the needed info. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 7 +-- 1 file changed, 5 insertions(+), 2

Re: [Freedreno] [DPU PATCH 5/6] drm/msm: hook up DPU with upstream DSI

2018-04-19 Thread Jeykumar Sankaran
On 2018-04-19 08:38, Sean Paul wrote: On Mon, Apr 16, 2018 at 11:22:20AM -0700, Jeykumar Sankaran wrote: Switch DPU from dsi-staging to upstream dsi driver. To make the switch atomic, this change includes: - remove dpu connector layers - clean up dpu connector dependencies in encoder/crtc -

[Freedreno] [[RFC]DPU PATCH 4/4] dt-bindings: drm/panel: Document Innolux TV123WAM panel bindings

2018-04-19 Thread Sandeep Panda
The Innolux TV123WAM is a 12.3" eDP display panel with 2160x1440 resolution. Signed-off-by: Sandeep Panda --- .../bindings/display/panel/innolux,edp-2k-panel.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644

[Freedreno] [[RFC]DPU PATCH 2/4] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-04-19 Thread Sandeep Panda
Document the bindings used for the sn65dsi86 DSI to eDP bridge. Changes in v1: - Rephrase the dt-binding descriptions to be more inline with existing bindings (Andrzej Hajda). - Add missing dt-binding that are parsed by corresponding driver (Andrzej Hajda). Changes in v2: - Removed edp

[Freedreno] [[RFC]DPU PATCH 1/4] drm/bridge: add support for sn65dsi86 bridge driver

2018-04-19 Thread Sandeep Panda
Add support for TI's sn65dsi86 dsi2edp bridge chip. The chip converts DSI transmitted signal to eDP signal, which is fed to the connected eDP panel. This chip can be controlled via either i2c interface or dsi interface. Currently in driver all the control registers are being accessed through i2c

[Freedreno] [[RFC]DPU PATCH 3/4] drm/panel: add Innolux TV123WAM eDP panel driver

2018-04-19 Thread Sandeep Panda
Add support for Innolux TV123WAM 12.3" panel which is an eDP panel. Signed-off-by: Sandeep Panda --- drivers/gpu/drm/panel/panel-innolux-tv123wam.c | 293 + 1 file changed, 293 insertions(+) create mode 100644

[Freedreno] [[RFC]DPU PATCH 0/4] Add suppport for sn65dsi86 bridge chip and Innolux 2k edp panel driver

2018-04-19 Thread Sandeep Panda
Changelog: v4: - Current patchset separates out eDP panel specific resources from sn65dsi86 bridge driver and creates a separate driver for the innloux edp panel. - Removed the unnecessary header files and variables used in driver. - Replaced irq_gpio as "interrupts" property in

Re: [Freedreno] [DPU PATCH v2 1/2] drm/panel: Add Truly NT35597 panel

2018-04-19 Thread Archit Taneja
Hi, On Saturday 14 April 2018 12:55 PM, Abhinav Kumar wrote: From: Archit Taneja You can drop DPU from the subject. Also, you'd need to add Theirry Reading for panel related patches, and Rob Herring for an Ack on the DT bindings. I think you can change the author to

Re: [Freedreno] [DPU PATCH v3 2/2] drm/msm/dsi: Use one connector for dual DSI mode

2018-04-19 Thread Archit Taneja
On Thursday 19 April 2018 01:15 AM, Chandan Uddaraju wrote: Current DSI driver uses two connectors for dual DSI case even though we only have one panel. Fix this by implementing one connector/bridge for dual DSI use case. Use master DSI controllers to register one connector/bridge. Changes in

Re: [Freedreno] [DPU PATCH v3 2/2] drm/msm/dsi: Use one connector for dual DSI mode

2018-04-19 Thread Sean Paul
On Wed, Apr 18, 2018 at 12:45:15PM -0700, Chandan Uddaraju wrote: > Current DSI driver uses two connectors for dual DSI case even > though we only have one panel. Fix this by implementing one > connector/bridge for dual DSI use case. Use master DSI > controllers to register one connector/bridge. >

Re: [Freedreno] [DPU PATCH v3 2/2] drm/msm/dsi: Use one connector for dual DSI mode

2018-04-19 Thread Sean Paul
On Wed, Apr 18, 2018 at 12:45:15PM -0700, Chandan Uddaraju wrote: > Current DSI driver uses two connectors for dual DSI case even > though we only have one panel. Fix this by implementing one > connector/bridge for dual DSI use case. Use master DSI > controllers to register one connector/bridge. >

Re: [Freedreno] [DPU PATCH 6/6] drm/msm: remove dsi-staging driver

2018-04-19 Thread Sean Paul
On Mon, Apr 16, 2018 at 11:22:21AM -0700, Jeykumar Sankaran wrote: > SDM845 has switched from dsi-staging to dsi driver. Removing > stale code. > > Signed-off-by: Jeykumar Sankaran > --- > .../config/arm64/chromiumos-arm64.flavour.config |1 - >

Re: [Freedreno] [[RFC]DPU PATCH 1/4] drm/bridge: add support for sn65dsi86 bridge driver

2018-04-19 Thread Jordan Crouse
On Wed, Apr 18, 2018 at 05:49:59PM +0530, Sandeep Panda wrote: > Add support for TI's sn65dsi86 dsi2edp bridge chip. > The chip converts DSI transmitted signal to eDP signal, > which is fed to the connected eDP panel. > > This chip can be controlled via either i2c interface or > dsi interface.

[Freedreno] [PATCH 11/61] gpu: drm: msm: simplify getting .drvdata

2018-04-19 Thread Wolfram Sang
We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. Please apply individually. drivers/gpu/drm/msm/msm_drv.c | 3 +-- 1 file

[Freedreno] [PATCH 12/61] gpu: drm: msm: adreno: simplify getting .drvdata

2018-04-19 Thread Wolfram Sang
We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. Please apply individually. drivers/gpu/drm/msm/adreno/adreno_device.c | 6

[Freedreno] [PATCH 00/61] tree-wide: simplify getting .drvdata

2018-04-19 Thread Wolfram Sang
I got tired of fixing this in Renesas drivers manually, so I took the big hammer. Remove this cumbersome code pattern which got copy-pasted too much already: - struct platform_device *pdev = to_platform_device(dev); - struct ep93xx_keypad *keypad = platform_get_drvdata(pdev); +

[Freedreno] [PATCH 14/61] gpu: drm: msm: dsi: simplify getting .drvdata

2018-04-19 Thread Wolfram Sang
We should get drvdata from struct device directly. Going via platform_device is an unneeded step back and forth. Signed-off-by: Wolfram Sang --- Build tested only. buildbot is happy. Please apply individually. drivers/gpu/drm/msm/dsi/dsi_host.c | 6 ++ 1