[Freedreno] [PATCH v2.1 1/2] drm/msm: remove resv fields from msm_gem_object struct

2019-05-13 Thread Brian Masney
The msm_gem_object structure contains resv and _resv fields that are no longer needed since the reservation object is now stored on drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() both referenced the wrong reservation object, and would lead to an attempt to dereference a NULL

[Freedreno] [PATCH 2/2] drm/msm: correct attempted NULL pointer dereference in debugfs

2019-05-13 Thread Brian Masney
msm_gem_describe() would attempt to dereference a NULL pointer via the address space pointer when no IOMMU is present. Correct this by adding the appropriate check. Signed-off-by: Brian Masney Fixes: 575f0485508b ("drm/msm: Clean up and enhance the output of the 'gem' debugfs node") ---

Re: [Freedreno] [PATCH v2 1/6] drm: msm: remove resv fields from msm_gem_object struct

2019-05-13 Thread Brian Masney
On Mon, May 13, 2019 at 01:32:39PM -0700, Bjorn Andersson wrote: > On Wed 08 May 19:03 PDT 2019, Brian Masney wrote: > > > The msm_gem_object structure contains resv and _resv fields that are > > no longer needed since the reservation object is now stored on > > drm_gem_object.

Re: [Freedreno] [PATCH v2 1/6] drm: msm: remove resv fields from msm_gem_object struct

2019-05-13 Thread Bjorn Andersson
On Wed 08 May 19:03 PDT 2019, Brian Masney wrote: > The msm_gem_object structure contains resv and _resv fields that are > no longer needed since the reservation object is now stored on > drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() > both referenced the wrong reservation

Re: [Freedreno] [PATCH 5/5] drm/msm/mdp5: Use the interconnect API

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:15PM -0700, Rob Clark wrote: > From: Georgi Djakov > > Signed-off-by: Georgi Djakov > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git

Re: [Freedreno] [PATCH 3/5] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:13PM -0700, Rob Clark wrote: > From: Jayant Shekhar > > Add interconnect properties such as interconnect provider specifier > , the edge source and destination ports which are required by the > interconnect API to configure interconnect path for MDSS. > > Changes

Re: [Freedreno] [PATCH 2/5] drm/msm/dpu: Integrate interconnect API in MDSS

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:12PM -0700, Rob Clark wrote: > From: Jayant Shekhar > > The interconnect framework is designed to provide a > standard kernel interface to control the settings of > the interconnects on a SoC. > > The interconnect API uses a consumer/provider-based model, > where

Re: [Freedreno] [PATCH 1/5] drm/msm/dpu: clean up references of DPU custom bus scaling

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:11PM -0700, Rob Clark wrote: > From: Jayant Shekhar > > Since the upstream interconnect bus framework has landed > upstream, the existing references of custom bus scaling > needs to be cleaned up. > > Changes in v2: > - Fixed build error due to partial clean