[Freedreno] [DPU PATCH 3/3] drm/msm: Fix dpu build warnings

2018-04-02 Thread Sean Paul
A bunch of warning fixes, build is clean now. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_connector.c | 7 --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_reg_dma_v1.c | 4 ++--

[Freedreno] [PATCH v3 8/8] drm/msm: Switch to atomic_helper_commit()

2018-04-02 Thread Sean Paul
Now that all of the msm-specific goo is tucked safely away we can switch over to using the atomic helper commit directly. \o/ Changes in v2: - None Changes in v3: - Rebased on Archit's private_obj set Cc: Abhinav Kumar Signed-off-by: Sean Paul

[Freedreno] [PATCH v3 7/8] drm/msm: Remove msm_commit/worker, use atomic helper commit

2018-04-02 Thread Sean Paul
Moving further towards switching fully to the the atomic helpers, this patch removes the hand-rolled worker nonblock commit code and uses the atomic helpers commit_work model. Changes in v2: - Remove commit_destroy() - Shuffle order of commit_tail calls to further serialize commits - Use stall in

[Freedreno] [PATCH v3 5/8] drm/msm: Mark the crtc->state->event consumed

2018-04-02 Thread Sean Paul
Don't leave the event != NULL once it's consumed, this is used a signal to the atomic helpers that the event will be handled by the driver. Changes in v2: - None Changes in v3: - Rebased on Archit's private_obj set Cc: Jeykumar Sankaran Reviewed-by: Archit Taneja

[Freedreno] [PATCH v3 6/8] drm/msm: Issue queued events when disabling crtc

2018-04-02 Thread Sean Paul
Ensure that any queued events are issued when disabling the crtc. This avoids timeouts when we come back and wait for dependencies (like the previous frame's flip_done). Changes in v2: - None Changes in v3: - Rebased on Archit's private_obj set Reviewed-by: Archit Taneja

[Freedreno] [PATCH v3 2/8] drm/msm/mdp5: Use the new private_obj state

2018-04-02 Thread Sean Paul
From: Archit Taneja This replaces the usage of the subclassed atomic state (mdp5_state) with a private_obj state embedded within drm_atomic_state. The latter method is the preferred approach, since it's simpler to implement and less prone to errors. The new API replaces

Re: [Freedreno] [DPU PATCH v2 1/2] dt-bindings: msm/disp: Remove hw block offset DT entries for SDM845

2018-04-02 Thread skolluku
On 2018-03-29 20:22, Sean Paul wrote: On Thu, Mar 29, 2018 at 03:59:24PM +0530, Sravanthi Kollukuduru wrote: Currently, the downstream driver depends on the DT file for the hardware block offsets and other target specific catalog information. To align the driver with the upstream DT design,