[PATCH v7 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-30 Thread Gustavo Padovan
Hi Greg, 2016-03-30 Greg Kroah-Hartman : > On Thu, Mar 03, 2016 at 04:40:42PM -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Gustavo, can you resend both series of your android patches so I know I > have the latest ones to work with? Please also collect the acks that > peopl

[Bug 94445] Tonga llvm assert since RegisterCoalescer: Need to check DstReg+SrcReg for missing undef flags

2016-03-30 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160330/077ec17b/attachment.html>

[PATCH v5 00/46] pwm: add support for atomic update

2016-03-30 Thread Boris Brezillon
+Doug (sorry, I forgot to add you in to the recipient list) On Wed, 30 Mar 2016 22:03:23 +0200 Boris Brezillon wrote: > Hello, > > This series adds support for atomic PWM update, or IOW, the capability > to update all the parameters of a PWM device (enabled/disabled, period, > duty and polarity

[PATCH v5 46/46] ARM: s3c24xx: rx1950: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
Replace pwm_disable/enable/config() by pwm_apply_state(). Signed-off-by: Boris Brezillon --- arch/arm/mach-s3c24xx/mach-rx1950.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-rx1950.c b/arch/arm/mach-s3c24xx/mach-rx1950.c index

[PATCH v5 45/46] drm: i915: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/gpu/drm/i915/intel_panel.c | 39 +- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/drivers/gpu/drm/i915/in

[PATCH v5 44/46] video: ssd1307fb: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/video/fbdev/ssd1307fb.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers

[PATCH v5 43/46] backlight: pwm_bl: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/video/backlight/pwm_bl.c | 43 ++-- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/drivers/video/backlight

[PATCH v5 42/46] backlight: lp8788: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/video/backlight/lp8788_bl.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/video/backlight/lp8788_bl.c b/driver

[PATCH v5 41/46] backlight: lp855x: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/video/backlight/lp855x_bl.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/video/backlight/lp855x_bl.c b/drivers/

[PATCH v5 40/46] backlight: lm3630a: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/video/backlight/lm3630a_bl.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers

[PATCH v5 39/46] leds: pwm: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/leds/leds-pwm.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c index b48231c

[PATCH v5 38/46] input: misc: pwm-beeper: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/input/misc/pwm-beeper.c | 46 +++-- 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/drivers/input/misc/pwm-

[PATCH v5 37/46] input: misc: max8997: switch to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/input/misc/max8997_haptic.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/drivers/input/misc/max8997_haptic.c b

[PATCH v5 36/46] input: misc: max77693: switch to the atomic API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/input/misc/max77693-haptic.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/input/misc/max77693-haptic.c

[PATCH v5 35/46] hwmon: pwm-fan: switch to the atomic API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/hwmon/pwm-fan.c | 81 - 1 file changed, 46 insertions(+), 35 deletions(-) diff --git a/drivers/hwmon/pwm-fan.c

[PATCH v5 34/46] clk: pwm: switch to the atomic API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated and should be replaced by pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/clk/clk-pwm.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-pwm.c b/drivers/clk/clk-pwm.c ind

[PATCH v5 33/46] pwm: replace pwm_disable() by pwm_apply_state()

2016-03-30 Thread Boris Brezillon
Some PWM drivers are calling the deprecated pwm_disable() function in their pwm->free() or pdev->remove() function. Replace those calls by the pwm_apply_state(). Signed-off-by: Boris Brezillon --- drivers/pwm/pwm-lpc18xx-sct.c | 7 +-- drivers/pwm/pwm-lpc32xx.c | 9 +++-- drivers/pwm

[PATCH v5 32/46] pwm: deprecate pwm_config(), pwm_enable() and pwm_disable()

2016-03-30 Thread Boris Brezillon
Prefix those function as deprecated to encourage all existing users to switch to pwm_apply_state(). Signed-off-by: Boris Brezillon --- include/linux/pwm.h | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/linux/pwm.h b/include/linux/pwm.h inde

[PATCH v5 31/46] pwm: update documentation

2016-03-30 Thread Boris Brezillon
Update the PWM subsystem documentation to reflect the atomic PWM changes. Signed-off-by: Boris Brezillon --- Documentation/pwm.txt | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/Documentation/pwm.txt b/Documentation/pwm.txt index ca895fd..cb25fca

[PATCH v5 30/46] regulator: pwm: retrieve correct voltage

2016-03-30 Thread Boris Brezillon
The continuous PWM voltage regulator is caching the voltage value in the ->volt_uV field. While most of the time this value should reflect the real voltage, sometime it can be sightly different if the PWM device rounded the set_duty_cycle request. Moreover, this value is not valid until someone has

[PATCH v5 29/46] regulator: pwm: properly initialize the ->state field

2016-03-30 Thread Boris Brezillon
The ->state field is currently initialized to 0, thus referencing the voltage selector at index 0, which might not reflect the current voltage value. If possible, retrieve the current voltage selector from the PWM state, else return -EINVAL. Signed-off-by: Boris Brezillon Tested-by: Heiko Stuebne

[PATCH v5 28/46] regulator: pwm: swith to the atomic PWM API

2016-03-30 Thread Boris Brezillon
pwm_config/enable/disable() have been deprecated in favor of pwm_apply_state(). Replace all those calls with the equivalent pwm_get/apply_state(). Signed-off-by: Boris Brezillon --- drivers/regulator/pwm-regulator.c | 54 --- 1 file changed, 34 insertions(+),

[PATCH v5 27/46] regulator: pwm: adjust PWM config at probe time

2016-03-30 Thread Boris Brezillon
The PWM attached to a PWM regulator device might have been previously configured by the bootloader. Make sure the bootloader and linux config are in sync, and adjust the PWM config if that's not the case. Signed-off-by: Boris Brezillon --- drivers/regulator/pwm-regulator.c | 50 +

[PATCH v5 26/46] pwm: sun4i: implement hardware readout

2016-03-30 Thread Boris Brezillon
Implement ->get_state() instead of only initializing the polarity in the probe function. This implementation also takes care of keeping the PWM clk enabled if at least one of the PWM exported by the PWM chip is already enabled, which should prevent glitches. Signed-off-by: Boris Brezillon --- d

[PATCH v5 25/46] pwm: sti: avoid glitches on already running PWMs

2016-03-30 Thread Boris Brezillon
The current logic will disable the PWM clk even if a PWM was left enabled by the bootloader (because it's controlling a critical device like a regulator for example). Keep the PWM clk enabled if at least one PWM is enabled to avoid any glitches. Signed-off-by: Boris Brezillon --- drivers/pwm/pwm

[PATCH v5 24/46] pwm: sti: add support for initial state retrieval

2016-03-30 Thread Boris Brezillon
Implement ->get_state() to provide support for initial state retrieval. Signed-off-by: Boris Brezillon --- drivers/pwm/pwm-sti.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/pwm/pwm-sti.c b/drivers/pwm/pwm-sti.c index 92abbd5..0fbca94 100

[PATCH v5 23/46] pwm: rockchip: add support for atomic update

2016-03-30 Thread Boris Brezillon
Implement the ->apply() function to add support for atomic update. Signed-off-by: Boris Brezillon Tested-by: Heiko Stuebner --- drivers/pwm/pwm-rockchip.c | 63 -- 1 file changed, 39 insertions(+), 24 deletions(-) diff --git a/drivers/pwm/pwm-rockchi

[PATCH v5 22/46] pwm: rockchip: avoid glitches on already running PWMs

2016-03-30 Thread Boris Brezillon
The current logic will disable the PWM clk even if the PWM was left enabled by the bootloader (because it's controlling a critical device like a regulator for example). Keep the PWM clk enabled if the PWM is enabled to avoid any glitches. Signed-off-by: Boris Brezillon --- drivers/pwm/pwm-rockch

[PATCH v5 21/46] pwm: rockchip: add initial state retrieval

2016-03-30 Thread Boris Brezillon
Implement the ->get_state() function to expose initial state. Signed-off-by: Boris Brezillon --- drivers/pwm/pwm-rockchip.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/drivers/pwm/pwm-rockchip.c b/drivers/pwm/pwm-rockchip.c index 7d9cc90..6

[PATCH v5 20/46] pwm: add information about polarity, duty cycle and period to debugfs

2016-03-30 Thread Boris Brezillon
From: Heiko Stübner The pwm-states make it possible to also output the polarity, duty cycle and period information in the debugfs pwm summary-outout. This makes it easier to gather overview information about pwms without needing to walk through the sysfs attributes of every pwm. Signed-off-by:

[PATCH v5 19/46] pwm: switch to the atomic API

2016-03-30 Thread Boris Brezillon
Replace legacy pwm_get/set_xxx() and pwm_config/enable/disable() calls by pwm_get/apply_state(). Signed-off-by: Boris Brezillon --- drivers/pwm/core.c | 5 - drivers/pwm/sysfs.c | 61 +++-- 2 files changed, 40 insertions(+), 26 deletions(-)

[PATCH v5 18/46] pwm: add the core infrastructure to allow atomic update

2016-03-30 Thread Boris Brezillon
Add an ->apply() method to the pwm_ops struct to allow PWM drivers to implement atomic update. This method will be preferred over the ->enable(), ->disable() and ->config() methods if available. Add the pwm_apply_state() function to the PWM user API. Note that the pwm_apply_state() does not guara

[PATCH v5 17/46] pwm: add the PWM initial state retrieval infra

2016-03-30 Thread Boris Brezillon
Add a ->get_state() function to the pwm_ops struct to let PWM drivers initialize the PWM state attached to a PWM device. Signed-off-by: Boris Brezillon --- drivers/pwm/core.c | 3 +++ include/linux/pwm.h | 5 + 2 files changed, 8 insertions(+) diff --git a/drivers/pwm/core.c b/drivers/pwm/

[PATCH v5 16/46] pwm: move the enabled/disabled info into pwm_state

2016-03-30 Thread Boris Brezillon
Prepare the transition to PWM atomic update by moving the enabled/disabled state into the pwm_state struct. This way we can easily update the whole PWM state by copying the new state in the ->state field. Signed-off-by: Boris Brezillon --- drivers/pwm/core.c | 13 + include/linux/pw

[PATCH v5 15/46] pwm: introduce the pwm_state concept

2016-03-30 Thread Boris Brezillon
The PWM state, represented by its period, duty_cycle and polarity, is currently directly stored in the PWM device. Declare a pwm_state structure embedding those field so that we can later use this struct to atomically update all the PWM parameters at once. All pwm_get_xxx() helpers are now impleme

[PATCH v5 14/46] pwm: keep PWM state in sync with hardware state

2016-03-30 Thread Boris Brezillon
Before the introduction of pwm_args, the core and some drivers were resetting the PWM period and polarity states to the reference values (those provided through the DT, a PWM lookup table or hardcoded in the driver). Now that all PWM users are correctly using pwm_args to configure their PWM device

[PATCH v5 13/46] backlight: pwm_bl: use pwm_get_args() where appropriate

2016-03-30 Thread Boris Brezillon
The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference config and not the current state. This is part of the rework

[PATCH v5 12/46] fbdev: ssd1307fb: use pwm_get_args() where appropriate

2016-03-30 Thread Boris Brezillon
The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference config and not the current state. This is part of the rework

[PATCH v5 11/46] regulator: pwm: use pwm_get_args() where appropriate

2016-03-30 Thread Boris Brezillon
The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference config and not the current state. This is part of the rework

[PATCH v5 10/46] leds: pwm: use pwm_get_args() where appropriate

2016-03-30 Thread Boris Brezillon
The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference config and not the current state. This is part of the rework

[PATCH v5 09/46] misc: max77693-haptic: use pwm_get_args() where appropriate

2016-03-30 Thread Boris Brezillon
The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference config and not the current state. This is part of the rework

[PATCH v5 08/46] hwmon: pwm-fan: use pwm_get_args() where appropriate

2016-03-30 Thread Boris Brezillon
The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference config and not the current state. This is part of the rework

[PATCH v5 07/46] clk: pwm: use pwm_get_args() where appropriate

2016-03-30 Thread Boris Brezillon
The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference config and not the current state. This is part of the rework

[PATCH v5 06/46] pwm: use pwm_get/set_xxx() helpers where appropriate

2016-03-30 Thread Boris Brezillon
Use pwm_get/set_xxx() helpers instead of directly accessing the pwm->xxx field. Doing that will ease adaptation of the PWM framework to support atomic update. Signed-off-by: Boris Brezillon --- Patch generated with the following coccinelle script: --->8--- virtual patch @@ struct pwm_device *p;

[PATCH v5 05/46] pwm: introduce the pwm_args concept

2016-03-30 Thread Boris Brezillon
Currently the PWM core mixes the current PWM state with the per-platform reference config (specified through the PWM lookup table, DT definition or directly hardcoded in PWM drivers). Create a pwm_args struct to store this reference config, so that PWM users can differentiate the current config fr

[PATCH v5 04/46] pwm: get rid of pwm->lock

2016-03-30 Thread Boris Brezillon
PWM devices are not protected against concurrent accesses. The lock in pwm_device might let PWM users think it is, but it's actually only protecting the enabled state. Removing this lock should be fine as long as all PWM users are aware that accesses to the PWM device have to be serialized, which

[PATCH v5 03/46] backlight: lm3630a_bl: stop messing with the pwm->period field

2016-03-30 Thread Boris Brezillon
pwm->period field is not supposed to be changed by PWM users. The only ones authorized to change it are the PWM core and PWM drivers. Signed-off-by: Boris Brezillon --- drivers/video/backlight/lm3630a_bl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/backli

[PATCH v5 02/46] backlight: pwm_bl: remove useless call to pwm_set_period()

2016-03-30 Thread Boris Brezillon
The PWM period will be set when calling pwm_config. Remove this useless call to pwm_set_period(), which might mess up with the internal PWM state. Signed-off-by: Boris Brezillon Acked-by: Lee Jones --- drivers/video/backlight/pwm_bl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) di

[PATCH v5 01/46] pwm: rcar: make use of pwm_is_enabled()

2016-03-30 Thread Boris Brezillon
Commit 5c31252c4a86 ("pwm: Add the pwm_is_enabled() helper") introduced a new function to test whether a PWM device is enabled or not without manipulating PWM internal fields. Hiding this is necessary if we want to smoothly move to the atomic PWM config approach without impacting PWM drivers. Fix t

[PATCH v5 00/46] pwm: add support for atomic update

2016-03-30 Thread Boris Brezillon
Hello, This series adds support for atomic PWM update, or IOW, the capability to update all the parameters of a PWM device (enabled/disabled, period, duty and polarity) in one go. It also adds support for initial PWM state retrieval (or hardware readout), which should allow smooth handover betwee

[PATCH 1/2] drm: Untangle __KERNEL__ guards

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 04:56:17PM +0100, Emil Velikov wrote: > On 30 March 2016 at 15:42, Daniel Vetter wrote: > > make headers_install can't handle fancy conditions, so let's simplify > > things for it a bit. > > > > Cc: Emil Velikov > > Signed-off-by: Daniel Vetter > > --- > > include/uapi/d

[PATCH 3/3] drm: Move DRM_MODE_OBJECT_* to uapi headers

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 02:55:17PM -0300, Paulo Zanoni wrote: > 2016-03-30 13:07 GMT-03:00 Emil Velikov : > > On 30 March 2016 at 15:19, Daniel Vetter wrote: > >> These type defines are officially part of the uapi, but ended up in > >> the wrong headers somehow when we split them all. > >> > >> Cc

[PATCH 2/2] drm: Make uapi headers C89 pendantic compliant

2016-03-30 Thread Emil Velikov
On 30 March 2016 at 15:42, Daniel Vetter wrote: > This ports the below libdrm commit to the kernel > > commit 0f4452bb51306024fbf4cbf77d8baab20cefba67 > Author: Daniel Kurtz > Date: Mon Aug 26 23:39:16 2013 +0800 > > libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic > >

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-30 Thread Emil Velikov
On 29 March 2016 at 14:13, Emil Velikov wrote: > On 28 March 2016 at 23:13, Heiko Stübner wrote: > >> I have the feeling we're going quite a bit off-topic right now :-) . >> The binary-driver-crazyness, hasn't really anything to do with Yakir's >> support >> for the RGA (which is about raster-g

[PATCH v7 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-30 Thread Greg Kroah-Hartman
On Wed, Mar 30, 2016 at 11:53:38PM -0300, Gustavo Padovan wrote: > Hi Greg, > > 2016-03-30 Greg Kroah-Hartman : > > > On Thu, Mar 03, 2016 at 04:40:42PM -0300, Gustavo Padovan wrote: > > > From: Gustavo Padovan > > > > > > > > Gustavo, can you resend both series of your android patches so I k

next-20160330 build: 1 failures 7 warnings (next-20160330)

2016-03-30 Thread Boris Brezillon
Hi Mark, On Wed, 30 Mar 2016 09:35:45 -0700 Mark Brown wrote: > On Wed, Mar 30, 2016 at 07:57:19AM +0100, Build bot for Mark Brown wrote: > > Today's -next fails to build an arm allmodconfig due to: > > > arm-allmodconfig > > ../drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c:618:2: error: im

[Intel-gfx] [PATCH] drm/ttm: Remove TTM_HAS_AGP

2016-03-30 Thread kbuild test robot
Hi Daniel, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.6-rc1 next-20160330] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Daniel-Vetter/drm-ttm-Remove

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

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

[PATCH] drm: bridge/dw-hdmi: Remove pre_enable/post_disable dummy funcs

2016-03-30 Thread Laurent Pinchart
Hi Archit, Thank you for the patch. On Wednesday 30 Mar 2016 14:53:24 Archit Taneja wrote: > We don't need to keep empty callbacks for the (pre/post) enable/disable > drm_bridge ops anymore. Remove the nop callback used here for > pre_enable and post_disable ops. > > Signed-off-by: Archit Taneja

[Intel-gfx] [PATCH 01/10] drm/ttm: Remove TTM_HAS_AGP

2016-03-30 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.6-rc1 next-20160330] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Daniel-Vetter/Another-shot-at-cruft-removal

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

2016-03-30 Thread bugzilla-dae...@freedesktop.org
t was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160330/b86017f7/attachment.html>

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

2016-03-30 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160330/19f3a29d/attachment.html>

[Bug 94667] Artifacts on applications on discrete and kernel freezes

2016-03-30 Thread bugzilla-dae...@freedesktop.org
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/20160330/79fed227/attachment.html>

[PATCH v7 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-30 Thread Greg Kroah-Hartman
On Thu, Mar 03, 2016 at 04:40:42PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan Gustavo, can you resend both series of your android patches so I know I have the latest ones to work with? Please also collect the acks that people have provided so far. thanks, greg k-h

[PATCH v2 3/3] drm: bridge: anx78xx: Add anx78xx driver support.

2016-03-30 Thread Enric Balletbo i Serra
Although there are other chips from the same family that can reuse this driver, at the moment we only tested ANX7814 chip. The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. This driver adds initial support for HDMI to DP pass-through mode. Cc:

[PATCH v2 2/3] devicetree: Add ANX7814 SlimPort transmitter binding.

2016-03-30 Thread Enric Balletbo i Serra
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter designed for portable devices. Cc: Rob Herring Signed-off-by: Enric Balletbo i Serra --- Changes since v1: - Rob Herring: - Rename cable-det-gpios for hpd-gpios as is more standard - Fix HDMI output for HDMI input

[PATCH v2 1/3] of: Add vendor prefix for Analogix Semiconductor

2016-03-30 Thread Enric Balletbo i Serra
Analogix Semiconductor Inc. develops analog and mixed-signal devices for digital media and communications interconnect applications. Cc: Rob Herring Signed-off-by: Enric Balletbo i Serra Acked-by: Rob Herring --- Changes since v1: - Add Acked-by: Rob Herring Documentation/devicetree/bindin

[PATCH v2 0/3] Add ANX7814 I2C bridge driver

2016-03-30 Thread Enric Balletbo i Serra
Hi all, Following the Emil suggestions to increase the chances of this getting reviewed I added a per-patch changelog and I explicitly Cc (in the commit message) the people who commented. I will also cut down the people from the to/cc list. If someone is really interested to be there just ping me.

[Intel-gfx] [PATCH 05/10] drm: Give drm_agp_clear drm_legacy_ prefix

2016-03-30 Thread kbuild test robot
Hi Daniel, [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.6-rc1 next-20160330] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Daniel-Vetter/Another-shot-at-cruft-removal

[PATCH] drm: align #include directives with libdrm in uapi headers

2016-03-30 Thread Daniel Vetter
We can't use because that upsets the serach paths in libdrm. Also, drop the circular inclusion in drm_mode.h. v2: Actually change the right headers. v3: Drop the #include removal per Emil's request. Cc: Emil Velikov Signed-off-by: Daniel Vetter --- include/uapi/drm/drm.h | 2 +- 1 file chang

[PATCH 02/11] drm/atomic: export drm_atomic_helper_wait_for_fences()

2016-03-30 Thread Gustavo Padovan
2016-03-18 Rob Clark : Hi Rob, > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/drm_atomic_helper.c | 15 +-- > include/drm/drm_atomic_helper.h | 2 ++ > 2 files changed, 15 insertions(+), 2 deletions(-) Reviewed-by: Gustavo Padovan Gustavo

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

2016-03-30 Thread bugzilla-dae...@freedesktop.org
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/20160330/b1daa4cd/attachment.html>

[Bug 113341] GPU Lockup on AMD Kaveri

2016-03-30 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=113341 --- Comment #10 from Bernd Steinhauser --- During the last 2 weeks I switched between amdgpu and radeon a couple of times. What I noticed is that with radeon I do get lockups here and there, I think almost always (not 100% sure though) when a vid

[Bug 94667] Artifacts on applications on discrete and kernel freezes

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

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

2016-03-30 Thread bugzilla-dae...@freedesktop.org
freedesktop.org/archives/dri-devel/attachments/20160330/5a4975c5/attachment.html>

[PATCH] vgacon: dummy implementation for vgacon_text_force

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 09:52:28AM -0400, Alex Deucher wrote: > On Wed, Mar 30, 2016 at 5:26 AM, Daniel Vetter > wrote: > > This allows us to ditch a ton of ugly #ifdefs from a bunch of drm modeset > > drivers. > > > > v2: Make the dummy function actually return a sane value, spotted by > > Ville

[PATCH 10/10] drm/tegra: Don't set a gamma table size

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 02:39:22PM +0200, Thierry Reding wrote: > On Wed, Mar 30, 2016 at 11:51:25AM +0200, Daniel Vetter wrote: > > tegra doesn't have any functions to set gamma tables, so this is > > completely defunct. > > > > Not nice to lie to userspace, so let's stop! > > > > Cc: Thierry Re

[PATCH 04/10] drm/sysfs: Nuke TV/DVI property files

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 09:49:26AM -0400, Alex Deucher wrote: > On Wed, Mar 30, 2016 at 5:45 AM, Daniel Vetter > wrote: > > This goes all the way back to the original KMS commit aeons ago > > > > commit f453ba0460742ad027ae0c4c7d61e62817b3e7ef > > Author: Dave Airlie > > Date: Fri Nov 7 14:05:

[PATCH 03/10] drm/armada: Drop fb gamma_set/get functions

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 01:56:06PM +0100, Russell King - ARM Linux wrote: > On Wed, Mar 30, 2016 at 01:19:21PM +0200, Daniel Vetter wrote: > > On Wed, Mar 30, 2016 at 1:09 PM, Russell King - ARM Linux > > wrote: > > > On Wed, Mar 30, 2016 at 11:51:18AM +0200, Daniel Vetter wrote: > > >> The fb hel

[PATCH v4 RESEND 5/5] drm/i915: Get rid of intel_dp_dpcd_read_wake()

2016-03-30 Thread Jani Nikula
On Mon, 28 Mar 2016, Lyude wrote: > Since we've fixed up drm_dp_dpcd_read() to allow for retries when things > timeout, there's no use for having this function anymore. Good riddens. > > Signed-off-by: Lyude > --- > drivers/gpu/drm/i915/intel_dp.c | 79 >

[PATCH] drm/ttm: Remove TTM_HAS_AGP

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 01:53:38PM +0100, Emil Velikov wrote: > On 30 March 2016 at 12:24, Daniel Vetter wrote: > > It tries to do fancy things with excluding agp support if ttm is > > built-in, but agp isn't. Instead just express this depency like drm > > does and use CONFIG_AGP everywhere. > > >

[PATCH] drm: Make drm.h uapi header safe for C++

2016-03-30 Thread Daniel Vetter
virtual is a protected keyword in C++ and can't be used at all. Ugh. This aligns the kernel versions of the drm headers with the ones in libdrm. v2: Also annote with __user, as request by Emil&Ilia. Cc: Ilia Mirkin Cc: Emil Velikov Signed-off-by: Daniel Vetter --- include/uapi/drm/drm.h | 4

[PATCH 2/3] drm: align #include directives with libdrm in uapi headers

2016-03-30 Thread Daniel Vetter
On Wed, Mar 30, 2016 at 04:05:20PM +0100, Emil Velikov wrote: > On 30 March 2016 at 15:19, Daniel Vetter wrote: > > We can't use because that upsets the serach paths in libdrm. > > Also, drop the circular inclusion in drm_mode.h. > > > > v2: Actually change the right headers. > > > > Cc: Emil Vel

[PATCH] drm: align #include directives with libdrm in uapi headers

2016-03-30 Thread Emil Velikov
On 30 March 2016 at 16:54, Daniel Vetter wrote: > We can't use because that upsets the serach paths in libdrm. > Also, drop the circular inclusion in drm_mode.h. > > v2: Actually change the right headers. > > v3: Drop the #include removal per Emil's request. > Thanks. > Cc: Emil Velikov > Signe

[PATCH 3/3] drm: Move DRM_MODE_OBJECT_* to uapi headers

2016-03-30 Thread Emil Velikov
On 30 March 2016 at 15:19, Daniel Vetter wrote: > These type defines are officially part of the uapi, but ended up in > the wrong headers somehow when we split them all. > > Cc: Emil Velikov > Signed-off-by: Daniel Vetter The way it was done originally (by Paulo) with commit c543188afb7a83e66161

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

2016-03-30 Thread bugzilla-dae...@freedesktop.org
you intend to submit this patch to upstream? -- 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/20160330/af25237d/attachment-0001.html>

[PATCH 7/7] headers: Update drm.h

2016-03-30 Thread Daniel Vetter
This needs the kernel patch to make sure the C++ protection is in place. Otherwise just new defines, using the right fixed-width types and some shuffling in where stuff is defined (the DRM_CAP list moved, but the #defines are the same). Generated using make headers_install. Signed-off-by: Daniel

[PATCH 6/7] headers: Update drm_mode.h

2016-03-30 Thread Daniel Vetter
Generated using make headers_install. Only cosmetics&new definitions here now. Signed-off-by: Daniel Vetter --- include/drm/drm_mode.h | 168 ++--- 1 file changed, 117 insertions(+), 51 deletions(-) diff --git a/include/drm/drm_mode.h b/include/drm/d

[PATCH 5/7] headers: Update drm_fourcc.h

2016-03-30 Thread Daniel Vetter
Only real difference is switching to kernel types for fixed-width integers, like we should. Signed-off-by: Daniel Vetter --- include/drm/drm_fourcc.h | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/include/drm/drm_fourcc.h b/include/drm/drm_fourcc.h index e

[PATCH 4/7] headers: Update drm_sarea.h

2016-03-30 Thread Daniel Vetter
Generated using make headers_install. Only difference is a new value of SAREA_MAX for mips. Not that we ever shipped a dri1 driver on that platform probably ... Signed-off-by: Daniel Vetter --- include/drm/drm_sarea.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_sarea.h

[PATCH 3/7] headers: Update drm_i915.h

2016-03-30 Thread Daniel Vetter
Generated using make header_install. Signed-off-by: Daniel Vetter --- include/drm/i915_drm.h | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 0e51d4214e1a..c4ce6b2c6f89 100644 --

[PATCH 2/7] tests/kms-steal-crtc: Use correct includes

2016-03-30 Thread Daniel Vetter
It was relying on drm_fourcc.h providing , which is silly. Fix it. Signed-off-by: Daniel Vetter --- tests/kms/kms-steal-crtc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c index 497772e237f1..4b830d27a1bf 100644 --- a/tests/kms/kms-s

[PATCH 1/7] headers: Remove _DRM_GEM

2016-03-30 Thread Daniel Vetter
This was purely a kernel-internal type used in a early patch version to add GEM bo mmap support. It was never used in-kernel in merged code nor in userspace. Nuke it to align with kernel headers. For reference the kernel patch: commit 05f51722a154e73019434bd020e50ddb941046c5 Author: Daniel Vetter

[PATCH 1/5] drm: Add new DCS commands in the enum list

2016-03-30 Thread Jani Nikula
From: Deepak M Adding new DCS commands which are specified in the DCS 1.3 spec related to CABC. v2: Sorted the Macro`s by value (Andrzej) v3 by Jani: sort all of enum, refer to MIPI DCS 1.3 Cc: Andrzej Hajda Cc: Thierry Reding Cc: David Airlie Cc: Ville Syrjälä Cc: Daniel Vetter Cc: Su

[PATCH] drm: Make drm.h uapi header safe for C++

2016-03-30 Thread Emil Velikov
On 30 March 2016 at 16:12, Daniel Vetter wrote: > virtual is a protected keyword in C++ and can't be used at all. Ugh. > > This aligns the kernel versions of the drm headers with the ones in > libdrm. > > v2: Also annote with __user, as request by Emil&Ilia. Reviewed-by: Emil Velikov -Emil

[PATCH 1/2] drm: Untangle __KERNEL__ guards

2016-03-30 Thread Emil Velikov
On 30 March 2016 at 15:42, Daniel Vetter wrote: > make headers_install can't handle fancy conditions, so let's simplify > things for it a bit. > > Cc: Emil Velikov > Signed-off-by: Daniel Vetter > --- > include/uapi/drm/drm.h | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > di

[PATCH] drm/core: Add drm_accurate_vblank_count_and_time.

2016-03-30 Thread Ville Syrjälä
On Wed, Mar 30, 2016 at 03:41:26PM +0200, Maarten Lankhorst wrote: > Op 30-03-16 om 15:13 schreef Ville Syrjälä: > > On Tue, Mar 29, 2016 at 03:38:55PM +0200, Maarten Lankhorst wrote: > >> This function is useful for gen2 intel devices which have no frame > >> counter, but need a way to determine

[PATCH 2/2] drm: Make uapi headers C89 pendantic compliant

2016-03-30 Thread Daniel Vetter
This ports the below libdrm commit to the kernel commit 0f4452bb51306024fbf4cbf77d8baab20cefba67 Author: Daniel Kurtz Date: Mon Aug 26 23:39:16 2013 +0800 libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic The following minor changes were needed to these headers:

[PATCH 1/2] drm: Untangle __KERNEL__ guards

2016-03-30 Thread Daniel Vetter
make headers_install can't handle fancy conditions, so let's simplify things for it a bit. Cc: Emil Velikov Signed-off-by: Daniel Vetter --- include/uapi/drm/drm.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index c7

[pull] radeon and amdgpu drm-next-4.6

2016-03-30 Thread Alex Deucher
Hi Dave, Just a few fixes for 4.6 this week: - Add some SI DPM quirks - Improve the ACP Kconfig text - Additional BO pinning checks The following changes since commit 4604202ca8d2a5e33b4bca0812b5d92975ed1bd8: Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm-ne

  1   2   3   >