Re: [Freedreno] [DPU PATCH v2 2/2] drm/panel: add backlight control support for truly panel

2018-05-23 Thread abhinavk
Hi Bjorn Thanks for the comments. I will upload a new patch for this which will be dependent on https://patchwork.kernel.org/patch/10377537/ series. This series registers the backlight device we need. Thanks Abhinav On 2018-04-18 21:42, Bjorn Andersson wrote: On Wed 18 Apr 21:23 PDT 2018,

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

2018-05-23 Thread abhinavk
Thanks Archit for your comments. I have addressed all of them in V3 and added Theirry Reading and Rob Herring for reviews as well. Abhinav On 2018-04-19 10:44, Archit Taneja wrote: Hi, On Saturday 14 April 2018 12:55 PM, Abhinav Kumar wrote: From: Archit Taneja You can drop DPU from the

Re: [Freedreno] [DPU PATCH 4/7] drm/msm/dpu: switch to drm zpos property

2018-05-23 Thread Jordan Crouse
On Wed, May 23, 2018 at 12:30:59PM -0700, Jeykumar Sankaran wrote: > Replace custom plane zpos property with drm core zpos > property. CRTC relies on the normalized zpos values > to configure blend stages of each plane. > > Signed-off-by: Jeykumar Sankaran > --- > drivers/gpu/drm/msm/disp/dpu1/d

[Freedreno] [DPU PATCH 6/7] drm/msm: remove msm_prop files

2018-05-23 Thread Jeykumar Sankaran
Remove hand rolled msm property caching to handle DPU custom properties. This change also cleans up all its dependencies to cache and restore respective drm states. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/Makefile | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_core_

[Freedreno] [DPU PATCH 4/7] drm/msm/dpu: switch to drm zpos property

2018-05-23 Thread Jeykumar Sankaran
Replace custom plane zpos property with drm core zpos property. CRTC relies on the normalized zpos values to configure blend stages of each plane. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 36 +-- drivers/gpu/drm/msm/disp/dpu1/dp

[Freedreno] [DPU PATCH 7/7] drm/msm: remove dpu specific uapi header

2018-05-23 Thread Jeykumar Sankaran
remove unwanted dpu uapi headers exposing custom payload layouts for custom properties Signed-off-by: Jeykumar Sankaran --- include/uapi/drm/dpu_drm.h| 220 --- include/uapi/drm/msm_drm_pp.h | 345 -- 2 files changed, 565 deleti

[Freedreno] [DPU PATCH 0/7] clean up DPU custom properties

2018-05-23 Thread Jeykumar Sankaran
Submitting a series of patches to further clean up DPU driver by stripping down a list of custom properties supporting proprietary features. It removes the property installers/handlers and cleans up relevant files of of some of the advanced features. This series is based on the patch[1] available

[Freedreno] [DPU PATCH 5/7] drm/msm/dpu: clean up dpu crtc custom properties

2018-05-23 Thread Jeykumar Sankaran
Remove dpu crtc custom properties and its handlers. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/Makefile | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c | 28 - drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 856 +- drivers/gpu/drm/m

[Freedreno] [DPU PATCH 1/7] drm/msm: remove connector custom properties

2018-05-23 Thread Jeykumar Sankaran
Cleanup residual connector property enumerations. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/msm_drv.h | 27 --- 1 file changed, 27 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 90a2521..954ac12 100644 --- a/d

[Freedreno] [DPU PATCH 3/7] drm/msm: enable zpos normalization

2018-05-23 Thread Jeykumar Sankaran
Enable drm core zpos normalization for planes. Signed-off-by: Jeykumar Sankaran --- drivers/gpu/drm/msm/msm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index ebc40a9..549359e 100644 --- a/drivers/gpu/drm/msm/msm_drv.c

[Freedreno] toshiba tc358775 dsi2lvds bridge - backlight and standby to resume not proper

2018-05-23 Thread VINAY SIMHA B N
hi, i had implemented the toshiba tc358775 dsi2lvds driver with apq8016 , facing two problems. please suggest. 1) display backlight problem - earlier by hard-coding the panel mode values in the bridge driver, display backlight was working fine, but after handling by panel method, display backlig

Re: [Freedreno] [PATCH v6 2/4] dt-bindings: drm/bridge: Document sn65dsi86 bridge bindings

2018-05-23 Thread spanda
On 2018-05-16 21:57, Stephen Boyd wrote: Quoting Sandeep Panda (2018-05-14 22:52:42) diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.txt b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi86.txt new file mode 100644 index 000..b82bb56 --- /dev/null +++

Re: [Freedreno] [PATCH 06/10] drm/msm/gpu: Capture the GPU state on a GPU hang

2018-05-23 Thread Sharat Masetty
On 5/23/2018 4:50 PM, Sharat Masetty wrote: On 4/18/2018 4:14 AM, Jordan Crouse wrote: Capture the GPU state on a GPU hang and store it for later playback via the devcoredump facility. Only one crash state is stored at a time on the assumption that the first hang is usually the most interest

Re: [Freedreno] [PATCH 04/10] drm/msm/gpu: Convert the GPU show function to use the GPU state

2018-05-23 Thread Sharat Masetty
On 4/18/2018 4:14 AM, Jordan Crouse wrote: Convert the existing GPU show function to use the GPU state to dump the information rather than reading it directly from the hardware. This will require an additional step to capture the state before dumping it for the existing nodes but it will greatl

Re: [Freedreno] [PATCH 06/10] drm/msm/gpu: Capture the GPU state on a GPU hang

2018-05-23 Thread Sharat Masetty
On 4/18/2018 4:14 AM, Jordan Crouse wrote: Capture the GPU state on a GPU hang and store it for later playback via the devcoredump facility. Only one crash state is stored at a time on the assumption that the first hang is usually the most interesting. The existing crash state can be cleared af