Re: [PATCH] drm/amd/powerplay: work around enum conversion warnings

2019-07-09 Thread Nathan Chancellor
Hi Arnd, On Mon, Jul 08, 2019 at 03:57:06PM +0200, Arnd Bergmann wrote: > A couple of calls to smu_get_current_clk_freq() and smu_force_clk_levels() > pass constants of the wrong type, leading to warnings with clang-8: > > drivers/gpu/drm/amd/amdgpu/../powerplay/vega20_ppt.c:995:39: error: implic

[PATCH 05/14] drm/drv: Replace devm_add_action() followed by failure action with devm_add_action_or_reset()

2019-07-09 Thread Fuqian Huang
devm_add_action_or_reset() is introduced as a helper function which internally calls devm_add_action(). If devm_add_action() fails then it will execute the action mentioned and return the error code. This reduce source code size (avoid writing the action twice) and reduce the likelyhood of bugs.

[PATCH v4, 13/33] drm/mediatek: add mmsys private data for ddp path config

2019-07-09 Thread yongqiang.niu
From: Yongqiang Niu This patch add mmsys private data for ddp path config all these register offset and value will be different in future SOC add these define into mmsys private data u32 ovl0_mout_en; u32 rdma0_sout_sel_in; u32 rdma0_sout_color0; u32 rdma1_sout_sel

[PATCH 06/14] drm/i2c: tda9950: Replace devm_add_action() followed by failure action with devm_add_action_or_reset()

2019-07-09 Thread Fuqian Huang
devm_add_action_or_reset() is introduced as a helper function which internally calls devm_add_action(). If devm_add_action() fails then it will execute the action mentioned and return the error code. This reduce source code size (avoid writing the action twice) and reduce the likelyhood of bugs.

Re: [PATCH 1/2] dt-bindings: backlight: fix vendor prefix for ArcticSand arcxcnn driver bindings

2019-07-09 Thread Dan Murphy
Brian On 6/30/19 7:28 PM, Brian Dodge wrote: The vendor-prefixes.txt file properly refers to ArcticSand as arctic but the driver bindings improperly abbreviated the prefix to arc. This was a mistake in the original patch. This patch adds "arctic" and retains "arc" (deprecated) bindings Signed-o

Re: hmm_range_fault related fixes and legacy API removal v2

2019-07-09 Thread Jason Gunthorpe
On Mon, Jul 08, 2019 at 10:30:55AM -0700, Ralph Campbell wrote: > > On 7/4/19 9:42 AM, Jason Gunthorpe wrote: > > On Wed, Jul 03, 2019 at 03:02:08PM -0700, Christoph Hellwig wrote: > > > Hi Jérôme, Ben and Jason, > > > > > > below is a series against the hmm tree which fixes up the mmap_sem > > >

Re: hmm_range_fault related fixes and legacy API removal v2

2019-07-09 Thread Ralph Campbell
On 7/4/19 9:42 AM, Jason Gunthorpe wrote: On Wed, Jul 03, 2019 at 03:02:08PM -0700, Christoph Hellwig wrote: Hi Jérôme, Ben and Jason, below is a series against the hmm tree which fixes up the mmap_sem locking in nouveau and while at it also removes leftover legacy HMM APIs only used by nouvea

[PATCH v4, 26/33] drm/mediatek: add connection from OVL0 to OVL_2L0

2019-07-09 Thread yongqiang.niu
From: Yongqiang Niu This patch add connection from OVL0 to OVL_2L0 Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_drm_ddp.c index a9d3e27..fe

Re: [PATCH 2/2] backlight: arcxcnn: add "arctic" vendor prefix

2019-07-09 Thread Dan Murphy
Brian On 6/30/19 7:28 PM, Brian Dodge wrote: The original patch adding this driver and DT bindings improperly used "arc" as the vendor-prefix. This adds "arctic" which is the proper prefix and retains "arc" to allow existing users of the "arc" prefix to update to new kernels. There is at least o

[PATCH v4, 14/33] drm/mediatek: move rdma sout from mtk_ddp_mout_en into mtk_ddp_sout_sel

2019-07-09 Thread yongqiang.niu
From: Yongqiang Niu This patch move rdma sout from mtk_ddp_mout_en into mtk_ddp_sout_sel rdma only has single output, but no multi output, all these rdma->dsi/dpi usecase should move to mtk_ddp_sout_sel Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 90 ++

Re: [PATCH 2/2] backlight: arcxcnn: add "arctic" vendor prefix

2019-07-09 Thread Brian Dodge
Thanks. pSemi purchased ArcticSand a few years ago so they are the same legal entity. I will ask them if they want to retain the original copyright notice On Mon, Jul 8, 2019, 2:05 PM Dan Murphy wrote: > Brian > > On 6/30/19 7:28 PM, Brian Dodge wrote: > > The original patch adding this driver a

Re: [PATCH 1/1] drm/amdgpu: adopt to hmm_range_register API change

2019-07-09 Thread Jason Gunthorpe
On Mon, Jul 08, 2019 at 09:30:20AM +1000, Stephen Rothwell wrote: > Hi all, > > On Wed, 3 Jul 2019 17:09:16 -0400 Alex Deucher wrote: > > > > On Wed, Jul 3, 2019 at 5:03 PM Kuehling, Felix > > wrote: > > > > > > On 2019-07-03 10:10 a.m., Jason Gunthorpe wrote: > > > > On Wed, Jul 03, 2019 at

[PATCH v2] drm/agp: Remove unused function drm_agp_bind_pages

2019-07-09 Thread Maya Rashish
Reviewed-by: Sam Ravnborg --- drivers/gpu/drm/drm_agpsupport.c | 43 include/drm/drm_agpsupport.h | 14 - 2 files changed, 57 deletions(-) diff --git a/drivers/gpu/drm/drm_agpsupport.c b/drivers/gpu/drm/drm_agpsupport.c index 117b8ee98243.

Re: [1/2] drm/amd/powerplay: smu_v11_0: fix uninitialized variable use

2019-07-09 Thread Nathan Chancellor
On Mon, Jul 08, 2019 at 04:07:58PM +0200, Arnd Bergmann wrote: > A mistake in the error handling caused an uninitialized > variable to be used: > > drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:1102:10: error: variable > 'freq' is used uninitialized whenever '?:' condition is false > [-Wer

[PATCH v4, 25/33] drm/mediatek: add clock property check before get it

2019-07-09 Thread yongqiang.niu
From: Yongqiang Niu This patch add clock property check before get it Signed-off-by: Yongqiang Niu --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c b/drivers/gpu/drm/mediatek/mtk_dr

Re: [PATCH] drm/i915: Fix reporting of size of created GEM object

2019-07-09 Thread Chris Wilson
Quoting Janusz Krzysztofik (2019-07-09 07:58:00) > Commit e163484afa8d ("drm/i915: Update size upon return from > GEM_CREATE") (re)introduced reporting of actual size of created GEM > objects, possibly rounded up on object alignment. Unfortunately, its > implementation resulted in a possible use-a

[Bug 111087] SteamOS boots to black screen

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111087 --- Comment #15 from Michel Dänzer --- "Server terminated successfully" means Xorg doesn't crash, indicating the problem is on the client side. You should probably get in touch with SteamOS folks about how to get diagnostics on that. -- You ar

[Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102322 --- Comment #84 from Wilko Bartels --- (In reply to Wilko Bartels from comment #83) > (In reply to Jaap Buurman from comment #81) > > issue seems to be using a setup that requires higher engine clocks in idle > > AFAIK. Either high refresh displ

Re: [PATCH v2 04/14] drm/sti: Try to fix up the tvout possible clones

2019-07-09 Thread Benjamin Gaignard
Le lun. 8 juil. 2019 à 18:21, Ville Syrjala a écrit : > > From: Ville Syrjälä > > The current possible_clones setup doesn't look sensible. I'm assuming > the 0 and 1 are supposed to refer to the indexes of the hdmi and hda > encoders? So it kinda looks like we want hda+hdmi cloning, but then > dv

Re: [PATCH v2 03/14] drm/sti: Remove pointless casts

2019-07-09 Thread Benjamin Gaignard
Le lun. 8 juil. 2019 à 18:21, Ville Syrjala a écrit : > > From: Ville Syrjälä > > There's no point in the cast for accessing the base class. Just > take the address of the struct instead. Applied on drm-misc-next, Thanks, Benjamin > > Cc: Benjamin Gaignard > Cc: Vincent Abriou > Acked-by: Be

[PATCH 0/2] drm/komeda: Add new product "D32" support

2019-07-09 Thread james qian wang (Arm Technology China)
This series enables new product "D32" support James Qian Wang (Arm Technology China) (2): drm/komeda: Update the chip identify drm/komeda: Enable new product D32 support .../drm/arm/display/include/malidp_product.h | 3 +- .../arm/display/komeda/d71/d71_component.c| 2 +- .../gpu/drm/

[PATCH 1/2] drm/komeda: Update the chip identify

2019-07-09 Thread james qian wang (Arm Technology China)
1. Drop komeda-CORE product id comparison and put it into the d71_identify 2. Update pipeline node DT-binding: *. Skip the needless pipeline DT node. *. Return fail if the essential pipeline DT node was missing. With these changes, for one family chips no need to change the DT. Signed-off-b

[PATCH 2/2] drm/komeda: Enable new product D32 support

2019-07-09 Thread james qian wang (Arm Technology China)
D32 is simple version of D71, the difference is: - Only has one pipeline - Drop the periph block and merge it to GCU Signed-off-by: James Qian Wang (Arm Technology China) --- .../drm/arm/display/include/malidp_product.h | 3 +- .../arm/display/komeda/d71/d71_component.c| 2 +- .../gpu/drm

Re: [PATCH 1/5] drm/komeda: Remove clock ratio property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:02PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

Re: [PATCH 2/5] drm/komeda: remove slave_planes property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:03PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

Re: [PATCH 3/5] drm/komeda: remove img_enhancement property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:04PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

Re: [PATCH 4/5] drm/komeda: Remove layer_split property

2019-07-09 Thread james qian wang (Arm Technology China)
On Fri, Jul 05, 2019 at 02:10:05PM +0200, Daniel Vetter wrote: > Properties are uapi like anything else, with all the usual rules > regarding review, testcases, open source userspace ... Furthermore > driver-private kms properties are highly discouraged, over the past > few years we've realized we

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-09 Thread Maxime Ripard
On Mon, Jul 08, 2019 at 05:49:21PM -0700, Vasily Khoruzhick wrote: > > > Maybe instead of edp-connector one would introduce integrator's specific > > > connector, for example with compatible "olimex,teres-edp-connector" > > > which should follow edp abstract connector rules? This will be at least >

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-09 Thread Icenowy Zheng
于 2019年7月9日 GMT+08:00 下午4:55:32, Maxime Ripard 写到: >On Mon, Jul 08, 2019 at 05:49:21PM -0700, Vasily Khoruzhick wrote: >> > > Maybe instead of edp-connector one would introduce integrator's >specific >> > > connector, for example with compatible >"olimex,teres-edp-connector" >> > > which should

Re: [PATCH v2 4/4] backlight: add led-backlight driver

2019-07-09 Thread Daniel Thompson
On Mon, Jul 08, 2019 at 12:27:00PM +0200, Jean-Jacques Hiblot wrote: > From: Tomi Valkeinen > > This patch adds a led-backlight driver (led_bl), which is similar to > pwm_bl except the driver uses a LED class driver to adjust the > brightness in the HW. Multiple LEDs can be used for a single back

Re: [PATCH v2] backlight: rave-sp: don't touch initial state and register with correct device

2019-07-09 Thread Daniel Thompson
On Mon, Jul 08, 2019 at 02:41:29PM +0200, Lucas Stach wrote: > This way the backlight can be referenced through its device node and > enabling/disabling can be managed through the panel driver. > > Signed-off-by: Lucas Stach Reviewed-by: Daniel Thompson > --- > drivers/video/backlight/rave-s

[Bug 110702] segfault in radeonsi HEVC hardware decoding with yuv420p10le

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110702 Juan A. Suarez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 110783] Mesa 19.1 rc crashing MPV with VAAPI

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110783 --- Comment #20 from Juan A. Suarez --- The fix has landed in 19.1.2 release. Can you try it again? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing lis

[Bug 110944] [Bisected] Blender 2.8 crashes when closing certain windows

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110944 Juan A. Suarez changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH] drm/client: remove the exporting of drm_client_close

2019-07-09 Thread Noralf Trønnes
Den 04.07.2019 16.07, skrev Emil Velikov: > On Thu, 4 Jul 2019 at 08:27, Denis Efremov wrote: >> >> The function drm_client_close is declared as static and marked as >> EXPORT_SYMBOL. It's a bit confusing for an internal function to be >> exported. The area of visibility for such function is it

Re: [PATCH V3 4/5] drm/vkms: Compute CRC without change input data

2019-07-09 Thread Vasilev, Oleg
On Tue, 2019-06-25 at 22:38 -0300, Rodrigo Siqueira wrote: > The compute_crc() function is responsible for calculating the > framebuffer CRC value; due to the XRGB format, this function has to > ignore the alpha channel during the CRC computation. Therefore, > compute_crc() set zero to the alpha ch

Re: [PATCH 1/4] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-09 Thread Cezary Rojewski
On 2019-07-05 06:26, Cheng-Yi Chiang wrote: +static void hdmi_codec_jack_report(struct hdmi_codec_priv *hcp, + unsigned int jack_status) +{ + if (!hcp->jack) + return; + + if (jack_status != hcp->jack_status) { + snd_soc_jac

Re: [PATCH 1/4] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-09 Thread Cheng-yi Chiang
On Tue, Jul 9, 2019 at 7:47 PM Cezary Rojewski wrote: > > On 2019-07-05 06:26, Cheng-Yi Chiang wrote: > > +static void hdmi_codec_jack_report(struct hdmi_codec_priv *hcp, > > +unsigned int jack_status) > > +{ > > + if (!hcp->jack) > > + return; > > +

Re: [PATCH 1/4] ASoC: hdmi-codec: Add an op to set callback function for plug event

2019-07-09 Thread Cheng-yi Chiang
On Mon, Jul 8, 2019 at 1:03 PM Cheng-yi Chiang wrote: > > On Fri, Jul 5, 2019 at 8:12 PM Mark Brown wrote: > > > > On Fri, Jul 05, 2019 at 03:08:37PM +0800, Tzung-Bi Shih wrote: > > > On Fri, Jul 5, 2019 at 12:26 PM Cheng-Yi Chiang > > > wrote: > > > > > > +typedef void (*hdmi_codec_plugged_cb)

Re: [PATCH v5 05/12] drm/modes: Rewrite the command line parser

2019-07-09 Thread Maxime Ripard
Hi, On Fri, Jul 05, 2019 at 07:54:47PM +0300, Dmitry Osipenko wrote: > 17.06.2019 17:51, Maxime Ripard пишет: > > From: Maxime Ripard > > > > Rewrite the command line parser in order to get away from the state machine > > parsing the video mode lines. > > > > Hopefully, this will allow to extend

Re: [PATCH 2/9] v4l: Add definitions for missing 16-bit RGB4444 formats

2019-07-09 Thread Hans Verkuil
Hi Laurent, On 3/28/19 8:07 AM, Laurent Pinchart wrote: > The V4L2 API is missing the 16-bit RGB formats for the RGBA, RGBX, > ABGR, XBGR, BGRA and BGRX component orders. Add them, using the same > 4CCs as DRM. > > Signed-off-by: Laurent Pinchart > --- > .../media/uapi/v4l/pixfmt-packed-rgb

Re: [PATCH] drm/amdgpu: Fix build without CONFIG_HMM_MIRROR

2019-07-09 Thread Alex Deucher
On Tue, Jul 9, 2019 at 8:55 AM YueHaibing wrote: > > If CONFIG_HMM_MIRROR is not set, building may fails: > > In file included from drivers/gpu/drm/amd/amdgpu/amdgpu.h:72:0, > from drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:40: > drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h:69:20: error

Re: [PATCH v2 03/19] arm64: renesas: Update 'vsps' property

2019-07-09 Thread Kieran Bingham
Hi Jacopo, On 08/07/2019 04:11, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Sat, Jul 06, 2019 at 04:07:30PM +0200, Jacopo Mondi wrote: >> Update the 'vsps' property in the R-Car Gen3 SoC device tree files to >> match what's in in the documentation example. >> >> Sign

[GIT PULL] fbdev changes for v5.3

2019-07-09 Thread Bartlomiej Zolnierkiewicz
Hi Linus, Please pull fbdev changes for v5.3. They are: - removal of fbdev notifier usage for fbcon - COMPILE_TEST support for more fb drivers - removal of no longer needed fbdev mxsfb driver - minor fixes/cleanups for other fb drivers Please see the signed tag description for details. Test me

[Bug 110783] Mesa 19.1 rc crashing MPV with VAAPI

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110783 --- Comment #21 from ITwrx --- @juan sure, but i'll probably wait long enough for arch to package the new version. Thanks for letting me know. -- You are receiving this mail because: You are the assignee for the bug.___

Re: [PATCH 01/60] drm/edid: Add flag to drm_display_info to identify HDMI sinks

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:07, Laurent Pinchart wrote: > The drm_display_info structure contains many fields related to HDMI > sinks, but none that identifies if a sink compliant with CEA-861 (EDID) > shall be treated as an HDMI sink or a DVI sink. Add such a flag, and > populate it according to section 8.3.

Re: [PATCH 02/60] video: hdmi: Change return type of hdmi_avi_infoframe_init() to void

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:07, Laurent Pinchart wrote: > The hdmi_avi_infoframe_init() never needs to return an error, change its > return type to void. > > Signed-off-by: Laurent Pinchart Reviewed-by: Andrzej Hajda  -- Regards Andrzej ___ dri-devel mailing lis

Re: [PATCH v5 05/12] drm/modes: Rewrite the command line parser

2019-07-09 Thread Jon Hunter
On 09/07/2019 13:52, Dmitry Osipenko wrote: > 09.07.2019 15:45, Maxime Ripard пишет: >> Hi, >> >> On Fri, Jul 05, 2019 at 07:54:47PM +0300, Dmitry Osipenko wrote: >>> 17.06.2019 17:51, Maxime Ripard пишет: From: Maxime Ripard Rewrite the command line parser in order to get away fro

Re: [PATCH v8 1/6] drm: Add Content protection type property

2019-07-09 Thread Pekka Paalanen
On Mon, 8 Jul 2019 14:42:29 +0530 Ramalingam C wrote: > On 2019-07-08 at 12:59:59 +0300, Pekka Paalanen wrote: > > On Mon, 8 Jul 2019 12:52:17 +0300 > > Pekka Paalanen wrote: > > > > > On Fri, 5 Jul 2019 06:16:37 +0530 > > > Ramalingam C wrote: > > > > > > > This patch adds a DRM ENUM pr

Re: [PATCH v5 05/12] drm/modes: Rewrite the command line parser

2019-07-09 Thread Jon Hunter
On 09/07/2019 14:26, Jon Hunter wrote: > > On 09/07/2019 13:52, Dmitry Osipenko wrote: >> 09.07.2019 15:45, Maxime Ripard пишет: >>> Hi, >>> >>> On Fri, Jul 05, 2019 at 07:54:47PM +0300, Dmitry Osipenko wrote: 17.06.2019 17:51, Maxime Ripard пишет: > From: Maxime Ripard > > Rewr

Re: [PATCH 03/60] drm/bridge: dumb-vga-dac: Rename internal symbols to simple-bridge

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:07, Laurent Pinchart wrote: > The dumb-vga-dac driver is a simple DRM bridge driver for simple VGA > DACs that don't require configuration. Other non-VGA bridges fall in a > similar category, and would benefit from a common driver. Prepare for > this by renaming the internal symbol

Re: [PATCH 04/60] drm/bridge: dumb-vga-dac: Rename driver to simple-bridge

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > The dumb-vga-dac driver can support simple DRM bridges without being > limited to VGA DACs. Rename it to simple-bridge. > > Signed-off-by: Laurent Pinchart Reviewed-by: Andrzej Hajda  -- Regards Andrzej > --- > arch/arm/configs/davinci_all_defc

Re: [PATCH] drm/vkms: prime import support

2019-07-09 Thread Rodrigo Siqueira
Hi Oleg, First of all, thank you for your patch and for working in this issue. A few comments inline. On Thu, Jul 4, 2019 at 5:54 AM Oleg Vasilev wrote: > > Bring dmabuf sharing through implementing prime_import_sg_table callback. > This will help to validate userspace conformance in prime conf

[PATCH -next] drm/komeda: remove set but not used variable 'old'

2019-07-09 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/arm/display/komeda/komeda_plane.c: In function komeda_plane_atomic_duplicate_state: drivers/gpu/drm/arm/display/komeda/komeda_plane.c:161:35: warning: variable old set but not used [-Wunused-but-set-variable It is not used since com

Re: [PATCH 05/60] drm/bridge: simple-bridge: Add support for non-VGA bridges

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > Create a new simple_bridge_info structure that stores information about > the bridge model, and store the bridge timings in there, along with the > connector type. Use that new structure for of_device_id data. This > enables support for non-VGA bridges

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-09 Thread Maxime Ripard
On Tue, Jul 09, 2019 at 04:58:35PM +0800, Icenowy Zheng wrote: > > > 于 2019年7月9日 GMT+08:00 下午4:55:32, Maxime Ripard 写到: > >On Mon, Jul 08, 2019 at 05:49:21PM -0700, Vasily Khoruzhick wrote: > >> > > Maybe instead of edp-connector one would introduce integrator's > >specific > >> > > connector, for

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #40 from Wilko Bartels --- Since i experience the same issue since june (didnt game much) i want to share my system info. I am on Ryzen 2600X, Vega 56 Pulse, Strix B450. Using Arch 5.1. Tested every Windowmanager i know , tested also

Re: [PATCH v9 1/6] drm: Add Content protection type property

2019-07-09 Thread Pekka Paalanen
On Mon, 8 Jul 2019 16:51:11 +0530 Ramalingam C wrote: > This patch adds a DRM ENUM property to the selected connectors. > This property is used for mentioning the protected content's type > from userspace to kernel HDCP authentication. > > Type of the stream is decided by the protected content

Re: [PATCH 06/60] drm/bridge: simple-bridge: Add support for enable GPIO

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > If an enable GPIO is declared in the firmware, assert it when enabling > the bridge and deassert it when disabling it. > > Signed-off-by: Laurent Pinchart Hmm, simple becomes less simple. I guess we will end-up with sth similar to panel-simple. And

Re: [PATCH 07/60] drm/bridge: simple-bridge: Add support for the TI OP362

2019-07-09 Thread Andrzej Hajda
On 07.07.2019 20:18, Laurent Pinchart wrote: > The TI OP362 is an analog video amplifier controlled through a GPIO. Add > support for it to the simple-bridge driver. > > Signed-off-by: Laurent Pinchart Reviewed-by: Andrzej Hajda  -- Regards Andrzej > --- > drivers/gpu/drm/bridge/simple-bridge.

Re: [PATCH v9 4/6] drm/hdcp: update content protection property with uevent

2019-07-09 Thread Pekka Paalanen
On Mon, 8 Jul 2019 16:51:14 +0530 Ramalingam C wrote: > drm function is defined and exported to update a connector's > content protection property state and to generate a uevent along > with it. > > Need ACK for the uevent from userspace consumer. > > v2: > Update only when state is differen

Re: [PATCH v2 1/9] dt-bindings: display: Add TCON LCD compatible for R40

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 22:13:16 +0530, Jagan Teki wrote: > Like TCON TV0, TV1 allwinner R40 has TCON LCD0, LCD1 which > are managed via TCON TOP. > > Add tcon lcd compatible R40, the same compatible can handle > TCON LCD0, LCD1. > > Signed-off-by: Jagan Teki > Acked-by: Chen-Yu Tsai > --- > Docum

Re: [PATCH v2 6/9] dt-bindings: sun6i-dsi: Add R40 MIPI-DSI compatible (w/ A64 fallback)

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 22:13:21 +0530, Jagan Teki wrote: > The MIPI DSI controller on Allwinner R40 is similar on > the one on A64 like doesn't associate any DSI_SCLK gating. > > So, add R40 compatible and append A64 compatible as fallback. > > Signed-off-by: Jagan Teki > --- > Documentation/devic

[PATCH v1] drm/modes: Skip invalid cmdline mode

2019-07-09 Thread Dmitry Osipenko
The named mode could be invalid and then cmdline parser misses to validate mode's dimensions, happily adding 0x0 mode as a valid mode. One case where this happens is NVIDIA Tegra devices that are using downstream bootloader which adds "video=tegrafb" to the kernel's cmdline and thus upstream Tegra

Re: [PATCH v7 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-07-09 Thread shuah
On 7/9/19 12:30 AM, Brendan Higgins wrote: Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --gi

Re: [PATCH v1 12/33] drm/vkms: drop use of drmP.h

2019-07-09 Thread Rodrigo Siqueira
On Sun, Jun 30, 2019 at 3:19 AM Sam Ravnborg wrote: > > Drop use of the deprecated drmP.h header. > Replace it with the necessary includes in the individual .c files. > The header files was self-contained, and extra includes were not added > there. > > Signed-off-by: Sam Ravnborg > Cc: Rodrigo Si

[PATCH v3] gpu/drm_memory: fix a few warnings

2019-07-09 Thread Qian Cai
The opening comment mark "/**" is reserved for kernel-doc comments, so it will generate a warning with "make W=1". drivers/gpu/drm/drm_memory.c:2: warning: Cannot understand * \file drm_memory.c Also, silence a checkpatch warning by adding a license identfiter where it indicates the MIT license

[PATCH] drm/atmel-hlcdc: set layer REP bit to enable replication logic

2019-07-09 Thread Joshua.Henderson
This bit enables replication logic to expand an RGB color less than 24 bits, to 24 bits, which is used internally for all formats. Otherwise, the least significant bits are always set to zero and the color may not be what is expected. Signed-off-by: Joshua Henderson --- drivers/gpu/drm/atmel-hl

Re: [PATCH v2 7/9] dt-bindings: sun6i-dsi: Add R40 DPHY compatible (w/ A31 fallback)

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 22:13:22 +0530, Jagan Teki wrote: > The MIPI DSI PHY controller on Allwinner R40 is similar > on the one on A31. > > Add R40 compatible and append A31 compatible as fallback. > > Signed-off-by: Jagan Teki > --- > Documentation/devicetree/bindings/display/sunxi/sun6i-dsi.txt

Re: [PATCH v2 17/28] drivers: Introduce bus_find_device_by_of_node() helper

2019-07-09 Thread Rob Herring
On Fri, 14 Jun 2019 18:54:12 +0100, Suzuki K Poulose wrote: > Add a wrapper to bus_find_device() to search for a device > by the of_node pointer, reusing the generic match function. > Also convert the existing users to make use of the new helper. > > Cc: Maarten Lankhorst > Cc: Maxime Ripard > C

Re: [PATCH] drm/atmel-hlcdc: set layer REP bit to enable replication logic

2019-07-09 Thread Nicolas.Ferre
On 09/07/2019 at 17:35, Joshua Henderson wrote: > This bit enables replication logic to expand an RGB color less than 24 > bits, to 24 bits, which is used internally for all formats. Otherwise, > the least significant bits are always set to zero and the color may not > be what is expected. > > Si

Re: [PATCH v1] drm/tegra: Fix gpiod_get_from_of_node() regression

2019-07-09 Thread Jon Hunter
On 05/07/2019 16:11, Dmitry Osipenko wrote: > That function now returns ERR_PTR instead of NULL if "hpd-gpio" is not > present in device-tree. The offending patch missed to adapt the Tegra's > DRM driver for the API change. > > Fixes: 025bf37725f1 ("gpio: Fix return value mismatch of function >

Re: [PATCH] drm/amd/display: avoid 64-bit division

2019-07-09 Thread Abramov, Slava
Hi Arnd! Thanks for bisecting this issue. I wonder whether you are going to commit your patch or planning to update it and it's still in your work queue. We have one of our 32-bit builds failing because of this issue, so that I would like either to fix it or wait to your fix if it has chanc

Re: [PATCH] drm/amd/display: avoid 64-bit division

2019-07-09 Thread Deucher, Alexander
I'll just apply Arnd's patch. If the display team wants to adjust it later to clarify the operation, they should go ahead as a follow up patch. Thanks, Alex From: Abramov, Slava Sent: Tuesday, July 9, 2019 12:31 PM To: Arnd Bergmann; Wentland, Harry; Li, Sun pen

Re: [PATCH 5/6] dt-bindings: display: ssd1307fb: Add initialization properties

2019-07-09 Thread Rob Herring
On Tue, 18 Jun 2019 10:41:10 +0300, Marko Kohtala wrote: > Document new bindings for adapting ssd1307fb driver to new displays. > > Signed-off-by: Marko Kohtala > --- > .../devicetree/bindings/display/ssd1307fb.txt | 10 ++ > 1 file changed, 10 insertions(+) > Reviewed-by: Rob

Re: [PATCH v1 01/22] docs: Documentation/*.txt: rename all ReST files to *.rst

2019-07-09 Thread Rob Herring
On Tue, Jun 18, 2019 at 06:05:25PM -0300, Mauro Carvalho Chehab wrote: > Those files are actually at ReST format. Ok, currently, they > don't belong to any place yet at the organized book series, > but we don't want patches to break them as ReST files. So, > rename them and add a :orphan: in order

Re: [PATCH v7 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-07-09 Thread Brendan Higgins
On Tue, Jul 9, 2019 at 7:53 AM shuah wrote: > > On 7/9/19 12:30 AM, Brendan Higgins wrote: > > Add myself as maintainer of KUnit, the Linux kernel's unit testing > > framework. > > > > Signed-off-by: Brendan Higgins > > Reviewed-by: Greg Kroah-Hartman > > Reviewed-by: Logan Gunthorpe > > --- >

Re: [GIT PULL] fbdev changes for v5.3

2019-07-09 Thread pr-tracker-bot
The pull request you sent on Tue, 9 Jul 2019 15:10:33 +0200: > https://github.com/bzolnier/linux.git tags/fbdev-v5.3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/2d41ef5432b76ae90dc0db93026f1d981f874ec4 Thank you! -- Deet-doot-dot, I am a bot. https://korg.wiki.ke

[Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109955 --- Comment #41 from Sylvain BERTRAND --- Guys, I am getting freezes on tahiti xt/fx9590 recently... But I am not logging a bug yet because I think the reason is summer heat. Try to game with an opened computer case with a big fan blowing into

Re: [Bug 109955] amdgpu [RX Vega 64] system freeze while gaming

2019-07-09 Thread sylvain . bertrand
Guys, I am getting freezes on tahiti xt/fx9590 recently... But I am not logging a bug yet because I think the reason is summer heat. Try to game with an opened computer case with a big fan blowing into it. ___ dri-devel mailing list dri-devel@lists.fre

Re: [PATCH 5/7] drm/amd/display: Use proper enum conversion functions

2019-07-09 Thread Arnd Bergmann
On Thu, Jul 4, 2019 at 7:52 AM Nathan Chancellor wrote: > > clang warns: > > drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_pp_smu.c:336:8: > warning: implicit conversion from enumeration type 'enum smu_clk_type' > to different enumeration type 'enum amd_pp_clock_type' > [-Wenum-convers

[Bug 109524] "Invalid glsl version in shading_language_version()" when trying to run directX games using wine

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109524 --- Comment #12 from BabylonAS --- On Debian Testing I still have Mesa 18.3.6; so do I have to build Mesa from source code in order to get the patch? -- You are receiving this mail because: You are the assignee for the bug.

[PATCH v3 0/4] backlight: Expose brightness curve type through sysfs

2019-07-09 Thread Matthias Kaehlcke
Backlight brightness curves can have different shapes. The two main types are linear and non-linear curves. The human eye doesn't perceive linearly increasing/decreasing brightness as linear (see also 88ba95bedb79 "backlight: pwm_bl: Compute brightness of LED linearly to human eye"), hence many bac

[PATCH v3 4/4] backlight: pwm_bl: Set scale type for brightness curves specified in the DT

2019-07-09 Thread Matthias Kaehlcke
Check if a brightness curve specified in the device tree is linear or not and set the corresponding property accordingly. This makes the scale type available to userspace via the 'scale' sysfs attribute. To determine if a curve is linear it is compared to a interpolated linear curve between min an

[PATCH v3 2/4] backlight: Expose brightness curve type through sysfs

2019-07-09 Thread Matthias Kaehlcke
Backlight brightness curves can have different shapes. The two main types are linear and non-linear curves. The human eye doesn't perceive linearly increasing/decreasing brightness as linear (see also 88ba95bedb79 "backlight: pwm_bl: Compute brightness of LED linearly to human eye"), hence many bac

[PATCH v3 1/4] MAINTAINERS: Add entry for stable backlight sysfs ABI documentation

2019-07-09 Thread Matthias Kaehlcke
Add an entry for the stable backlight sysfs ABI to the MAINTAINERS file. Signed-off-by: Matthias Kaehlcke Acked-by: Daniel Thompson --- Changes in v3: - none Changes in v2: - added Daniel's 'Acked-by' tag --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAI

[PATCH v3 3/4] backlight: pwm_bl: Set scale type for CIE 1931 curves

2019-07-09 Thread Matthias Kaehlcke
For backlight curves calculated with the CIE 1931 algorithm set the brightness scale type to non-linear. This makes the scale type available to userspace via the 'scale' sysfs attribute. Signed-off-by: Matthias Kaehlcke Tested-by: Enric Balletbo i Serra Acked-by: Daniel Thompson --- Changes in

Re: [PATCH 00/10] Enable MST Aux devices (v2)

2019-07-09 Thread Li, Sun peng (Leo)
Hi Lyude, sorry - just realized I forgot to CC you on this series! Let me know if I should resend them. Adding some additional reviewers as well. Thanks, Leo On 2019-07-04 3:05 p.m., sunpeng...@amd.com wrote: > From: Leo Li > > Hi all, > > Here's the second revision of patches to enable mst

Re: [PATCH v1 0/33] drm: drop use of drmp.h in drm-misc

2019-07-09 Thread Sam Ravnborg
Hi all. On Sun, Jun 30, 2019 at 08:18:49AM +0200, Sam Ravnborg wrote: > This patch set removes a far share of the remaining uses of drmP.h. > Common for all patches are that the respective files are maintained > in drm-misc. > All patches are independent except [PATCH 32] drm/ast, > [PATCH 31] drm

Re: [PATCH] drm/amd/display: avoid 64-bit division

2019-07-09 Thread Arnd Bergmann
On Tue, Jul 9, 2019 at 6:40 PM Deucher, Alexander wrote: > > I'll just apply Arnd's patch. If the display team wants to adjust it later > to clarify the > operation, they should go ahead as a follow up patch. Thanks! > From: Abramov, Slava > Sent: Tuesday, July 9, 2019 12:31 PM > > Thanks for

Re: [PATCH v9 1/6] drm: Add Content protection type property

2019-07-09 Thread Ramalingam C
On 2019-07-09 at 17:31:10 +0300, Pekka Paalanen wrote: > On Mon, 8 Jul 2019 16:51:11 +0530 > Ramalingam C wrote: > > > This patch adds a DRM ENUM property to the selected connectors. > > This property is used for mentioning the protected content's type > > from userspace to kernel HDCP authentic

Re: [PATCH v8 1/6] drm: Add Content protection type property

2019-07-09 Thread Ramalingam C
On 2019-07-09 at 16:26:31 +0300, Pekka Paalanen wrote: > On Mon, 8 Jul 2019 14:42:29 +0530 > Ramalingam C wrote: > > > On 2019-07-08 at 12:59:59 +0300, Pekka Paalanen wrote: > > > On Mon, 8 Jul 2019 12:52:17 +0300 > > > Pekka Paalanen wrote: > > > > > > > On Fri, 5 Jul 2019 06:16:37 +0530 >

Re: [PATCH 5/7] ASoC: rockchip: rockchip-max98090: Add node for HDMI

2019-07-09 Thread Rob Herring
On Mon, Jun 03, 2019 at 12:32:49PM +0800, Cheng-Yi Chiang wrote: > Let user specify HDMI node so machine driver can use it to let codec > driver register callback on correct hdmi-notifier. > > Signed-off-by: Cheng-Yi Chiang > --- > Documentation/devicetree/bindings/sound/rockchip-max98090.txt |

Re: [PATCH v2 7/7] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-07-09 Thread Vasily Khoruzhick
On Tue, Jul 9, 2019 at 1:55 AM Maxime Ripard wrote: > > On Mon, Jul 08, 2019 at 05:49:21PM -0700, Vasily Khoruzhick wrote: > > > > Maybe instead of edp-connector one would introduce integrator's specific > > > > connector, for example with compatible "olimex,teres-edp-connector" > > > > which shou

Re: [PATCH v1] drm/tegra: Fix gpiod_get_from_of_node() regression

2019-07-09 Thread Dmitry Osipenko
09.07.2019 19:27, Jon Hunter пишет: > > On 05/07/2019 16:11, Dmitry Osipenko wrote: >> That function now returns ERR_PTR instead of NULL if "hpd-gpio" is not >> present in device-tree. The offending patch missed to adapt the Tegra's >> DRM driver for the API change. >> >> Fixes: 025bf37725f1 ("gpi

[Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102322 --- Comment #85 from dwagner --- (In reply to Wilko Bartels from comment #84) > nevermind. it crashed on 60hz as well (once) yesterday It sure does. This bug is now about two years old, during which amdgpu has never been stable, got worse, and

Re: [PATCH v2 1/3] dt-bindings: display: rockchip: document VOP gamma LUT address

2019-07-09 Thread Rob Herring
On Fri, 21 Jun 2019 18:13:44 -0300, Ezequiel Garcia wrote: > Add the register specifier description for an > optional gamma LUT address. > > Signed-off-by: Ezequiel Garcia > --- > Changes from v1: > * Drop reg-names, suggested by Doug. > --- > .../devicetree/bindings/display/rockchip/rockchip-vo

[PATCH v6 0/4] Panel rotation patches

2019-07-09 Thread Derek Basehore
This adds the plumbing for reading panel rotation from the devicetree and sets up adding a panel property for the panel orientation on Mediatek SoCs when a rotation is present. v6 changes: -added enum declaration to drm_panel.h header v5 changes: -rebased v4 changes: -fixed some changes made to

[PATCH v6 3/4] drm/connector: Split out orientation quirk detection

2019-07-09 Thread Derek Basehore
Not every platform needs quirk detection for panel orientation, so split the drm_connector_init_panel_orientation_property into two functions. One for platforms without the need for quirks, and the other for platforms that need quirks. Signed-off-by: Derek Basehore --- drivers/gpu/drm/drm_connec

[PATCH v6 2/4] drm/panel: set display info in panel attach

2019-07-09 Thread Derek Basehore
Devicetree systems can set panel orientation via a panel binding, but there's no way, as is, to propagate this setting to the connector, where the property need to be added. To address this, this patch sets orientation, as well as other fixed values for the panel, in the drm_panel_attach function.

  1   2   >