[Freedreno] [PATCH v2] drm/msm/dpu: add rotation property

2019-08-22 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c index 45bfac9e3af7..970194958257 100644 ---

Re: [Freedreno] [PATCH v6 4/7] firmware: qcom: scm: add support to restore secure config to qcm_scm-32

2019-08-22 Thread Bjorn Andersson
On Thu 22 Aug 07:37 PDT 2019, Brian Masney wrote: > From: Rob Clark > > Add support to restore the secure configuration for qcm_scm-32.c. This > is needed by the On Chip MEMory (OCMEM) that is present on some > Snapdragon devices. > > Signed-off-by: Rob Clark > [masn...@onstation.org: ported

Re: [Freedreno] [PATCH] drm/msm/dpu: add rotation property

2019-08-22 Thread Rob Clark
On Thu, Aug 22, 2019 at 5:26 AM Ville Syrjälä wrote: > > On Wed, Aug 21, 2019 at 06:57:24PM -0700, Rob Clark wrote: > > From: Rob Clark > > > > Signed-off-by: Rob Clark > > --- > > drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 20 > > 1 file changed, 20 insertions(+) > > > >

Re: [Freedreno] [PATCH v6 2/7] dt-bindings: display: msm: gmu: add optional ocmem property

2019-08-22 Thread Rob Herring
On Thu, Aug 22, 2019 at 9:37 AM Brian Masney wrote: > > Some A3xx and A4xx Adreno GPUs do not have GMEM inside the GPU core and > must use the On Chip MEMory (OCMEM) in order to be functional. Add the > optional ocmem property to the Adreno Graphics Management Unit bindings. > > Signed-off-by:

[Freedreno] [PATCH v6 1/7] dt-bindings: soc: qcom: add On Chip MEMory (OCMEM) bindings

2019-08-22 Thread Brian Masney
Add device tree bindings for the On Chip Memory (OCMEM) that is present on some Qualcomm Snapdragon SoCs. Signed-off-by: Brian Masney Reviewed-by: Rob Herring --- Changes since v5: - None Changes since v4: - remove qcom from path in $id Changes since v3: - add ranges property - remove

[Freedreno] [PATCH v6 5/7] soc: qcom: add OCMEM driver

2019-08-22 Thread Brian Masney
The OCMEM driver handles allocation and configuration of the On Chip MEMory that is present on some Snapdragon SoCs. Devices which have OCMEM do not have GMEM inside the GPU core, so the GPU must instead use OCMEM to be functional. Since the GPU is currently the only OCMEM user with an upstream

[Freedreno] [PATCH v6 2/7] dt-bindings: display: msm: gmu: add optional ocmem property

2019-08-22 Thread Brian Masney
Some A3xx and A4xx Adreno GPUs do not have GMEM inside the GPU core and must use the On Chip MEMory (OCMEM) in order to be functional. Add the optional ocmem property to the Adreno Graphics Management Unit bindings. Signed-off-by: Brian Masney --- Changes since v5: - rename ocmem property to

[Freedreno] [PATCH v6 3/7] firmware: qcom: scm: add OCMEM lock/unlock interface

2019-08-22 Thread Brian Masney
From: Rob Clark Add support for the OCMEM lock/unlock interface that is needed by the On Chip MEMory (OCMEM) that is present on some Snapdragon devices. Signed-off-by: Rob Clark [masn...@onstation.org: ported to latest kernel; minor reformatting.] Signed-off-by: Brian Masney Reviewed-by:

[Freedreno] [PATCH v6 7/7] ARM: qcom_defconfig: add ocmem support

2019-08-22 Thread Brian Masney
Add ocmem driver that's needed for some a3xx and a4xx based systems. Signed-off-by: Brian Masney --- Changes since v5: - None This patch was introduced in v5. arch/arm/configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/qcom_defconfig

[Freedreno] [PATCH v6 4/7] firmware: qcom: scm: add support to restore secure config to qcm_scm-32

2019-08-22 Thread Brian Masney
From: Rob Clark Add support to restore the secure configuration for qcm_scm-32.c. This is needed by the On Chip MEMory (OCMEM) that is present on some Snapdragon devices. Signed-off-by: Rob Clark [masn...@onstation.org: ported to latest kernel; set ctx_bank_num to spare parameter.]

[Freedreno] [PATCH v6 0/7] qcom: add OCMEM support

2019-08-22 Thread Brian Masney
This patch series adds support for Qualcomm's On Chip MEMory (OCMEM) that is needed in order to support some a3xx and a4xx-based GPUs upstream. This is based on Rob Clark's patch series that he submitted in October 2015 and I am resubmitting updated patches with his permission. See the individual

Re: [Freedreno] [PATCH] drm/msm/dpu: add rotation property

2019-08-22 Thread Ville Syrjälä
On Wed, Aug 21, 2019 at 06:57:24PM -0700, Rob Clark wrote: > From: Rob Clark > > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 20 > 1 file changed, 20 insertions(+) > > diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c >

[Freedreno] [PATCH 1/2] drm/msm/dpu: remove some impossible error checking

2019-08-22 Thread Rob Clark
From: Rob Clark I'm sure there is plenty more to remove.. this is just some of the ones I noticed. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 19 --- .../drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 3 ---

[Freedreno] [PATCH 2/2] drm/msm/dpu: remove unused arg

2019-08-22 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c| 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git