Re: [PATCH v20 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2019-12-14 Thread Matthias Brugger
On 07/10/2019 10:22, Ulrich Hecht wrote: > From: Jitao Shi > > This patch adds drm_bridge driver for parade DSI to eDP bridge chip. > > Signed-off-by: Jitao Shi > Reviewed-by: Daniel Kurtz > Reviewed-by: Enric Balletbo i Serra > [uli: followed API changes, removed FW update feature] > Sign

Re: [PATCH 3/3] drm/panel: add panel driver for Xinpeng XPP055C272 panels

2019-12-14 Thread Heiko Stübner
Hi Sam, thanks for the thorough review :-) Am Samstag, 14. Dezember 2019, 09:17:30 CET schrieb Sam Ravnborg: > > +#define dsi_generic_write_seq(dsi, cmd, seq...) do { > > \ > > + static const u8 d[] = { seq }; \ > > + int ret;

Re: [PATCH 0/2] drm/sun4i: Remove unneeded semicolon

2019-12-14 Thread Maxime Ripard
On Sat, Dec 14, 2019 at 05:51:29PM +0800, zhengbin wrote: > zhengbin (2): > drm/sun4i: Remove unneeded semicolon in sun8i_mixer.c > drm/sun4i: Remove unneeded semicolon in sun4i_layer.c Applied both, thanks Maxime signature.asc Description: PGP signature _

[PATCH] drm: shrinker: Add a prefix on purging logs

2019-12-14 Thread Ezequiel Garcia
It's not entirely obvious why these messages have "info" severity. In any case, add a proper driver prefix to give the user a bit of context of where they are coming from. Signed-off-by: Ezequiel Garcia --- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 2 ++ drivers/gpu/drm/msm/msm_gem_shri

[PATCH v2 6/6] Revert "drm: atmel-hlcdc: enable sys_clk during initalization."

2019-12-14 Thread Claudiu Beznea
This reverts commit d2c755e66617620b729041c625a6396c81d1231c ("drm: atmel-hlcdc: enable sys_clk during initalization."). With commit "drm: atmel-hlcdc: enable clock before configuring timing engine" there is no need for this patch. Code is also simpler. Cc: Sandeep Sheriker Mallikarjun Signed-off

Re: [PATCH v3 1/5] dt-bindings: display: ti, k2g-dss: Add dt-schema yaml binding

2019-12-14 Thread Maxime Ripard
Hi, On Thu, Dec 12, 2019 at 03:51:57PM +0200, Jyri Sarha wrote: > Add dt-schema yaml bindig for K2G DSS, an ultra-light version of TI > Keystone Display SubSystem. > > Version history: > > v2: no change > > v3: - Add ports node > - Add includes to dts example > - reindent dts example > > S

[PATCH 1/4] drm/msm/hdmi: Remove unneeded semicolon

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/msm/hdmi/hdmi_connector.c:104:3-4: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/msm/hdmi/hdmi_connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/hdmi/hdmi_connec

Re: [PATCH] backlight: corgi: Convert to use GPIO descriptors

2019-12-14 Thread Robert Jarzmik
Linus Walleij writes: > On Sun, Dec 8, 2019 at 9:06 PM Robert Jarzmik wrote: > >> Linus Walleij writes: >> > @@ -525,13 +525,33 @@ static void spitz_bl_kick_battery(void) >> > } >> > } >> > >> > +static struct gpiod_lookup_table spitz_lcdcon_gpio_table = { >> > + .dev_id = "spi0.1",

Re: [PATCH 10/12] arm64: dts: rockchip: Add PX30 CRTCs graph LVDS endpoints

2019-12-14 Thread Miquel Raynal
Hi Heiko, Heiko Stübner wrote on Fri, 13 Dec 2019 19:28:21 +0100: > Hi Miquel, > > Am Freitag, 13. Dezember 2019, 19:10:49 CET schrieb Miquel Raynal: > > Add the display subsystem routes with the two available CRTCs: vopb > > and vopl (big and little). For each CRTC, add the LVDS endpoints. MIP

[PATCH 2/4] drm/msm/mdp5: Remove unneeded semicolon

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c:905:2-3: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg

Re: [PATCH RFC 1/8] dt-bindings: display: add Unisoc's drm master bindings

2019-12-14 Thread Maxime Ripard
Hi, On Tue, Dec 10, 2019 at 04:36:28PM +0800, Kevin Tang wrote: > From: Kevin Tang > > The Unisoc DRM master device is a virtual device needed to list all > DPU devices or other display interface nodes that comprise the > graphics subsystem > > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zha

Re: [PATCH] backlight: pwm_bl: Switch to full GPIO descriptor

2019-12-14 Thread Robert Jarzmik
Daniel Thompson writes: > > ... I worry that palmtc.c is no longer compilable for some configs. I you're right, there is a very simple way to test it : make pxa_defconfig && make -j It should scream if the compilation is broken, and the kernel CI should certainly protect us. Cheers. -- Robert

[PATCH 1/2] dt-bindings: Add vendor prefix for Satoz

2019-12-14 Thread Miquel Raynal
Satoz is a Chinese TFT manufacturer. Website: http://www.sat-sz.com/English/index.html Signed-off-by: Miquel Raynal --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documenta

[PATCH v2 3/6] mfd: atmel-hlcdc: add struct device member to struct atmel_hlcdc_regmap

2019-12-14 Thread Claudiu Beznea
Add struct device member to struct atmel_hlcdc_regmap to be able to use dev_*() specific logging functions. Signed-off-by: Claudiu Beznea --- drivers/mfd/atmel-hlcdc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c index 64013c57a920.

Re: [PATCH] drm/panfrost: Prefix interrupt handlers' names

2019-12-14 Thread Alyssa Rosenzweig
> (Feedback for kernel patches on the same day, am I dreaming??) That's panfrost! > > Agreed, while the current implementation may be confusing it is at least > > self-consistent. TBH it would probably be sufficient to save the bother > > of allocating strings and just settle on "panfrost-{gpu,

Re: [PATCH 1/4] ARM: dts: am437x-gp-evm: add HDMI support

2019-12-14 Thread Tony Lindgren
* Tomi Valkeinen [191213 12:34]: > On 13/12/2019 14:28, Laurent Pinchart wrote: > > > > So... In the DT file, we would have multiple endpoints in the same output > > > port in DSS, one going to > > > the panel, one to the SiI9022? omapdrm could then create two encoders, > > > one abstracting th

Re: [PATCH RFC 7/8] dt-bindings: display: add Unisoc's generic mipi panel bindings

2019-12-14 Thread Maxime Ripard
On Tue, Dec 10, 2019 at 04:36:34PM +0800, Kevin Tang wrote: > From: Kevin Tang > > Adds generic MIPI panel support for Unisoc's display subsystem. > > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zhang > Signed-off-by: Kevin Tang > --- > .../devicetree/bindings/display/sprd/panel.txt |

[PATCH 2/3] drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c:1967:2-3: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b

[PATCH 3/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c:318:2-3: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

[PATCH v2 2/6] drm: atmel-hlcdc: enable clock before configuring timing engine

2019-12-14 Thread Claudiu Beznea
Changing pixel clock source without having this clock source enabled will block the timing engine and the next operations after (in this case setting ATMEL_HLCDC_CFG(5) settings in atmel_hlcdc_crtc_mode_set_nofb() will fail). It is recomended (although in datasheet this is not present) to actually

[PATCH 05/12] drm/rockchip: lvds: Change platform data

2019-12-14 Thread Miquel Raynal
Prepare the introduction of PX30 support by using drm_encoder_helper_funcs as platform data instead of multiple register names which are specific to rk3288 and not generic to all Rockchip IPs. This way adding support for a new flavor of a similar IP will be a matter of adding the relevant helper fu

[PATCH v2 1/6] drm: atmel-hlcdc: use double rate for pixel clock only if supported

2019-12-14 Thread Claudiu Beznea
Doubled system clock should be used as pixel cock source only if this is supported. This is emphasized by the value of atmel_hlcdc_crtc::dc::desc::fixed_clksrc. Fixes: a6eca2abdd42 ("drm: atmel-hlcdc: add config option for clock selection") Signed-off-by: Claudiu Beznea --- drivers/gpu/drm/atmel

Re: [PATCH v4 1/4] drm/edid: Abstract away cea_edid_modes[]

2019-12-14 Thread Tom Anderson
Latest patch looks good to me, thanks for the changes! Reviewed-by: Thomas Anderson On Fri, Dec 13, 2019 at 07:43:45PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > We're going to need two cea mode tables (one for VICs < 128, > another one for VICs >= 193). To that end replace the dire

[PATCH 07/12] drm/rockchip: lvds: Helpers should return decent values

2019-12-14 Thread Miquel Raynal
Return errors instead of returning void from internal helpers. When these helpers are called, check the returned value and print an error message in this case. Signed-off-by: Miquel Raynal --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 31 ++-- 1 file changed, 23 insertions(+

[PATCH 12/12] arm64: dts: rockchip: Add PX30 LVDS

2019-12-14 Thread Miquel Raynal
Also create to port endpoints to link with the CRTCs. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/rockchip/px30.dtsi | 27 ++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 337

Re: [PATCH 4/5] Revert "drm/atmel-hlcdc: allow selecting a higher pixel-clock than requested"

2019-12-14 Thread Claudiu.Beznea
On 11.12.2019 15:28, Peter Rosin wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On 2019-12-11 12:45, claudiu.bez...@microchip.com wrote: >> >> >> On 10.12.2019 19:22, Peter Rosin wrote: >>> EXTERNAL EMAIL: Do not click links or open at

Re: Proposal to report GPU private memory allocations with sysfs nodes [plain text version]

2019-12-14 Thread Yiwei Zhang
Hi folks, Would we be able to track the below for each of the graphics kmds: (1) Global total memory (2) Per-process total memory (3) Per-process total memory not mapped to userland -> when it's mapped it's shown in RSS, so this is to help complete the picture of RSS Would it be better reported u

[PATCH 1/3] drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:110:3-4: Unneeded semicolon drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:133:2-3: Unneeded semicolon drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:163:2-3: Unneeded semicolon drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c:191:2-3: Unneeded semicolon

[PATCH 01/12] dt-bindings: display: rockchip-lvds: Declare PX30 compatible

2019-12-14 Thread Miquel Raynal
Document the PX30 LVDS compatible. Signed-off-by: Miquel Raynal --- .../devicetree/bindings/display/rockchip/rockchip-lvds.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-lvds.txt b/Documentation/devicetree/bindings/disp

[PATCH 0/2] drm/sun4i: Remove unneeded semicolon

2019-12-14 Thread zhengbin
zhengbin (2): drm/sun4i: Remove unneeded semicolon in sun8i_mixer.c drm/sun4i: Remove unneeded semicolon in sun4i_layer.c drivers/gpu/drm/sun4i/sun4i_layer.c | 4 ++-- drivers/gpu/drm/sun4i/sun8i_mixer.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) -- 2.7.4 ___

[PATCH v2 4/6] mfd: atmel-hlcdc: return in case of error

2019-12-14 Thread Claudiu Beznea
For HLCDC timing engine configurations bit ATMEL_HLCDC_SIP of ATMEL_HLCDC_SR needs to be polled before applying new config. In case of timeout there is no indicator about this, so, return in case of timeout and also print a message about this. Signed-off-by: Claudiu Beznea --- drivers/mfd/atmel-

[PATCH 02/12] dt-bindings: display: rockchip-lvds: Document PX30 PHY

2019-12-14 Thread Miquel Raynal
PX30 SoCs use a single PHY shared by two display pipelines: MIPI DSI and LVDS. In the case of the LVDS IP, document the possibility to fill a PHY handle. Signed-off-by: Miquel Raynal --- .../devicetree/bindings/display/rockchip/rockchip-lvds.txt | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH 10/12] arm64: dts: rockchip: Add PX30 CRTCs graph LVDS endpoints

2019-12-14 Thread Miquel Raynal
Add the display subsystem routes with the two available CRTCs: vopb and vopl (big and little). For each CRTC, add the LVDS endpoints. MIPI DSI endpoints will come later. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/rockchip/px30.dtsi | 20 1 file changed, 20 insertio

[PATCH 3/4] drm/msm/dpu: Remove unneeded semicolon in dpu_plane.c

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c:741:2-3: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_pl

Re: [PATCH RFC 3/8] dt-bindings: display: add Unisoc's dpu bindings

2019-12-14 Thread Maxime Ripard
Hi, On Tue, Dec 10, 2019 at 04:36:30PM +0800, Kevin Tang wrote: > From: Kevin Tang > > DPU (Display Processor Unit) is the Display Controller for the Unisoc SoCs > which transfers the image data from a video memory buffer to an internal > LCD interface. > > Cc: Orson Zhai > Cc: Baolin Wang > Cc

Re: [Regression 5.5-rc1] Extremely low GPU performance on NVIDIA Tegra20/30

2019-12-14 Thread Dmitry Osipenko
13.12.2019 18:10, Thierry Reding пишет: > On Fri, Dec 13, 2019 at 12:25:33AM +0300, Dmitry Osipenko wrote: >> Hello Thierry, >> >> Commit [1] introduced a severe GPU performance regression on Tegra20 and >> Tegra30 using. >> >> [1] >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.g

Re: [PATCH v2, 1/2] drm/mediatek: Fix gamma correction issue

2019-12-14 Thread Yongqiang Niu
On Fri, 2019-12-13 at 15:48 +0800, CK Hu wrote: > Hi, Yongqiang: > > The title is too rough. Any bug of gamma would be this title. I would > like the title show explicitly what it does. > > On Fri, 2019-12-13 at 15:28 +0800, Yongqiang Niu wrote: > > if there is no gamma function in the crtc > > d

[PATCH 2/2] drm/sun4i: Remove unneeded semicolon in sun4i_layer.c

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/sun4i/sun4i_layer.c:253:3-4: Unneeded semicolon drivers/gpu/drm/sun4i/sun4i_layer.c:257:2-3: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/sun4i/sun4i_layer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH 08/12] drm/rockchip: lvds: Pack functions together

2019-12-14 Thread Miquel Raynal
Reorganize a bit the functions order to clarify the driver. This change only moves functions around, there is no functional change. Signed-off-by: Miquel Raynal --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 90 1 file changed, 45 insertions(+), 45 deletions(-) diff --g

[PATCH v2 0/6] fixes for atmel-hlcdc

2019-12-14 Thread Claudiu Beznea
Hi, I have few fixes for atmel-hlcdc driver in this series as well as two reverts. Revert "drm: atmel-hlcdc: enable sys_clk during initalization." is due to the fix in in patch 2/5. Thank you, Claudiu Beznea Changes in v2: - introduce patch 3/6 - use dev_err() inpatch 4/6 - introduce patch 5/6 i

[PATCH v2 5/6] drm: atmel-hlcdc: prefer a lower pixel-clock than requested

2019-12-14 Thread Claudiu Beznea
From: Peter Rosin The intention was to only select a higher pixel-clock rate than the requested, if a slight overclocking would result in a rate significantly closer to the requested rate than if the conservative lower pixel-clock rate is selected. The fixed patch has the logic the other way arou

[PATCH 04/12] drm/rockchip: lvds: Harmonize function names

2019-12-14 Thread Miquel Raynal
Prepare the introduction of PX30 support by clarifying the function prefixes. We continue to prefix with 'rockchip_lvds_' generic functions that are not specific to a single hardware. Functions implying hardware modifications are now prefixed with 'rk3288_lvds_'. Signed-off-by: Miquel Raynal ---

Re: [PATCH v1 03/15] phy: cadence-dp: Rename to phy-cadence-torrent

2019-12-14 Thread max...@cerno.tech
On Fri, Dec 13, 2019 at 11:05:56AM +, Yuti Suresh Amonkar wrote: > Hi, > > > -Original Message- > > From: Maxime Ripard > > Sent: Friday, December 13, 2019 15:27 > > To: Yuti Suresh Amonkar > > Cc: dri-devel@lists.freedesktop.org; Milind Parab ; > > prane...@ti.com; Dhananjay Vilasrao

[PATCH 06/12] drm/rockchip: lvds: Create an RK3288 specific probe function

2019-12-14 Thread Miquel Raynal
The probe function is highly tighten to the RK3288 specificities, move all specific bits into an "rk3288_probe" function, also part of the platform data. The goal is to ease the addition of new flavors of Rockchip LVDS IPs. Signed-off-by: Miquel Raynal --- drivers/gpu/drm/rockchip/rockchip_lvds

Re: [PATCH] drm/panfrost: Prefix interrupt handlers' names

2019-12-14 Thread Alyssa Rosenzweig
> TBH it would probably be sufficient to save the bother of allocating > strings and just settle on "panfrost-{gpu,job,mmu}", since upstream > users are unlikely to ever come across a system with more than one > Mali in it ;) Agreed. Wait, you said *upstream*? Are there oh no signature

Re: [DPU PATCH v3 1/5] dt-bindings: msm/dp: add bindings of DP/DP-PLL driver for Snapdragon 845

2019-12-14 Thread Jeffrey Hugo
On Mon, Dec 2, 2019 at 6:48 AM Chandan Uddaraju wrote: > > Add bindings for Snapdragon 845 DisplayPort and > display-port PLL driver. > > Changes in V2: > Provide details about sel-gpio > > Signed-off-by: Chandan Uddaraju > --- > .../devicetree/bindings/display/msm/dp.txt | 249 > ++

Re: [PATCH v1 08/15] dt-bindings: phy: phy-cadence-torrent: Add clock bindings

2019-12-14 Thread Maxime Ripard
On Tue, Dec 03, 2019 at 11:13:18AM +0100, Yuti Amonkar wrote: > Add Torrent PHY reference clock bindings. > > Signed-off-by: Yuti Amonkar > --- > .../devicetree/bindings/phy/phy-cadence-torrent.yaml | 12 > > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/de

Re: [PATCH v4 3/4] drm/edid: Throw away the dummy VIC 0 cea mode

2019-12-14 Thread Tom Anderson
lgtm Reviewed-by: Thomas Anderson On Fri, Dec 13, 2019 at 07:43:47PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Now that the cea mode handling is not 100% tied to the single > array the dummy VIC 0 mode is pretty much pointles. Throw it > out. > > v2: Rebase > > Cc: Tom Anderson

[PATCH 0/4] drm/msm: Remove unneeded semicolon

2019-12-14 Thread zhengbin
zhengbin (4): drm/msm/hdmi: Remove unneeded semicolon drm/msm/mdp5: Remove unneeded semicolon drm/msm/dpu: Remove unneeded semicolon in dpu_plane.c drm/msm/dpu: Remove unneeded semicolon in dpu_encoder.c drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu

[PATCH 0/3] drm/amdgpu: Remove unneeded semicolon

2019-12-14 Thread zhengbin
zhengbin (3): drm/amdgpu: Remove unneeded semicolon in amdgpu_pmu.c drm/amdgpu: Remove unneeded semicolon in gfx_v10_0.c drm/amdgpu: Remove unneeded semicolon in amdgpu_ras.c drivers/gpu/drm/amd/amdgpu/amdgpu_pmu.c | 8 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- drivers/gpu/dr

[PATCH 00/12] Add PX30 LVDS support

2019-12-14 Thread Miquel Raynal
Hello, This series aims at supporting LVDS on PX30. A first couple of patches update the documentation with the new compatible and the presence of a PHY. Then, the existing Rockchip driver is cleaned and extended to support PX30 specificities. Finally, the PX30 DTSI is updated with CRTC routes, t

[PATCH 09/12] drm/rockchip: lvds: Add PX30 support

2019-12-14 Thread Miquel Raynal
Introduce PX30 LVDS support. This means adding the relevant helper functions, a specific probe and also the initialization of a specific PHY. Signed-off-by: Miquel Raynal --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 173 +++ drivers/gpu/drm/rockchip/rockchip_lvds.h | 14 ++

[PATCH] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-12-14 Thread Jerry Han
Support Boe Himax8279d 8.0" 1200x1920 TFT LCD panel, it is a MIPI DSI panel. V12: - fix build in boe_panel_modes() (sam) - fix backlight - drm_panel_of_backlight() must be called after drm_panel_init() (sam) V11: - Use the backlight support in drm_panel to simplify the driver (Sam) V10: - Adju

Re: [PATCH] drm/panfrost: Prefix interrupt handlers' names

2019-12-14 Thread Alyssa Rosenzweig
On Fri, Dec 13, 2019 at 03:31:45PM +, Robin Murphy wrote: > On 13/12/2019 2:32 pm, Alyssa Rosenzweig wrote: > > > TBH it would probably be sufficient to save the bother of allocating > > > strings and just settle on "panfrost-{gpu,job,mmu}", since upstream > > > users are unlikely to ever come

Re: [PATCH v1 02/15] dt-bindings:phy: Convert Cadence MHDP PHY bindings to YAML.

2019-12-14 Thread Maxime Ripard
Hi, On Tue, Dec 03, 2019 at 11:13:12AM +0100, Yuti Amonkar wrote: > - Convert the MHDP PHY devicetree bindings to yaml schemas. > - Rename DP PHY to have generic Torrent PHY nomrnclature. > - Rename compatible string from "cdns,dp-phy" to "cdns,torrent-phy". > > Signed-off-by: Yuti Amonkar > ---

RE: [GIT PULL] drm/arc: Yet another set of minor fixes

2019-12-14 Thread Alexey Brodkin
Hi Daniel, > -Original Message- > From: Daniel Vetter > Sent: Friday, December 13, 2019 1:22 PM > To: Alexey Brodkin > Cc: Daniel Vetter ; David Airlie ; arcml > a...@lists.infradead.org>; Eugeniy Paltsev ; > dri-devel@lists.freedesktop.org > Subject: Re: [GIT PULL] drm/arc: Yet anoth

[PATCH 2/2] drm/panel: simple: Add Satoz SAT050AT40H12R2 panel support

2019-12-14 Thread Miquel Raynal
Add support for the Satoz SAT050AT40H12R2 RGB panel. Signed-off-by: Miquel Raynal --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 15dd495c3

[PATCH 1/2] drm/sun4i: Remove unneeded semicolon in sun8i_mixer.c

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/sun4i/sun8i_mixer.c:289:3-4: Unneeded semicolon drivers/gpu/drm/sun4i/sun8i_mixer.c:292:2-3: Unneeded semicolon drivers/gpu/drm/sun4i/sun8i_mixer.c:302:3-4: Unneeded semicolon drivers/gpu/drm/sun4i/sun8i_mixer.c:305:2-3: Unneeded semicolon Reported-by: Hu

[PATCH 11/12] arm64: dts: rockchip: Add PX30 DSI DPHY

2019-12-14 Thread Miquel Raynal
Add the PHY which outputs MIPI DSI and LVDS. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/rockchip/px30.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/px30.dtsi b/arch/arm64/boot/dts/rockchip/px30.dtsi index 1c96ba556daf..337306281c07

RE: [GIT PULL] drm/arc: Yet another set of minor fixes

2019-12-14 Thread Alexey Brodkin
Hi Daniel, [snip] > > Thanks for the pointers > > > > > Or respin this one, but these small pulls have a habit of occasionally > > > getting lost :-/ > > > > Well I'd better re-spin this, see below. > > > > The following changes since commit acc61b8929365e63a3e8c8c8913177795aa45594: > > > > Mer

[PATCH 03/12] drm/rockchip: lvds: Fix indentation of a #define

2019-12-14 Thread Miquel Raynal
Fix a #define indentation before adding more lines. Fixes: 34cc0aa25456 ("drm/rockchip: Add support for Rockchip Soc LVDS") Signed-off-by: Miquel Raynal --- drivers/gpu/drm/rockchip/rockchip_lvds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockc

[PATCH] drm/amd/display: Remove unneeded semicolon

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c:412:90-91: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d

Re: [PATCH v1 03/15] phy: cadence-dp: Rename to phy-cadence-torrent

2019-12-14 Thread Maxime Ripard
Hi, On Tue, Dec 03, 2019 at 11:13:13AM +0100, Yuti Amonkar wrote: > Rename Cadence DP PHY driver from phy-cadence-dp to phy-cadence-torrent > to make it more generic for future use. Modifiy Makefile and Kconfig > accordingly. Also, change driver compatible from "cdns,dp-phy" to > "cdns,torrent-phy

[PATCH 4/4] drm/msm/dpu: Remove unneeded semicolon in dpu_encoder.c

2019-12-14 Thread zhengbin
Fixes coccicheck warning: drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c:2260:3-4: Unneeded semicolon Reported-by: Hulk Robot Signed-off-by: zhengbin --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/d

[PATCH] drm/panel: simple: Support reset GPIOs

2019-12-14 Thread Miquel Raynal
The panel common bindings provide a gpios-reset property which is active low by default. Let's support it in the simple driver. De-asserting the reset pin implies a physical high, which in turns is a logic low. Signed-off-by: Miquel Raynal --- drivers/gpu/drm/panel/panel-simple.c | 12 +

RE: [PATCH v1 03/15] phy: cadence-dp: Rename to phy-cadence-torrent

2019-12-14 Thread Yuti Suresh Amonkar
Hi, > -Original Message- > From: Maxime Ripard > Sent: Friday, December 13, 2019 15:27 > To: Yuti Suresh Amonkar > Cc: dri-devel@lists.freedesktop.org; Milind Parab ; > prane...@ti.com; Dhananjay Vilasrao Kangude ; > jsa...@ti.com; kis...@ti.com; tomi.valkei...@ti.com; Swapnil Kashinath

Re: [PATCH 4/5] Revert "drm/atmel-hlcdc: allow selecting a higher pixel-clock than requested"

2019-12-14 Thread Peter Rosin
On 2019-12-13 10:28, claudiu.bez...@microchip.com wrote: > > > On 11.12.2019 15:28, Peter Rosin wrote: >> EXTERNAL EMAIL: Do not click links or open attachments unless you know the >> content is safe >> >> On 2019-12-11 12:45, claudiu.bez...@microchip.com wrote: >>> >>> >>> On 10.12.2019 19:22,

Re: [PATCH RFC 5/8] dt-bindings: display: add Unisoc's mipi dsi&dphy bindings

2019-12-14 Thread Maxime Ripard
On Tue, Dec 10, 2019 at 04:36:32PM +0800, Kevin Tang wrote: > From: Kevin Tang > > Adds MIPI DSI Master and MIPI DSI-PHY (D-PHY) > support for Unisoc's display subsystem. > > Cc: Orson Zhai > Cc: Baolin Wang > Cc: Chunyan Zhang > Signed-off-by: Kevin Tang > --- > .../devicetree/bindings/displ

Re: [Intel-gfx] [RFC v2 03/12] drm/i915/svm: Implicitly migrate BOs upon CPU access

2019-12-14 Thread Chris Wilson
Quoting Niranjana Vishwanathapura (2019-12-13 21:56:05) > +int i915_gem_object_migrate_region(struct drm_i915_gem_object *obj, > + u32 *regions, int size) > +{ > + struct drm_i915_private *dev_priv = to_i915(obj->base.dev); > + struct intel_context *ce =

Re: [Intel-gfx] [RFC v2 02/12] drm/i915/svm: Runtime (RT) allocator support

2019-12-14 Thread Chris Wilson
Quoting Niranjana Vishwanathapura (2019-12-13 21:56:04) > Shared Virtual Memory (SVM) runtime allocator support allows > binding a shared virtual address to a buffer object (BO) in the > device page table through an ioctl call. > > Cc: Joonas Lahtinen > Cc: Jon Bloomfield > Cc: Daniel Vetter >

Re: [PATCH v2 1/6] dt-bindings: display/ingenic: Add compatible string for JZ4770

2019-12-14 Thread Sam Ravnborg
Hi Paul. On Tue, Dec 10, 2019 at 03:41:37PM +0100, Paul Cercueil wrote: > Add a compatible string for the LCD controller found in the JZ4770 SoC. > > v2: No change > > Signed-off-by: Paul Cercueil > Acked-by: Rob Herring Whole series looks good. Acked-by: Sam Ravnborg > --- > Documentation

Re: [Intel-gfx] [RFC v2 02/12] drm/i915/svm: Runtime (RT) allocator support

2019-12-14 Thread Chris Wilson
Quoting Jason Ekstrand (2019-12-14 00:36:19) > On Fri, Dec 13, 2019 at 5:24 PM Niranjan Vishwanathapura < > niranjana.vishwanathap...@intel.com> wrote: > > On Fri, Dec 13, 2019 at 04:58:42PM -0600, Jason Ekstrand wrote: > > > >     +/** > >     + * struct drm_i915_gem_vm_bind >

Re: [PATCH] drm/panel: simple: Support reset GPIOs

2019-12-14 Thread Sam Ravnborg
Hi Miquel. On Fri, Dec 13, 2019 at 07:13:25PM +0100, Miquel Raynal wrote: > The panel common bindings provide a gpios-reset property which is > active low by default. Let's support it in the simple driver. > > De-asserting the reset pin implies a physical high, which in turns is > a logic low. >

Re: [PATCH 2/2] drm/panel: simple: Add Satoz SAT050AT40H12R2 panel support

2019-12-14 Thread Sam Ravnborg
Hi Miquel. On Fri, Dec 13, 2019 at 07:23:25PM +0100, Miquel Raynal wrote: > Add support for the Satoz SAT050AT40H12R2 RGB panel. Google failed to find this display - do you have any pointers to datasheet? This turned up: SAT050AT40H12B2 But I failed to find any data sheet. I wonder if there is

Re: [PATCH v5 3/4] dt-bindings: Add binding for IT6505.

2019-12-14 Thread Sam Ravnborg
Hi Allen. On Tue, Dec 10, 2019 at 01:53:41PM +0800, allen wrote: > Add a DT binding documentation for IT6505. > > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > .../bindings/display/bridge/ite,it6505.yaml| 99 > ++ > 1 file changed, 99 insertions(+

Re: [PATCH 3/3] drm/panel: add panel driver for Xinpeng XPP055C272 panels

2019-12-14 Thread Sam Ravnborg
Hi Heiko. Thanks for another nice panel driver patch. There are some changes in drm-misc-next so the patch applies but it no longer builds. Please fix. drm_panel now includes support for backlight - see other drivers. Please look into the possibility to use the drm_panel supported backlight for t