[Freedreno] [PATCH] drm/msm: avoid double-attaching hdmi/edp bridges

2020-03-11 Thread Ilia Mirkin
Each of hdmi and edp are already attached in msm_*_bridge_init. A second attachment returns -EBUSY, failing the driver load. Tested with HDMI on IFC6410 (APQ8064 / MDP4), but eDP case should be analogous. Fixes: 3ef2f119bd3ed (drm/msm: Use drm_attach_bridge() to attach a bridge to an encoder) Cc

[Freedreno] [PATCH -next] drm/msm/dpu: Remove some set but not used variables

2020-03-11 Thread tongtiangen
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function _dpu_debugfs_show_regset32: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:142:26: warning: variable priv set but not used [-Wunused-but-set-variable] drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c: In function

Re: [Freedreno] [PATCH v6 2/2] drm/panel: add support for rm69299 visionox panel driver

2020-03-11 Thread Matthias Kaehlcke
Hi, thanks for re-spinning! One more comment inline. On Wed, Mar 11, 2020 at 02:28:07PM +0530, Harigovindan P wrote: > diff --git a/drivers/gpu/drm/panel/panel-visionox-rm69299.c > b/drivers/gpu/drm/panel/panel-visionox-rm69299.c > new file mode 100644 > index ..b226723a7543 > ---

Re: [Freedreno] [PATCH] drm/msm: Use scnprintf() for avoiding potential buffer overflow

2020-03-11 Thread Jordan Crouse
On Wed, Mar 11, 2020 at 08:34:10AM +0100, Takashi Iwai wrote: > Since snprintf() returns the would-be-output size instead of the > actual output size, the succeeding calls may go beyond the given > buffer limit. Fix it by replacing with scnprintf(). How embarrassing. I'm usually the guy singing t

[Freedreno] [PATCH] drm/msm: Use scnprintf() for avoiding potential buffer overflow

2020-03-11 Thread Takashi Iwai
Since snprintf() returns the would-be-output size instead of the actual output size, the succeeding calls may go beyond the given buffer limit. Fix it by replacing with scnprintf(). Signed-off-by: Takashi Iwai --- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [Freedreno] Freedreno Digest, Vol 73, Issue 27

2020-03-11 Thread Vinay Simha B N
On Wed, Mar 11, 2020 at 5:30 PM wrote: > > Send Freedreno mailing list submissions to > freedreno@lists.freedesktop.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.freedesktop.org/mailman/listinfo/freedreno > or, via email, send a message with subj

[Freedreno] [PATCH v6 2/2] drm/panel: add support for rm69299 visionox panel driver

2020-03-11 Thread Harigovindan P
Add support for Visionox panel driver. Signed-off-by: Harigovindan P --- Changes in v2: - Dropping redundant space in Kconfig(Sam Ravnborg). - Changing structure for include files(Sam Ravnborg). - Removing backlight related code and functions(Sam Ravnborg). - Remo

[Freedreno] [PATCH v6 1/2] dt-bindings: display: add visionox rm69299 panel variant

2020-03-11 Thread Harigovindan P
Add bindings for visionox rm69299 panel. Signed-off-by: Harigovindan P --- Changes in v2: - Removed unwanted properties from description. - Creating source files without execute permissions(Rob Herring). Changes in v3: - Changing txt file into yaml Changes in v4:

[Freedreno] [PATCH v6 0/2] Add support for rm69299 Visionox panel driver and add devicetree bindings for visionox panel

2020-03-11 Thread Harigovindan P
Adding support for visionox rm69299 panel driver and adding bindings for the same panel. Harigovindan P (2): dt-bindings: display: add visionox rm69299 panel variant drm/panel: add support for rm69299 visionox panel driver .../display/panel/visionox,rm69299.yaml | 77 + drivers/g