Re: [PATCH 1/3] [RFC]drm: add syncobj timeline support v4

2018-09-12 Thread Christian König
Am 13.09.2018 um 04:15 schrieb zhoucm1: On 2018年09月12日 19:05, Christian König wrote: [SNIP] +static void drm_syncobj_find_signal_pt_for_wait_pt(struct drm_syncobj *syncobj, +   struct drm_syncobj_wait_pt *wait_pt) +{ That whole approach still looks horrible complica

Re: [PATCH] efifb: BGRT: Add nobgrt option

2018-09-12 Thread David Herrmann
Hi On Wed, Sep 12, 2018 at 11:12 AM Hans de Goede wrote: > > In some setups restoring the BGRT logo is undesirable, allow passing > video=efifb:nobgrt on the kernel commandline to disable it. > > Cc: David Herrmann > Reported-by: David Herrmann > Signed-off-by: Hans de Goede > --- > drivers/v

Re: [v7] Add udmabuf misc device

2018-09-12 Thread Gerd Hoffmann
On Wed, Sep 12, 2018 at 08:24:00PM -0700, Gurchetan Singh wrote: > On Wed, Sep 12, 2018 at 12:03 AM Yann Droneaud wrote: > > > > Hi, > > > > Le lundi 27 août 2018 à 11:34 +0200, Gerd Hoffmann a écrit : > > > A driver to let userspace turn memfd regions into dma-bufs. > > > > > > Use case: Allows

Re: [PATCH 2/3] drm/exynos: scaler: Add support for tiled formats

2018-09-12 Thread Inki Dae
2018년 09월 12일 15:59에 Andrzej Pietrasiewicz 이(가) 쓴 글: > Hi Inki, > > W dniu 12.09.2018 o 01:54, Inki Dae pisze: >> Hi Marek and Andrzej, >> >> 2018년 08월 10일 22:29에 Marek Szyprowski 이(가) 쓴 글: >>> From: Andrzej Pietrasiewicz >>> >>> Add support for 16x16 tiled formats: NV12/NV21, YUYV and YUV420.

[Bug 107873] Doom 2016 - Rendering issues

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107873 Timothy Arceri changed: What|Removed |Added QA Contact|mesa-dev@lists.freedesktop. |dri-devel@lists.freedesktop

Re: [v7] Add udmabuf misc device

2018-09-12 Thread Gurchetan Singh
On Wed, Sep 12, 2018 at 12:03 AM Yann Droneaud wrote: > > Hi, > > Le lundi 27 août 2018 à 11:34 +0200, Gerd Hoffmann a écrit : > > A driver to let userspace turn memfd regions into dma-bufs. > > > > Use case: Allows qemu create dmabufs for the vga framebuffer or > > virtio-gpu ressources. Then t

Re: [PATCH v3 1/2] drm: Add library for shmem backed GEM objects

2018-09-12 Thread David Lechner
On 09/11/2018 07:43 AM, Noralf Trønnes wrote: This adds a library for shmem backed GEM objects with the necessary drm_driver callbacks. Signed-off-by: Noralf Trønnes --- ... +static int drm_gem_shmem_vmap_locked(struct drm_gem_shmem_object *shmem) +{ + struct drm_gem_object *obj = &s

Re: [PATCH v3 2/2] drm/tinydrm: Switch from CMA to shmem buffers

2018-09-12 Thread David Lechner
On 09/11/2018 07:44 AM, Noralf Trønnes wrote: This move makes tinydrm useful for more drivers. tinydrm doesn't need continuous memory, but at the time it was convenient to use the CMA library. The spi core can do dma on is_vmalloc() addresses making this possible. Cc: David Lechner Signed-off-b

[Bug 107509] corrupted Box in top Right corner in some games

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107509 --- Comment #8 from Timothy Arceri --- Payday 2 is fine for me on my RX480, mesa git, llvm 8.0 git, 4.17.18 kernel. -- You are receiving this mail because: You are the assignee for the bug.___ dri-de

Re: [PATCH 1/3] [RFC]drm: add syncobj timeline support v4

2018-09-12 Thread zhoucm1
On 2018年09月12日 19:05, Christian König wrote: Am 12.09.2018 um 12:20 schrieb zhoucm1: [SNIP] Drop the term semaphore here, better use syncobj. This is from VK_KHR_timeline_semaphore extension describe, not my invention, I just quote it. In kernel side, we call syncobj, in UMD, they still cal

RE: i915, HDMI/DP audio with multiple monitors

2018-09-12 Thread Yang, Libin
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Thursday, September 13, 2018 1:47 AM >To: Bruno Prémont >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; Takashi >Iwai ; alsa-de...@alsa-project.org; Yang, Libin > >Subject: Re: i9

Re: drm/imx: Crash in drm_mode_config_cleanup

2018-09-12 Thread Stefan Agner
On 12.09.2018 15:26, Stefan Agner wrote: > Hi, > > While working on Apalis iMX6 with four displays, I encountered the > following crash: > > ... > [2.978166] imx-drm display-subsystem: trying to bring up master > [2.984368] imx-drm display-subsystem: Looking for component 0 > [2.99023

Re: [PATCH 12/20] drm/pl111: Use drm_fbdev_generic_setup()

2018-09-12 Thread Eric Anholt
Noralf Trønnes writes: > The CMA helper is already using the drm_fb_helper_generic_probe part of > the generic fbdev emulation. This patch makes full use of the generic > fbdev emulation by using its drm_client callbacks. This means that > drm_mode_config_funcs->output_poll_changed and drm_driver

Re: [PATCH 18/20] drm/vc4: Use drm_fbdev_generic_setup()

2018-09-12 Thread Eric Anholt
Noralf Trønnes writes: > The CMA helper is already using the drm_fb_helper_generic_probe part of > the generic fbdev emulation. This patch makes full use of the generic > fbdev emulation by using its drm_client callbacks. This means that > drm_mode_config_funcs->output_poll_changed and drm_driver

[git pull] drm nouveau runpm and mst fixes

2018-09-12 Thread Dave Airlie
Hi Linus, I'm sending this separately as it's a bit larger than I generally like for one driver, but it does contain a bunch of make my nvidia laptop not die (runpm) and a bunch of make my docking station and monitor display stuff (mst) fixes. Lyude has spent a lot of time on these, and we are pu

drm/imx: Crash in drm_mode_config_cleanup

2018-09-12 Thread Stefan Agner
Hi, While working on Apalis iMX6 with four displays, I encountered the following crash: ... [2.978166] imx-drm display-subsystem: trying to bring up master [2.984368] imx-drm display-subsystem: Looking for component 0 [2.990236] imx-drm display-subsystem: master has incomplete compone

Re: [PATCH] drm/i915/dp: fix shifting by a negative number of bits

2018-09-12 Thread Paulo Zanoni
Em Qua, 2018-09-12 às 09:31 -0500, Gustavo A. R. Silva escreveu: > Function intel_port_to_tc() returns PORT_TC_NONE on error, which is > a negative value -1. In case PORT_TC_NONE is returned, there is an > undefined behavior when shifting by a negative number of bits in > both DP_PHY_MODE_STATUS_NO

[Bug 107912] Please add support for PIPE_CAP_TGSI_MUL_ZERO_WINS to radeonsi

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107912 Bug ID: 107912 Summary: Please add support for PIPE_CAP_TGSI_MUL_ZERO_WINS to radeonsi Product: Mesa Version: git Hardware: Other OS: All Statu

[PATCH v3 21/23] v4l: fwnode: Support parsing of CSI-2 C-PHY endpoints

2018-09-12 Thread Sakari Ailus
The V4L2 fwnode framework only parsed CSI-2 D-PHY endpoints while C-PHY support wasn't there. Also parse endpoints for media bus type V4L2_MBUS_CSI2_CPHY. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 10 +++--- 1 file changed, 7 inserti

[PATCH v3 19/23] v4l: fwnode: Print bus type

2018-09-12 Thread Sakari Ailus
Print bus type either as set by the driver or as parsed from the bus-type property, as well as the guessed V4L2 media bus type. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 38 +++ 1 file changed, 38 insertio

[PATCH v3 06/23] v4l: mediabus: Recognise CSI-2 D-PHY and C-PHY

2018-09-12 Thread Sakari Ailus
The CSI-2 bus may use either D-PHY or C-PHY. Make this visible in media bus enum. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-csi.c | 6 +++--- drivers/media/i2c/adv7180.c | 2 +- drivers/media/i2c/ov5640.c

[PATCH v3 18/23] v4l: fwnode: Use media bus type for bus parser selection

2018-09-12 Thread Sakari Ailus
Use the media bus types instead of the fwnode bus types internally. This is the interface to the drivers as well, making the use of the fwnode bus types more localised to the V4L2 fwnode framework. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c

[PATCH v3 23/23] smiapp: Query the V4L2 endpoint for a specific bus type

2018-09-12 Thread Sakari Ailus
Instead of opportunistically trying to gather some information from the V4L2 endpoint, set the bus type and let the V4L2 fwnode framework figure out the configuration. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/i2c/smiapp/smiapp-core.c | 6 ++ 1 file changed,

[PATCH v3 16/23] v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero

2018-09-12 Thread Sakari Ailus
Initialise the V4L2 fwnode endpoints to zero in all drivers using v4l2_fwnode_endpoint_parse(). This prepares for setting default endpoint flags as well as the bus type. Setting bus type to zero will continue to guess the bus among the guessable set (parallel, Bt.656 and CSI-2 D-PHY). Signed-off-b

[PATCH v3 17/23] v4l: fwnode: Only zero the struct if bus type is set to V4L2_MBUS_UNKNOWN

2018-09-12 Thread Sakari Ailus
In order to prepare for allowing drivers to set the defaults for a given bus, make zeroing the struct conditional based on detecting the bus. All callers now set the bus type to zero which allows only zeroing the remaining bus union. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- d

[PATCH v3 09/23] v4l: fwnode: Make use of newly specified bus types

2018-09-12 Thread Sakari Ailus
Add support for parsing CSI-2 D-PHY, parallel or Bt.656 bus explicitly. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 53 --- 1 file changed, 43 insertions(+), 10 deletions(-) diff --git a/drivers/media/v4l2-

[PATCH v3 12/23] v4l: fwnode: Support driver-defined lane mapping defaults

2018-09-12 Thread Sakari Ailus
Make use of the default CSI-2 lane mapping from caller-passed configuration. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-f

[PATCH v3 14/23] v4l: fwnode: Parse the graph endpoint as last

2018-09-12 Thread Sakari Ailus
Parsing the graph endpoint is always successful; therefore parse it as last. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-fwnode.c b/driv

[PATCH v3 20/23] v4l: fwnode: Use V4L2 fwnode endpoint media bus type if set

2018-09-12 Thread Sakari Ailus
Use the given media bus type set by the caller. If none is given (i.e. the mbus type is V4L2_MBUS_UNKNOWN, or 0), fall back to the old behaviour. This is to obtain the information from the DT or try to guess the bus type. -ENXIO is returned if the caller sets the bus type but that does not match w

[PATCH v3 13/23] v4l: fwnode: Support default CSI-2 lane mapping for drivers

2018-09-12 Thread Sakari Ailus
Most hardware doesn't support re-mapping of the CSI-2 lanes. Especially sensor drivers have a default number of lanes. Instead of requiring the caller (the driver) to provide such a unit mapping, provide one if no mapping is configured. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam ---

[PATCH v3 10/23] v4l: fwnode: Read lane inversion information despite lane numbering

2018-09-12 Thread Sakari Ailus
Read the lane inversion independently of whether the "data-lanes" property exists. This makes sense since the caller may pass the number of lanes as the default configuration while the lane inversion configuration may still be available in firmware. Signed-off-by: Sakari Ailus Tested-by: Steve Lo

[PATCH v3 11/23] v4l: fwnode: Only assign configuration if there is no error

2018-09-12 Thread Sakari Ailus
Only assign endpoint configuration if the endpoint is parsed successfully. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 30 ++ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/drivers/media/v4l2-co

[PATCH v3 08/23] v4l: fwnode: Detect bus type correctly

2018-09-12 Thread Sakari Ailus
In case the device supports multiple video bus types on an endpoint, the V4L2 fwnode framework attempts to detect the type based on the available information. This wasn't working really well, and sometimes could lead to the V4L2 fwnode endpoint struct as being mishandled between the bus types. Def

[PATCH v3 15/23] v4l: fwnode: Use default parallel flags

2018-09-12 Thread Sakari Ailus
The caller may provide default flags for the endpoint. Change the configuration based on what is available through the fwnode property API. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 19 +++ 1 file changed, 19 insertions(+

[PATCH v3 07/23] v4l: fwnode: Let the caller provide V4L2 fwnode endpoint

2018-09-12 Thread Sakari Ailus
Instead of allocating the V4L2 fwnode endpoint in v4l2_fwnode_endpoint_alloc_parse, let the caller to do this. This allows setting default parameters for the endpoint which is a very common need for drivers. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/i2c/ov2659.c

[PATCH v3 22/23] v4l: fwnode: Update V4L2 fwnode endpoint parsing documentation

2018-09-12 Thread Sakari Ailus
The semantics of v4l2_fwnode_endpoint_parse() and v4l2_fwnode_endpoint_alloc_parse() have changed slightly: they now take the bus type from the user as well as a default configuration for the bus that shall reflect the DT binding defaults. Document this. Signed-off-by: Sakari Ailus Tested-by: Ste

[PATCH v3 05/23] v4l: fwnode: Add definitions for CSI-2 D-PHY, parallel and Bt.656 busses

2018-09-12 Thread Sakari Ailus
Add definitions corresponding to DT bindings to the CSI-2 D-PHY, parallel and Bt.656 busses. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/v4l2-core/v4l2-fwnode.c b/drivers/

[PATCH v3 02/23] v4l: fwnode: Use fwnode_graph_for_each_endpoint

2018-09-12 Thread Sakari Ailus
Use fwnode_graph_for_each_endpoint iterator for better readability. Signed-off-by: Sakari Ailus Reviewed-by: Niklas Söderlund Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2

[PATCH v3 04/23] dt-bindings: media: Specify bus type for MIPI D-PHY, others, explicitly

2018-09-12 Thread Sakari Ailus
Allow specifying the bus type explicitly for MIPI D-PHY, parallel and Bt.656 busses. This is useful for devices that can make use of different bus types. There are CSI-2 transmitters and receivers but the PHY selection needs to be made between C-PHY and D-PHY; many devices also support parallel and

[PATCH v3 03/23] v4l: fwnode: The CSI-2 clock is continuous if it's not non-continuous

2018-09-12 Thread Sakari Ailus
The continuous clock flag was only set if there was a clock or data lanes. This isn't needed as such a configuration is invalid to begin with. Always set the continuous clock flag if the non-continuous property is not found. Signed-off-by: Sakari Ailus Tested-by: Steve Longerbeam --- drivers/me

[PATCH v3 01/23] v4l: fwnode: Add debug prints for V4L2 endpoint property parsing

2018-09-12 Thread Sakari Ailus
Print debug info as standard V4L2 endpoint are parsed. Signed-off-by: Sakari Ailus Reviewed-by: Niklas Söderlund Tested-by: Steve Longerbeam --- drivers/media/v4l2-core/v4l2-fwnode.c | 108 ++ 1 file changed, 85 insertions(+), 23 deletions(-) diff --git a/drive

[PATCH v3 00/23] V4L2 fwnode rework; support for default configuration

2018-09-12 Thread Sakari Ailus
Hello everyone, I've long thought the V4L2 fwnode framework requires some work (it's buggy and it does not adequately serve common needs). This set should address in particular these matters: - Most devices support a particular media bus type but the V4L2 fwnode framework was not able to use su

[PATCH 1/2] intel: annotate public functions

2018-09-12 Thread Lucas De Marchi
This was done with: while read sym; do read f func line _ <<<$(cscope -d -L -1 $sym) if [ ! -z "$f" ]; then line=$((line-1)) sed -i "${line}s/^/drm_public /" $f fi done < /tmp/a.txt Then some corner cases were manually fixed. "a.txt" above co

[PATCH 0/2] intel: hide library symbols by default

2018-09-12 Thread Lucas De Marchi
Rely on -fvisibility=hidden to hide the symbols. This only applies to drm_intel.so sice there's no point in extending this if it receives a nack for some reason. For the same reason, only done on meson as well. drm_private can also be removed from other symbols. If this passes a smoke test I'll ad

[PATCH 2/2] meson: intel: make symbols hidden by default

2018-09-12 Thread Lucas De Marchi
Signed-off-by: Lucas De Marchi --- intel/meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/intel/meson.build b/intel/meson.build index ff40ab91..c808781b 100644 --- a/intel/meson.build +++ b/intel/meson.build @@ -18,6 +18,8 @@ # OUT OF OR IN CONNECTION WITH THE S

Re: [PATCH 2/2] vgaarb: Keep adding VGA device in queue

2018-09-12 Thread Alex Deucher
On Fri, Aug 31, 2018 at 5:39 PM Aaron Ma wrote: > > If failed to find the deivice owning the boot framebuffer, > try to use the first VGA device instead of the last one. > > Usually the 1st device is integrated GPU who owns the boot framebuffer. > > Signed-off-by: Aaron Ma Series is: Acked-by: A

[Bug 99510] cl_khr_fp64 is reported as supported, but is not, on CAYMAN

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99510 Jan Vesely changed: What|Removed |Added Blocks||96881 Referenced Bugs: https://bugs.freed

[Bug 96881] ViennaCL fails dense_blas-bench-opencl benchmark with doubles on AMD CYPRESS (DRM 2.43.0, LLVM 3.8.0)

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96881 Jan Vesely changed: What|Removed |Added Depends on||99510 Referenced Bugs: https://bugs.freed

Re: [PATCH] drm/amd/display: fix ptr_ret.cocci warnings

2018-09-12 Thread Alex Deucher
On Tue, Sep 11, 2018 at 8:59 PM kbuild test robot wrote: > > From: kbuild test robot > > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c:771:1-3: WARNING: > PTR_ERR_OR_ZERO can be used > > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle

Re: i915, HDMI/DP audio with multiple monitors

2018-09-12 Thread Alex Deucher
On Wed, Sep 12, 2018 at 3:05 AM Bruno Prémont wrote: > > Hi, > > I have a system with multiple monitors and would like to send > notification sounds to the monitor on which corresponding > window is visible. > > For a workstation and a tiny computer things look different: > - workstation (Intel(R)

Re: [Intel-gfx] [PATCH v4 19/25] drm/i915/dsc: Add a power domain for VDSC on eDP/MIPI DSI

2018-09-12 Thread Rodrigo Vivi
On Tue, Sep 11, 2018 at 05:56:01PM -0700, Manasi Navare wrote: > On Icelake, a separate power well PG2 is created for > VDSC engine used for eDP/MIPI DSI. bikeshed: To be more precise the PG2 wasn't *created* here, but it was reserved only for VDSC on eDP/MIPI use and everything else that was prev

Re: [PATCH v2 3/4] drm/i915/icl: Preparations for enabling Y210, Y212, Y216 formats

2018-09-12 Thread Juha-Pekka Heikkilä
Swati Sharma kirjoitti 12.9.2018 klo 13.32: From: Vidya Srinivas Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/intel_display.c | 15 +++ drivers/gpu/drm/i915/intel_sprite.c | 3 +++ 2 files changed, 18 insertions(+) diff --git a/driver

Re: [PATCH] drm/amdgpu: Add braces to initialize task_info subojects

2018-09-12 Thread Alex Deucher
On Wed, Sep 12, 2018 at 2:40 PM Nathan Chancellor wrote: > > On Wed, Sep 12, 2018 at 10:38:30AM -0700, Nick Desaulniers wrote: > > On Tue, Sep 11, 2018 at 5:26 PM Nathan Chancellor > > wrote: > > > > > > Clang warns if there are missing braces around a subobject > > > initializer. > > > > > > dri

[PATCH v2 8/8] ARM: dts: imx6qdl-apalis: add GPIO I2C node for DDC

2018-09-12 Thread Stefan Agner
Currently, the DDC signals are controlled by the DWC HDMI I2C master to be used for HDMI (DVI on the Apalis Evaluation Board). However, the Apalis Evaluation board also allows to route the Apalis DDC I2C to the LVDS or the VGA connector. By default, the signal is routed to DVI (HDMI), and therefor

[PATCH v2 7/8] ARM: dts: imx6qdl-apalis: add VGA support

2018-09-12 Thread Stefan Agner
The Apalis iMX6 modules use a simple DAC using resistor ladders to convert parallel RGB to VGA. Add support for this output using the dumb VGA driver. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx6q-apalis-eval.dts | 28 + arch/arm/boot/dts/imx6qdl-apalis.dtsi | 52

[PATCH v2 6/8] drm/imx: support handling bridge timings bus flags

2018-09-12 Thread Stefan Agner
A bridge might require specific settings for the pixel data on the bus. Copy the bus flags from the bridge timings if a bridge is in use. Signed-off-by: Stefan Agner --- drivers/gpu/drm/imx/parallel-display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/imx/parallel-dis

[PATCH v2 4/8] drm/bridge: allow to specify data-enable polarity

2018-09-12 Thread Stefan Agner
Support boards with a passive RGB to VGA bridge which require a low active data-enable polarity. Signed-off-by: Stefan Agner --- drivers/gpu/drm/bridge/dumb-vga-dac.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/bridge/dumb-vga-dac.c

[PATCH v2 5/8] dt-bindings: display: add data-enable polarity property

2018-09-12 Thread Stefan Agner
Allow to specify the data-enable polarity required by a dumb VGA DAC converting parallel RGB to VGA. Signed-off-by: Stefan Agner --- .../devicetree/bindings/display/bridge/dumb-vga-dac.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/bri

[PATCH v2 2/8] drm/pl111: simplify bridge timing support

2018-09-12 Thread Stefan Agner
Simplify bridge timing support by only supporting pixel clock polarity. This aligns pixel clock polarity handling for bridges with displays. Signed-off-by: Stefan Agner --- drivers/gpu/drm/pl111/pl111_display.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff -

[PATCH v2 3/8] drm/bridge: simplify bridge timing info

2018-09-12 Thread Stefan Agner
Bridges are typically connected to a parallel display signal with pixel clock, sync signals and data lines. Parallel display signals are also used in lower-end embedded display panels. For parallel display panels we currently do not specify setup/hold times. From discussions on the mailing list it

[PATCH v2 1/8] drm/bridge: use bus flags in bridge timings

2018-09-12 Thread Stefan Agner
The DRM bus flags conveys additional information on pixel data on the bus. All currently available bus flags might be of interest for a bridge. In the case at hand a dumb VGA bridge needs a specific data enable polarity (DRM_BUS_FLAG_DE_LOW). Replace the sampling_edge field with input_bus_flags an

[PATCH v2 0/8] drm/bridge: add bus flag support

2018-09-12 Thread Stefan Agner
This v2 shifted a bit more to rework bridge timing support. While my use case mainly cares about complete bus flag support, it seems to me that bus timings have ended up to be more complex than necessary. Patch 2/3 are an attempt to simplify bus timings. This also aligns bridge timings with how dis

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 5:27 PM, Liviu Dudau wrote: > On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: >> On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: >> > Hi, >> > >> > On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: >> > > On Fri, Sep 07, 2018 at 01

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 3:52 PM, Brian Starkey wrote: > On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: >> >> On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: >>> >>> Hi, >>> >>> On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: >>> > On Fri, Sep 07, 2018

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Greg Kroah-Hartman
On Wed, Sep 12, 2018 at 05:08:52PM +0200, Arnd Bergmann wrote: > The .ioctl and .compat_ioctl file operations have the same prototype so > they can both point to the same function, which works great almost all > the time when all the commands are compatible. > > One exception is the s390 architect

Re: i915, HDMI/DP audio with multiple monitors

2018-09-12 Thread Takashi Iwai
On Wed, 12 Sep 2018 19:46:58 +0200, Ville Syrjälä wrote: > > On Tue, Sep 11, 2018 at 03:50:13PM +0200, Bruno Prémont wrote: > > Hi, > > > > I have a system with multiple monitors and would like to send > > notification sounds to the monitor on which corresponding > > window is visible. > > > > F

Re: i915, HDMI/DP audio with multiple monitors

2018-09-12 Thread Ville Syrjälä
On Tue, Sep 11, 2018 at 03:50:13PM +0200, Bruno Prémont wrote: > Hi, > > I have a system with multiple monitors and would like to send > notification sounds to the monitor on which corresponding > window is visible. > > For a workstation and a tiny computer things look different: > - workstation

[Bug 107855] [regression] [amdgpu] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, giving up!!!

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107855 Michel Dänzer changed: What|Removed |Added CC||linuxhi...@gmail.com --- Comment #12 fr

[Bug 107910] Linux-4.18: Boot delayed with "VCE not responding" [regression]

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107910 Michel Dänzer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH] gpu: host1x: Remove redundant of_dma_configure() call

2018-09-12 Thread Robin Murphy
Now that the Host1x bus_type implements a .dma_configure callback, subdevices should automatically get configured for DMA as their drivers bind, so there's no need to also force it at device creation time. CC: Thierry Reding CC: Mikko Perttunen Signed-off-by: Robin Murphy --- I *believe* my re

Re: [PATCH] etnaviv: Make sure DMA is setup

2018-09-12 Thread Lucas Stach
Am Mittwoch, den 12.09.2018, 17:50 +0200 schrieb Lucas Stach: > Hi Guido, > > I've just sent out a patch which should hopefully also fix this issue, > in a (slightly) more correct way. I don't have my MX8M system up right > now, so would appreciate if you could test drive this patch. And I just r

[Bug 107910] Linux-4.18: Boot delayed with "VCE not responding" [regression]

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107910 Bug ID: 107910 Summary: Linux-4.18: Boot delayed with "VCE not responding" [regression] Product: DRI Version: unspecified Hardware: Other OS: All

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Christian König
Am 12.09.2018 um 11:12 schrieb Chris Wilson: Quoting Daniel Vetter (2018-09-12 10:02:47) On Wed, Sep 12, 2018 at 10:50 AM, Chris Wilson wrote: Quoting Daniel Vetter (2018-09-12 09:39:30) On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson wrote: If the ioctl is not supported on a particular piec

Re: [linux-sunxi] Re: [PATCH 08/27] clk: sunxi-ng: Add support for H6 DE3 clocks

2018-09-12 Thread Chen-Yu Tsai
On Wed, Sep 12, 2018 at 10:55 PM Jernej Škrabec wrote: > > Dne sreda, 12. september 2018 ob 14:20:08 CEST je Chen-Yu Tsai napisal(a): > > On Wed, Sep 5, 2018 at 1:46 AM Jernej Škrabec > wrote: > > > Dne torek, 04. september 2018 ob 11:04:21 CEST je Chen-Yu Tsai napisal(a): > > > > On Sun, Sep 2,

Re: [PATCH libdrm] intel: annotate the intel genx helpers as private

2018-09-12 Thread Rodrigo Vivi
On Wed, Sep 12, 2018 at 08:50:54AM -0700, Rodrigo Vivi wrote: > From: Emil Velikov > > They're used internally and never meant to be part of the API. > Add the drm_private notation, which should resolve that. > > v2: (Rodrigo) Add missing include. > v3: (Rodrigo) Keep includes grouped per Eric s

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Mauro Carvalho Chehab
Em Wed, 12 Sep 2018 17:08:52 +0200 Arnd Bergmann escreveu: > The .ioctl and .compat_ioctl file operations have the same prototype so > they can both point to the same function, which works great almost all > the time when all the commands are compatible. > > One exception is the s390 architectur

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 5:08 PM, Arnd Bergmann wrote: > The .ioctl and .compat_ioctl file operations have the same prototype so > they can both point to the same function, which works great almost all > the time when all the commands are compatible. > > One exception is the s390 architecture, wher

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 5:47 PM, Maxime Ripard wrote: > On Wed, Sep 12, 2018 at 04:25:36PM +0200, Daniel Vetter wrote: >> On Wed, Sep 12, 2018 at 11:53 AM, Maxime Ripard >> wrote: >> > On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: >> >> On Tue, Sep 11, 2018 at 01:33:25PM +0200, M

[PATCH libdrm] intel: annotate the intel genx helpers as private

2018-09-12 Thread Rodrigo Vivi
From: Emil Velikov They're used internally and never meant to be part of the API. Add the drm_private notation, which should resolve that. v2: (Rodrigo) Add missing include. v3: (Rodrigo) Keep includes grouped per Eric suggestion. Cc: Eric Engestrom Cc: Lucas De Marchi Cc: Chris Wilson Cc: R

Re: [PATCH] etnaviv: Make sure DMA is setup

2018-09-12 Thread Lucas Stach
Hi Guido, I've just sent out a patch which should hopefully also fix this issue, in a (slightly) more correct way. I don't have my MX8M system up right now, so would appreciate if you could test drive this patch. Regards, Lucas Am Mittwoch, den 12.09.2018, 17:44 +0200 schrieb Guido Günther: > Si

[PATCH] etnaviv: Make sure DMA is setup

2018-09-12 Thread Guido Günther
Since we don't want to setup up DMA via device tree we end up with arm64's dummy_dma_ops otherwise. Links: https://lists.freedesktop.org/archives/etnaviv/2018-August/001925.html Signed-off-by: Guido Günther --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 13 - 1 file changed, 12 insertio

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Maxime Ripard
On Wed, Sep 12, 2018 at 04:25:36PM +0200, Daniel Vetter wrote: > On Wed, Sep 12, 2018 at 11:53 AM, Maxime Ripard > wrote: > > On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: > >> On Tue, Sep 11, 2018 at 01:33:25PM +0200, Maxime Ripard wrote: > >> > Having DRM_SUN4I built-in but DRM_

[pull] amdgpu drm-fixes-4.19

2018-09-12 Thread Alex Deucher
Hi Dave, A few fixes for 4.19: - Fix a small memory leak - SR-IOV reset fix - Fix locking in MMU-notifier error path - Updated SDMA golden settings to fix a PRT hang The following changes since commit 67c6ed7cf9ebe53815f15bfdeb49ad91801c2235: Merge tag 'drm-intel-fixes-2018-09-05' of git://an

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Brian Starkey
On Wed, Sep 12, 2018 at 04:27:04PM +0100, Liviu Dudau wrote: On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: > Hi, > > On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: > > On Fri, Sep 07, 2018 at 01:45:36

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Liviu Dudau
On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: > On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: > > Hi, > > > > On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: > > > On Fri, Sep 07, 2018 at 01:45:36PM +0100, Brian Starkey wrote: > > > > Hi Daniel, > >

[PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Arnd Bergmann
The .ioctl and .compat_ioctl file operations have the same prototype so they can both point to the same function, which works great almost all the time when all the commands are compatible. One exception is the s390 architecture, where a compat pointer is only 31 bit wide, and converting it into a

Re: [linux-sunxi] Re: [PATCH 02/27] arm64: allwinner: h6: add system controller device tree node

2018-09-12 Thread Chen-Yu Tsai
On Tue, Sep 4, 2018 at 4:44 PM Icenowy Zheng wrote: > > > > 于 2018年9月4日 GMT+08:00 下午4:40:56, Chen-Yu Tsai 写到: > >On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec > >wrote: > >> > >> From: Icenowy Zheng > >> > >> As we have already binding for the H6 system controller, add its node > >> to the devi

Re: [PATCH] [v3] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Maxime Ripard
On Wed, Sep 12, 2018 at 12:25:54PM +0100, Matt Hart wrote: > On 7 September 2018 at 12:42, Maxime Ripard wrote: > > On Fri, Sep 07, 2018 at 01:26:30PM +0200, Arnd Bergmann wrote: > >> On Fri, Sep 7, 2018 at 11:41 AM Jon Hunter wrote: > >> > > >> > > >> > On 11/07/18 15:43, Arnd Bergmann wrote: >

[Bug 107880] Regression: System fails to boot on raven ridge 4.18 vs 4.19 rc

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107880 --- Comment #11 from jam...@amd.com --- I think latest ROCm package has fixed this issue. You are welcome to try it. Best Regards! James zhu -- You are receiving this mail because: You are the assignee for the bug.

Re: next-20180911 build: 1 failures 15 warnings (next-20180911)

2018-09-12 Thread Mark Brown
On Wed, Sep 12, 2018 at 04:02:22PM +0200, Maxime Ripard wrote: > On Tue, Sep 11, 2018 at 10:18:01PM +0200, Daniel Vetter wrote: > > Patch seems to have been stuck on dri-devel. I smashed an r-b onto it > > so Maxime can apply. > It's done now. Thanks! signature.asc Description: PGP signature _

Re: [PATCH v4 04/25] drm/dp: DRM DP helper/macros to get DP sink DSC parameters

2018-09-12 Thread Singh, Gaurav K
On 9/12/2018 6:25 AM, Manasi Navare wrote: This patch adds inline functions and helpers for obtaining DP sink's supported DSC parameters like DSC sink support, eDP compressed BPP supported, maximum slice count supported by the sink devices, DSC line buffer bit depth supported on DP sink, DSC si

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 11:53 AM, Maxime Ripard wrote: > On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: >> On Tue, Sep 11, 2018 at 01:33:25PM +0200, Maxime Ripard wrote: >> > Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module results >> > in >> > a link error, as w

Re: [PATCH v4 6/6] drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328

2018-09-12 Thread Heiko Stuebner
Am Montag, 10. September 2018, 17:15:46 CEST schrieb Jonas Karlman: > Hi Heiko, > > CEC is not working when CEC 5V is enabled > > On 2018-09-10 11:22, Heiko Stuebner wrote: > > > The rk3328 uses a dw-hdmi controller with an external hdmi phy from > > Innosilicon which uses the generic phy framew

Re: next-20180911 build: 1 failures 15 warnings (next-20180911)

2018-09-12 Thread Maxime Ripard
On Tue, Sep 11, 2018 at 10:18:01PM +0200, Daniel Vetter wrote: > On Tue, Sep 11, 2018 at 10:10 PM, Mark Brown wrote: > > On Tue, Sep 11, 2018 at 08:47:28PM +0100, Build bot for Mark Brown wrote: > > > > Today's -next fails to build an arm64 defconfig due to: > > > >> arm64-defconfig > >> ERR

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Maxime Ripard
On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: > On Tue, Sep 11, 2018 at 01:33:25PM +0200, Maxime Ripard wrote: > > Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module results > > in > > a link error, as we try to access a symbol from the sun8i_tcon_top.ko > > modul

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Brian Starkey
On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: Hi, On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: > On Fri, Sep 07, 2018 at 01:45:36PM +0100, Brian Starkey wrote: > > Hi Daniel, > > > > On Fri, Aug 31

Re: [PATCH v4 02/25] drm/dp: Add DP DSC DPCD receiver capability size define and missing SHIFT

2018-09-12 Thread Singh, Gaurav K
On 9/12/2018 6:25 AM, Manasi Navare wrote: This patch defines the DP DSC receiver capability size that gives total number of DP DSC DPCD registers. This also adds a missing #defines for DP DSC support missed in the commit id (ab6a46ea6842ce "Add DPCD definitions for DP 1.4 DSC feature") v3: *

Re: [PATCH -next] drm/fb-helper: Remove set but not used variable 'connector_funcs'

2018-09-12 Thread Sean Paul
On Wed, Sep 12, 2018 at 03:15:30AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/drm_fb_helper.c: In function 'drm_pick_crtcs': > drivers/gpu/drm/drm_fb_helper.c:2373:43: warning: > variable 'connector_funcs' set but not used [-Wunused-but-set-varia

Re: [PATCH v2 4/4] drm/i915/icl: Enable Y210, Y212, Y216 format for primary and sprite planes

2018-09-12 Thread Juha-Pekka Heikkila
On 12.09.2018 13:32, Swati Sharma wrote: From: Vidya Srinivas In this patch, a list for icl specific pixel formats is created in which Y210, Y212 and Y216 pixel formats are added along with legacy pixel formats for primary and sprite plane. Signed-off-by: Swati Sharma Signed-off-by: Vidya Sri

[PATCH v5 6/6] drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328

2018-09-12 Thread Heiko Stuebner
The rk3328 uses a dw-hdmi controller with an external hdmi phy from Innosilicon which uses the generic phy framework for access. Add the necessary data and the compatible for the rk3328 to the rockchip dw-hdmi driver. Signed-off-by: Heiko Stuebner Tested-by: Robin Murphy Acked-by: Rob Herring

  1   2   >