[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-30 Thread Shawn Guo
Hi Emil, On Fri, Sep 30, 2016 at 01:34:14PM +0100, Emil Velikov wrote: > Hi Shawn, > > A couple of fly-by suggestions, which I hope you'll find useful :-) Thanks for the suggestions. > On 24 September 2016 at 15:26, Shawn Guo wrote: > > > + > > + val = ((vm.hsync_len - 1) <<

[PATCH] drm: simple_kms_helper: Handle the vblank events

2016-09-30 Thread Marek Vasut
On 09/29/2016 11:28 AM, Daniel Vetter wrote: > On Tue, Sep 27, 2016 at 02:20:49PM +0200, Marek Vasut wrote: >> On 09/27/2016 02:16 PM, Noralf Trønnes wrote: >>> >>> Den 27.09.2016 12:29, skrev Marek Vasut: On 09/27/2016 09:49 AM, Daniel Vetter wrote: > On Mon, Sep 26, 2016 at 2:59 PM,

[PATCH 2/2] drm/imx: Switch to drm_fb_cma_setup_fence() helper

2016-09-30 Thread Marek Vasut
On 09/29/2016 11:37 AM, Daniel Vetter wrote: > On Mon, Sep 26, 2016 at 03:01:04PM +0200, Marek Vasut wrote: >> Remove the common code from the driver and use the drm_fb_cma_setup_fence() >> helper instead. Moveover, call the helper from prepare_fb() plane hook . >> >> Signed-off-by: Marek Vasut

[PATCH V2] drm: simple_kms_helper: Add prepare_fb and cleanup_fb hooks

2016-09-30 Thread Marek Vasut
Add .prepare_fb and .cleanup_fb plane hooks into the drm_simple_kms. These can be used by drivers to call ie. the drm_fb_cma_setup_fence() helper. Signed-off-by: Marek Vasut Cc: Noralf Trønnes Cc: Daniel Vetter Cc: David Airlie --- V2: Fix the documentation style to play well with make

[PATCH 1/2] drm/fb_cma_helper: Add drm_fb_cma_setup_fence() helper

2016-09-30 Thread Marek Vasut
On 09/29/2016 11:36 AM, Daniel Vetter wrote: > On Wed, Sep 28, 2016 at 10:08:21PM +0200, Marek Vasut wrote: >> On 09/28/2016 03:55 PM, Lucas Stach wrote: >>> Hi Marek, >>> >>> Am Montag, den 26.09.2016, 15:01 +0200 schrieb Marek Vasut: Add new drm_fb_cma_setup_fence() helper function

[PATCH] drm: simple_kms_helper: Add prepare_fb and cleanup_fb hooks

2016-09-30 Thread Marek Vasut
On 09/29/2016 11:39 AM, Daniel Vetter wrote: > On Mon, Sep 26, 2016 at 03:01:52PM +0200, Marek Vasut wrote: >> Add .prepare_fb and .cleanup_fb plane hooks into the drm_simple_kms. >> These can be used by drivers to call ie. the drm_fb_cma_setup_fence() >> helper. >> >> Signed-off-by: Marek Vasut

[git pull] drm fixes for 4.8 final

2016-09-30 Thread Dave Airlie
Hi Linus, One big regression fix for udl, along with two amdgpu fixes and two nouveau fixes. All seems pretty safe and useful. Dave. The following changes since commit 08895a8b6b06ed2323cd97a36ee40a116b3db8ed: Linux 4.8-rc8 (2016-09-25 18:47:13 -0700) are available in the git repository

[PATCH] drm/mediatek: fix a typo

2016-09-30 Thread Bibby Hsieh
On Thu, 2016-09-29 at 10:46 +0200, Matthias Brugger wrote: > > On 29/09/16 06:01, CK Hu wrote: > > Acked-by: CK Hu > > > > On Thu, 2016-09-29 at 11:22 +0800, Bibby Hsieh wrote: > >> Fix the typo: OD_RELAYMODE->OD_CFG > >> > Hi, Matthias Thanks for your reply. > Although it is quite clear what

[PATCH v3 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-09-30 Thread Archit Taneja
Hi Andrezj, On 09/26/2016 07:10 PM, Andrzej Hajda wrote: > SiI8620 transmitter converts eTMDS/HDMI signal to MHL 3.0. > It is controlled via I2C bus. Its interaction with other > devices in video pipeline is performed mainly on HW level. > The only interaction it does on device driver level is >

[PATCH] drm/mediatek: stop using drm_vblank_count() as the hw frame counter

2016-09-30 Thread YT Shen
using drm_vblank_no_hw_counter() to eliminate kernel warning. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c index

[PATCH] drm: Document caveats around atomic event handling

2016-09-30 Thread Andrzej Hajda
Hi Daniel, Thanks for very descriptive comment. Few comments/questions below. On 29.09.2016 17:50, Daniel Vetter wrote: > It's not that obvious how a driver can all race the atomic commit with > handling the completion event. And there's unfortunately a pile of > drivers with rather bad event

[radeon-alex:amd-staging-4.7 1514/1548] drivers/gpu/drm/amd/amdgpu/../dal/dc/i2caux/dce110/aux_engine_dce110.c:111:11: warning: unused variable 'counter'

2016-09-30 Thread kbuild test robot
--- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 55095 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/af802c1a/attachment-0001.gz>

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Hans de Goede
Hi, On 30-09-16 05:09, Laszlo Ersek wrote: > Hello Daniel, > > On 06/21/16 14:08, daniel.vetter at ffwll.ch (Daniel Vetter) wrote: >> We already have a fallback in place to fill out the unique from >> dev->unique, which is set to something reasonable in drm_dev_alloc. >> >> Which means we only

[PATCH 00/20] Introduce DRM_FB_HELPER_DEFAULT_OPS for struct fb_ops

2016-09-30 Thread Gustavo Padovan
Hi Stefan, 2016-09-29 Stefan Christ : > Hi, > > this series is refactoring work suggested by Daniel Vetter in the email: > >https://lists.freedesktop.org/archives/dri-devel/2016-July/113237.html > > The define DRM_FB_HELPER_DEFAULT_OPS provides the drm_fb_helper default > implementations

[PATCH] drm: Document caveats around atomic event handling

2016-09-30 Thread Daniel Vetter
On Fri, Sep 30, 2016 at 9:56 AM, Andrzej Hajda wrote: > Hi Daniel, > > Thanks for very descriptive comment. > Few comments/questions below. > > On 29.09.2016 17:50, Daniel Vetter wrote: >> It's not that obvious how a driver can all race the atomic commit with >> handling the completion event. And

[PATCH] drm: simple_kms_helper: Handle the vblank events

2016-09-30 Thread Daniel Vetter
On Thu, Sep 29, 2016 at 11:04 PM, Marek Vasut wrote: > On 09/29/2016 11:28 AM, Daniel Vetter wrote: >> On Tue, Sep 27, 2016 at 02:20:49PM +0200, Marek Vasut wrote: >>> On 09/27/2016 02:16 PM, Noralf Trønnes wrote: Den 27.09.2016 12:29, skrev Marek Vasut: > On 09/27/2016 09:49 AM,

[PATCH 1/2] drm/fb_cma_helper: Add drm_fb_cma_setup_fence() helper

2016-09-30 Thread Daniel Vetter
On Thu, Sep 29, 2016 at 11:44 PM, Marek Vasut wrote: > I have the following right now, I think that's more descriptive as this > function is not preparing the FB in any way. > > /** > * drm_fb_cma_extract_and_attach_fence() - Extract fence from plane and > attach to planestate > * @plane: Which

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Emil Velikov
Hi all On 30 September 2016 at 04:09, Laszlo Ersek wrote: > Hello Daniel, > > On 06/21/16 14:08, daniel.vetter at ffwll.ch (Daniel Vetter) wrote: >> We already have a fallback in place to fill out the unique from >> dev->unique, which is set to something reasonable in drm_dev_alloc. >> >> Which

[PATCH V2] drm: simple_kms_helper: Add prepare_fb and cleanup_fb hooks

2016-09-30 Thread Daniel Vetter
On Thu, Sep 29, 2016 at 11:58 PM, Marek Vasut wrote: > + /** > +* @prepare_fb: > +* > +* Optional, called by struct _plane_helper_funcs ->prepare_fb . > +*/ You've lost the hint that people should look there for what this hook should do. Same with

[PATCH] drm/i915: Fix build when !CONFIG_DEBUG_FS

2016-09-30 Thread Tomeu Vizoso
Add stub for intel_crtc_set_crc_source() and fix arguments of stub for intel_display_crc_init(). Signed-off-by: Tomeu Vizoso Fixes: 21165bd933ac ("drm/i915/debugfs: Move out pipe CRC code") Fixes: 13fa0253d97a ("drm/i915: Use new CRC debugfs API") --- drivers/gpu/drm/i915/i915_drv.h | 2 +-

[PATCH] drm: Document caveats around atomic event handling

2016-09-30 Thread Daniel Vetter
It's not that obvious how a driver can all race the atomic commit with handling the completion event. And there's unfortunately a pile of drivers with rather bad event handling which misdirect people into the wrong direction. Try to remedy this by documenting everything better. v2: Type fixes

[PATCH v3 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-09-30 Thread Daniel Vetter
On Fri, Sep 30, 2016 at 09:30:16AM +0530, Archit Taneja wrote: > Hi Andrezj, > > On 09/26/2016 07:10 PM, Andrzej Hajda wrote: > > SiI8620 transmitter converts eTMDS/HDMI signal to MHL 3.0. > > It is controlled via I2C bus. Its interaction with other > > devices in video pipeline is performed

[PATCH 01/20] drm/fb-helper: add DRM_FB_HELPER_DEFAULT_OPS for fb_ops

2016-09-30 Thread Daniel Vetter
On Thu, Sep 29, 2016 at 10:48:37PM +0200, Stefan Christ wrote: > The define DRM_FB_HELPER_DEFAULT_OPS provides the drm_fb_helper default > implementations for functions in struct fb_ops. A drm driver can use it > like: > > static struct fb_ops drm_fbdev_cma_ops = { > .owner =

[PATCH 3/3] drm/radeon: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/gpu/drm/radeon/si.c:7850:5: warning: no previous prototype for 'si_vce_send_vcepll_ctlreq' [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_dp_mst.c:226:21: warning: no previous prototype for 'radeon_mst_best_encoder'

[PATCH 1/3] drm/radeon: add missing header dependencies

2016-09-30 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/radeon/radeon_clocks.c:35:10: warning: no previous prototype for 'radeon_legacy_get_engine_clock' [-Wmissing-prototypes] drivers/gpu/drm/radeon/atombios_encoders.c:75:1: warning: no previous prototype for

[PATCH 1/2] drm/amd/powerplay: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:162:5: warning: no previous prototype for 'fiji_setup_pwr_virus' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smc.c:2052:5: warning: no previous

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Laszlo Ersek
Hello Daniel, On 06/21/16 14:08, daniel.vetter at ffwll.ch (Daniel Vetter) wrote: > We already have a fallback in place to fill out the unique from > dev->unique, which is set to something reasonable in drm_dev_alloc. > > Which means we only need to have a special set_busid for pci devices, > to

[PATCH 3/3] drm/radeon: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/gpu/drm/radeon/si.c:7850:5: warning: no previous prototype for 'si_vce_send_vcepll_ctlreq' [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_dp_mst.c:226:21: warning: no previous prototype for 'radeon_mst_best_encoder'

[PATCH 2/2] drm/amd/powerplay: remove unused functions

2016-09-30 Thread Baoyou Xie
We get 10 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/cz_clockpowergating.c:65:6: warning: no previous prototype for 'cz_phm_is_safe_for_asic_block' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/cz_clockpowergating.c:71:5:

[PATCH] drm/amdgpu: mark symbols static where possible

2016-09-30 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/si.c:908:5: warning: no previous prototype for 'si_pciep_rreg' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/si.c:921:6: warning: no previous prototype for 'si_pciep_wreg' [-Wmissing-prototypes] In fact, these

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Laszlo Ersek
On 09/30/16 10:28, Hans de Goede wrote: > Hi, > > On 30-09-16 05:09, Laszlo Ersek wrote: >> Hello Daniel, >> >> On 06/21/16 14:08, daniel.vetter at ffwll.ch (Daniel Vetter) wrote: >>> We already have a fallback in place to fill out the unique from >>> dev->unique, which is set to something

[PATCH 2/3] drm/radeon: clean function declarations up

2016-09-30 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/radeon/radeon_device.c:642:6: warning: no previous prototype for 'radeon_device_is_virtual' [-Wmissing-prototypes] drivers/gpu/drm/radeon/radeon_kms.c:56:5: warning: no previous prototype for 'radeon_driver_unload_kms'

[PATCH v3 3/3] drm/bridge: add Silicon Image SiI8620 driver

2016-09-30 Thread Andrzej Hajda
On 30.09.2016 12:07, Daniel Vetter wrote: > On Fri, Sep 30, 2016 at 09:30:16AM +0530, Archit Taneja wrote: >> Hi Andrezj, >> >> On 09/26/2016 07:10 PM, Andrzej Hajda wrote: >>> SiI8620 transmitter converts eTMDS/HDMI signal to MHL 3.0. >>> It is controlled via I2C bus. Its interaction with other

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Hans de Goede
h should fix this, please give them a try. Regards, Hans -- next part -- A non-text attachment was scrubbed... Name: 0001-xfree86-Make-adding-unclaimed-devices-as-GPU-devices.patch Type: text/x-patch Size: 2991 bytes Desc: not available URL: <https://lists.freedesktop.org/arc

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Emil Velikov
On 30 September 2016 at 10:55, Emil Velikov wrote: > Hi all > > On 30 September 2016 at 04:09, Laszlo Ersek wrote: >> Hello Daniel, >> >> On 06/21/16 14:08, daniel.vetter at ffwll.ch (Daniel Vetter) wrote: >>> We already have a fallback in place to fill out the unique from >>> dev->unique, which

[PATCH] drm/prime: Passing the right owner through to dma_buf_export()

2016-09-30 Thread Chris Wilson
dma_buf_export() adds a reference to the owning module to the dmabuf (to prevent the driver from being unloaded whilst a third party still refers to the dmabuf). However, drm_gem_prime_export() was passing its own THIS_MODULE (i.e. drm.ko) rather than the driver. Expand the interface so that

[Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs

2016-09-30 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/ea00ccd1/attachment.html>

[Bug 97969] [radeonsi, bisected: fb827c0] Video decoding shows green artifacts

2016-09-30 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/3f38563f/attachment.html>

[PATCH] drm: Document caveats around atomic event handling

2016-09-30 Thread Daniel Stone
Hi, On 29 September 2016 at 16:20, Daniel Vetter wrote: > + * 1. Driver commits new hardware state into vblank-synchronized registes. > + * 2. A vblank happes, committing the hardware state. Also the corresponding > + *vblank interrupt is fired off and fully processed by the interrupt > + *

[PATCH] drm: Document caveats around atomic event handling

2016-09-30 Thread Daniel Stone
On 30 September 2016 at 11:55, Daniel Stone wrote: > Hi, > > [...] ... and with that, Reviewed-by: Daniel Stone Cheers, Daniel, off to find more coffee

[PATCH v2 1/2] drm/prime: Passing the right owner through to dma_buf_export()

2016-09-30 Thread Chris Wilson
dma_buf_export() adds a reference to the owning module to the dmabuf (to prevent the driver from being unloaded whilst a third party still refers to the dmabuf). However, drm_gem_prime_export() was passing its own THIS_MODULE (i.e. drm.ko) rather than the driver. Expand the interface so that

[PATCH v2 2/2] drm/prime: Take a ref on the drm_dev when exporting a dma_buf

2016-09-30 Thread Chris Wilson
dma_buf may live a long time, longer than the last direct user of the driver. We already hold a reference to the owner module (that prevents the object code from disappearing), but there is no reference to the drm_dev - so the pointers to the driver backend themselves may vanish. Suggested-by:

[PATCH 2/3] drm/radeon: clean function declarations up

2016-09-30 Thread Christian König
Ah! Here is patch #2. I'm indeed not deeply into the atombios stuff, so it probably was correct to not CC me :) Anyway patch is Acked-by: Christian König . Cheers, Christian. Am 30.09.2016 um 10:14 schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: >

[Intel-gfx] [PATCH] drm/i915: Fix build when !CONFIG_DEBUG_FS

2016-09-30 Thread Chris Wilson
On Fri, Sep 30, 2016 at 11:58:42AM +0200, Tomeu Vizoso wrote: > Add stub for intel_crtc_set_crc_source() and fix arguments of stub for > intel_display_crc_init(). > > Signed-off-by: Tomeu Vizoso > Fixes: 21165bd933ac ("drm/i915/debugfs: Move out pipe CRC code") > Fixes: 13fa0253d97a ("drm/i915:

[PATCH 1/3] drm/radeon: add missing header dependencies

2016-09-30 Thread Christian König
This one and patch #3 are Reviewed-by: Christian König . Where is patch #2? That never made it into my inbox. Regards, Christian. Am 30.09.2016 um 10:13 schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: > drivers/gpu/drm/radeon/radeon_clocks.c:35:10: warning: no

[PATCH v4 0/5] drm: Add Support for Passive RGB to VGA bridges

2016-09-30 Thread Maxime Ripard
Hi, This serie is about adding support for the RGB to VGA bridge found in the A13-Olinuxino and the CHIP VGA adapter. Both these boards rely on an entirely passive bridge made out of resitor ladders that do not require any initialisation. The only thing needed is to get the timings from the

[PATCH v4 2/5] drm/bridge: Add RGB to VGA bridge support

2016-09-30 Thread Maxime Ripard
Some boards have an entirely passive RGB to VGA bridge, based on either DACs or resistor ladders. Those might or might not have an i2c bus routed to the VGA connector in order to access the screen EDIDs. Add a bridge that doesn't do anything but expose the modes available on the screen, either

[PATCH v4 3/5] ARM: sun5i: a13-olinuxino: Enable VGA bridge

2016-09-30 Thread Maxime Ripard
Now that we have support for the VGA bridges using our DRM driver, enable the display engine for the Olimex A13-Olinuxino. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 54 +++ 1 file changed, 54 insertions(+)

[PATCH v4 4/5] ARM: multi_v7: enable VGA bridge

2016-09-30 Thread Maxime Ripard
Enable the RGB to VGA bridge driver in the defconfig Signed-off-by: Maxime Ripard --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 2c8665cd9dc5..22ef41afc658 100644 ---

[PATCH v4 5/5] ARM: sunxi: Enable VGA bridge

2016-09-30 Thread Maxime Ripard
Enable the VGA bridge used on the A13-Olinuxino in the sunxi defconfig Signed-off-by: Maxime Ripard --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 714da336ec86..d830e258db59

[PATCH v4 1/5] drm/sun4i: rgb: Remove the bridge enable/disable functions

2016-09-30 Thread Maxime Ripard
The atomic helpers already call the drm_bridge_enable on our behalf, there's no need to do it a second time. Reported-by: Sean Paul Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_rgb.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_rgb.c

[PATCH 1/2] drm/amd/powerplay: mark symbols static where possible

2016-09-30 Thread Christian König
Both patches are Acked-by: Christian König . Regards, Christian. Am 30.09.2016 um 11:58 schrieb Baoyou Xie: > We get a few warnings when building kernel with W=1: > drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/fiji_smumgr.c:162:5: warning: > no previous prototype for 'fiji_setup_pwr_virus'

[PATCH v2] drm/i915: Fix build when !CONFIG_DEBUG_FS

2016-09-30 Thread Tomeu Vizoso
Add stub for intel_crtc_set_crc_source() and fix arguments of intel_display_crc_init(). Signed-off-by: Tomeu Vizoso Fixes: 21165bd933ac ("drm/i915/debugfs: Move out pipe CRC code") Fixes: 13fa0253d97a ("drm/i915: Use new CRC debugfs API") --- drivers/gpu/drm/i915/i915_drv.c | 2 +-

[PATCH v2 2/2] drm: zte: add initial vou drm driver

2016-09-30 Thread Emil Velikov
Hi Shawn, A couple of fly-by suggestions, which I hope you'll find useful :-) On 24 September 2016 at 15:26, Shawn Guo wrote: > + > + val = ((vm.hsync_len - 1) << SYNC_WIDE_SHIFT) & SYNC_WIDE_MASK; To save some writing/minimise the chances to typos getting, in you can have

[radeon-alex:amd-staging-4.7 1519/1548] drivers/gpu/drm/amd/amdgpu/../dal/dc/dce110/dce110_stream_encoder.c:62:21: warning: unused variable 'ctx'

2016-09-30 Thread kbuild test robot
org/pipermail/kbuild-all Intel Corporation -- next part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 55095 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/20cde162/attachment-0001.gz>

[PATCH v2 1/2] drm/prime: Passing the right owner through to dma_buf_export()

2016-09-30 Thread Christian König
Why not just use dev->fops->owner instead of changing the interface everywhere? Regards, Christian. Am 30.09.2016 um 13:44 schrieb Chris Wilson: > dma_buf_export() adds a reference to the owning module to the dmabuf (to > prevent the driver from being unloaded whilst a third party still refers

[PATCH] drm: tilcdc: add a da850-specific compatible string

2016-09-30 Thread Bartosz Golaszewski
Due to some potential tweaks for the da850 LCDC (for example: the required memory bandwith settings) we need a separate compatible for the IP present on the da850 boards. Suggested-by: Sekhar Nori Signed-off-by: Bartosz Golaszewski --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 1 + 1 file changed,

[Intel-gfx] [PATCH v2] drm/i915: Fix build when !CONFIG_DEBUG_FS

2016-09-30 Thread Chris Wilson
On Fri, Sep 30, 2016 at 02:20:30PM +0200, Tomeu Vizoso wrote: > Add stub for intel_crtc_set_crc_source() and fix arguments of > intel_display_crc_init(). > > Signed-off-by: Tomeu Vizoso > Fixes: 21165bd933ac ("drm/i915/debugfs: Move out pipe CRC code") > Fixes: 13fa0253d97a ("drm/i915: Use new

[Intel-gfx] [PATCH v2] drm/i915: Fix build when !CONFIG_DEBUG_FS

2016-09-30 Thread Jani Nikula
On Fri, 30 Sep 2016, Chris Wilson wrote: > On Fri, Sep 30, 2016 at 02:20:30PM +0200, Tomeu Vizoso wrote: >> Add stub for intel_crtc_set_crc_source() and fix arguments of >> intel_display_crc_init(). >> >> Signed-off-by: Tomeu Vizoso >> Fixes: 21165bd933ac ("drm/i915/debugfs: Move out pipe CRC

[PATCH v2] drm: tilcdc: add a da850-specific compatible string

2016-09-30 Thread Bartosz Golaszewski
Due to some potential tweaks for the da850 LCDC (for example: the required memory bandwith settings) we need a separate compatible for the IP present on the da850 boards. Suggested-by: Sekhar Nori Signed-off-by: Bartosz Golaszewski --- v1 -> v2: - added the new compatible to the bindings

[PATCH] drm: tilcdc: add a da850-specific compatible string

2016-09-30 Thread Bartosz Golaszewski
2016-09-30 15:00 GMT+02:00 Bartosz Golaszewski : > Due to some potential tweaks for the da850 LCDC (for example: the > required memory bandwith settings) we need a separate compatible > for the IP present on the da850 boards. > > Suggested-by: Sekhar Nori > Signed-off-by: Bartosz Golaszewski >

[Intel-gfx] [PATCH v2] drm/i915: Fix build when !CONFIG_DEBUG_FS

2016-09-30 Thread Daniel Vetter
On Fri, Sep 30, 2016 at 3:19 PM, Jani Nikula wrote: > On Fri, 30 Sep 2016, Chris Wilson wrote: >> On Fri, Sep 30, 2016 at 02:20:30PM +0200, Tomeu Vizoso wrote: >>> Add stub for intel_crtc_set_crc_source() and fix arguments of >>> intel_display_crc_init(). >>> >>> Signed-off-by: Tomeu Vizoso >>>

[PATCH v3 1/3] drm/prime: Pass the right module owner through to dma_buf_export()

2016-09-30 Thread Chris Wilson
dma_buf_export() adds a reference to the owning module to the dmabuf (to prevent the driver from being unloaded whilst a third party still refers to the dmabuf). However, drm_gem_prime_export() was passing its own THIS_MODULE (i.e. drm.ko) rather than the driver. Extract the right owner from the

[PATCH v3 3/3] drm/vgem: Keep a reference to the dmabuf when mmaped

2016-09-30 Thread Chris Wilson
In order to keep the dmabuf alive whilst the mmap is, we need to hold a reference to the dmabuf and not the backing object. This is important as the dmabuf not only keeps the object alive, but also the device so that dmabuf = vgem_create_dmabuf(); ptr = mmap(... dmabuf ...);

[PATCH v3 2/3] drm/prime: Take a ref on the drm_dev when exporting a dma_buf

2016-09-30 Thread Chris Wilson
dma_buf may live a long time, longer than the last direct user of the driver. We already hold a reference to the owner module (that prevents the object code from disappearing), but there is no reference to the drm_dev - so the pointers to the driver backend themselves may vanish. Testcase:

[PATCH 2/3] drm/radeon: clean function declarations up

2016-09-30 Thread Deucher, Alexander
> -Original Message- > From: Baoyou Xie [mailto:baoyou.xie at linaro.org] > Sent: Friday, September 30, 2016 4:15 AM > To: Deucher, Alexander; Koenig, Christian; airlied at linux.ie > Cc: dri-devel at lists.freedesktop.org; linux-kernel at vger.kernel.org; > arnd at arndb.de; baoyou.xie at

[PATCH v3 1/3] drm/prime: Pass the right module owner through to dma_buf_export()

2016-09-30 Thread Christian König
Am 30.09.2016 um 15:59 schrieb Chris Wilson: > dma_buf_export() adds a reference to the owning module to the dmabuf (to > prevent the driver from being unloaded whilst a third party still refers > to the dmabuf). However, drm_gem_prime_export() was passing its own > THIS_MODULE (i.e. drm.ko)

[Bug 97986] sony vaio with ati graphics flashing flikering

2016-09-30 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=97986 Bug ID: 97986 Summary: sony vaio with ati graphics flashing flikering Product: Mesa Version: 12.0 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Maxime Ripard
Our planes cannot be set at negative coordinates. Make sure we reject such configuration. Reported-by: Boris Brezillon Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_layer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_layer.c

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
--- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/8aa0eb9b/attachment.html>

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
nee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/861d3034/attachment.html>

No subject

2016-09-30 Thread Maxime Ripard
Subject: [PATCH v5 0/5] drm: Add Support for Passive RGB to VGA bridges Hi, This serie is about adding support for the RGB to VGA bridge found in the A13-Olinuxino and the CHIP VGA adapter. Both these boards rely on an entirely passive bridge made out of resitor ladders that do not require any

[PATCH v5 1/5] drm/sun4i: rgb: Remove the bridge enable/disable functions

2016-09-30 Thread Maxime Ripard
The atomic helpers already call the drm_bridge_enable on our behalf, there's no need to do it a second time. Reported-by: Sean Paul Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_rgb.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_rgb.c

[PATCH v5 2/5] drm/bridge: Add RGB to VGA bridge support

2016-09-30 Thread Maxime Ripard
Some boards have an entirely passive RGB to VGA bridge, based on either DACs or resistor ladders. Those might or might not have an i2c bus routed to the VGA connector in order to access the screen EDIDs. Add a bridge that doesn't do anything but expose the modes available on the screen, either

[PATCH v5 4/5] ARM: multi_v7: enable VGA bridge

2016-09-30 Thread Maxime Ripard
Enable the RGB to VGA bridge driver in the defconfig Signed-off-by: Maxime Ripard --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 2c8665cd9dc5..22ef41afc658 100644 ---

[PATCH v5 5/5] ARM: sunxi: Enable VGA bridge

2016-09-30 Thread Maxime Ripard
Enable the VGA bridge used on the A13-Olinuxino in the sunxi defconfig Signed-off-by: Maxime Ripard --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index 714da336ec86..d830e258db59

[PATCH v5 3/5] ARM: sun5i: a13-olinuxino: Enable VGA bridge

2016-09-30 Thread Maxime Ripard
Now that we have support for the VGA bridges using our DRM driver, enable the display engine for the Olimex A13-Olinuxino. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i-a13-olinuxino.dts | 54 +++ 1 file changed, 54 insertions(+)

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/b2218154/attachment.html>

[Bug 97986] sony vaio with ati graphics flashing flikering

2016-09-30 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/eb809b0d/attachment.html>

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
ou are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/332fc9f8/attachment.html>

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/f078a8a5/attachment.html>

[Bug 97969] [radeonsi, bisected: fb827c0] Video decoding shows green artifacts

2016-09-30 Thread bugzilla-dae...@freedesktop.org
ttachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/235d14d8/attachment-0001.html>

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Hans de Goede
Hi, On 30-09-16 16:51, Laszlo Ersek wrote: > On 09/30/16 12:35, Hans de Goede wrote: > >> Attached are 2 patches against the xserver which should fix this, >> please give them a try. > > Sorry about the delay. > > The patches don't seem to fix the issue for me. Please see the Xorg log > attached.

[Bug 97471] kworker consumes 100% of a cpu core when screen sleeps with amdgpu kernel driver.

2016-09-30 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20160930/e246dcb1/attachment.html>

[Bug 97980] [amdgpu] New kernel warning during shutdown

2016-09-30 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/11d405d8/attachment.html>

[Bug 97986] sony vaio with ati graphics flashing flikering

2016-09-30 Thread bugzilla-dae...@freedesktop.org
bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/b3541e16/attachment.html>

[Bug 97986] sony vaio with ati graphics flashing flikering

2016-09-30 Thread bugzilla-dae...@freedesktop.org
<https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/7cdf37e2/attachment.html>

[Bug 97993] amdgpu_query_gpu_info () segfaults when user does not have permission to open /dev/dri/card*

2016-09-30 Thread bugzilla-dae...@freedesktop.org
- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/8a10f495/attachment.html>

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Boris Brezillon
On Fri, 30 Sep 2016 16:33:20 +0200 Maxime Ripard wrote: > Our planes cannot be set at negative coordinates. Make sure we reject such > configuration. > > Reported-by: Boris Brezillon > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/sun4i/sun4i_layer.c | 3 +++ > 1 file changed, 3

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Ville Syrjälä
On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > On Fri, 30 Sep 2016 16:33:20 +0200 > Maxime Ripard wrote: > > > Our planes cannot be set at negative coordinates. Make sure we reject such > > configuration. > > > > Reported-by: Boris Brezillon > > Signed-off-by: Maxime Ripard

[PATCH] drm/amdgpu: enable powerplay unconditionally

2016-09-30 Thread Deucher, Alexander
> -Original Message- > From: Arnd Bergmann [mailto:arnd at arndb.de] > Sent: Friday, September 30, 2016 12:21 PM > To: Deucher, Alexander; Koenig, Christian > Cc: Arnd Bergmann; David Airlie; Zhou, Jammy; Zhu, Rex; dri- > devel at lists.freedesktop.org; linux-kernel at vger.kernel.org >

[PATCH] drm/amdgpu: enable powerplay unconditionally

2016-09-30 Thread Arnd Bergmann
Using the newly exported amd_set_clockgating_by_smu function in the main amdgpu driver means that we can no longer build the driver without also enabling the powerplay component, otherwise we get this link error: ERROR: "amd_set_clockgating_by_smu" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko]

[PATCH v5] drm/fsl-dcu: Implement gamma_lut atomic crtc properties

2016-09-30 Thread Stefan Agner
On 2016-09-28 01:24, Meng Yi wrote: > Gamma correction is optional and can be used to adjust the color > output values to match the gamut of a particular TFT LCD panel > > Split the DCU regs into "regs", "palette", "gamma" and "cursor". > Create a second regmap for gamma memory space using little

[PATCH] drm/sun4i: Check that the plane coordinates are not negative

2016-09-30 Thread Boris Brezillon
On Fri, 30 Sep 2016 19:22:11 +0300 Ville Syrjälä wrote: > On Fri, Sep 30, 2016 at 06:08:26PM +0200, Boris Brezillon wrote: > > On Fri, 30 Sep 2016 16:33:20 +0200 > > Maxime Ripard wrote: > > > > > Our planes cannot be set at negative coordinates. Make sure we reject such > > >

Regression: drm: Lobotomize set_busid nonsense for !pci drivers (a325725633c2)

2016-09-30 Thread Hans de Goede
Hi, On 30-09-16 17:33, Laszlo Ersek wrote: > On 09/30/16 16:59, Hans de Goede wrote: >> Hi, >> >> On 30-09-16 16:51, Laszlo Ersek wrote: >>> On 09/30/16 12:35, Hans de Goede wrote: >>> Attached are 2 patches against the xserver which should fix this, please give them a try. >>> >>>

[PATCH 1/3] drm/radeon: add missing header dependencies

2016-09-30 Thread Alex Deucher
On Fri, Sep 30, 2016 at 7:52 AM, Christian König wrote: > This one and patch #3 are Reviewed-by: Christian König > . > Applied 1 and 3, thanks! Alex > Where is patch #2? That never made it into my inbox. > > Regards, > Christian. > > > Am 30.09.2016 um 10:13 schrieb Baoyou Xie: >> >> We get

[PATCH 1/2] drm/amd/powerplay: mark symbols static where possible

2016-09-30 Thread Alex Deucher
On Fri, Sep 30, 2016 at 8:16 AM, Christian König wrote: > Both patches are Acked-by: Christian König . Applied patch 1. I'd like to get Rex's ack on patch 2 before applying it. Alex > > Regards, > Christian. > > > Am 30.09.2016 um 11:58 schrieb Baoyou Xie: >> >> We get a few warnings when

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/5d7bdf7e/attachment.html>

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160930/a1a76c82/attachment.html>

[Bug 97988] [radeonsi] playing back videos with VDPAU exhibits deinterlacing/anti-aliasing issues not visible with VA-API

2016-09-30 Thread bugzilla-dae...@freedesktop.org
v2: merge codepaths where possible -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160930/166fe652/attachment.html>

  1   2   >