[PATCH 000/165] radeon drm-next patches

2013-06-26 Thread Julian Wollrath
Hi, I just tried the DPM support out on a E-450 APU (HD6320) and it did not work like expected. In the terminal everything seemed ok but when I started a display manager, the screen showed garbage and the system basically locked up. The radeon and drm related parts of the syslog are below. If you

Re: [PATCH v2] drm/gem: add mutex lock when using drm_gem_mmap_obj

2013-06-26 Thread Maarten Lankhorst
Op 27-06-13 01:39, Seung-Woo Kim schreef: > From: YoungJun Cho > > The drm_gem_mmap_obj() has to be protected with dev->struct_mutex, > but some caller functions do not. So it adds mutex lock to missing > callers and adds assertion to check whether drm_gem_mmap_obj() is > called with mutex lock or

[PATCH] drm/radeon: fix 32-bit compile after dpm merge

2013-06-26 Thread Dave Airlie
From: Dave Airlie feel free to split this back up and merge it into the individual commits. should probably also confirm its doing sane things. Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/ni_dpm.c| 10 +- drivers/gpu/drm/radeon/rv730_dpm.c |6 +++--- drivers/gpu/dr

[PATCH 09/11] drm/i915: Adding global I915_PARAM for PSR ACTIVE.

2013-06-26 Thread Chris Wilson
On Wed, Jun 26, 2013 at 06:55:20PM -0300, Rodrigo Vivi wrote: > This global value allows userspace know when PSR is enabled and active, > i.e. in SRD entry state. > This will allow userspace emit more busy_ioctl when doing directly copy_area > operations through scanout allowing forced psr exit. I

RADEON / DPM: GPU cannot properly up-clock

2013-06-26 Thread Joshua C.
2013/6/26 Deucher, Alexander : > > >> -Original Message- >> From: Joshua C. [mailto:joshuacov at gmail.com] >> Sent: Wednesday, June 26, 2013 1:52 PM >> To: dri-devel at lists.freedesktop.org >> Cc: Deucher, Alexander >> Subject: RADEON / DPM: GPU cannot properly up-clock >> >> First of all

[Bug 63935] TURKS [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!

2013-06-26 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130626/f2d67f32/attachment-0001.html>

drm-next build fail with gcc 4.6.3

2013-06-26 Thread Andy Furniss
CC drivers/video/console/vgacon.o drivers/video/console/vgacon.c: In function ?vgacon_do_font_op?: drivers/video/console/vgacon.c:1129:5: error: implicit declaration of function ?cond_resched? [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[3]: *** [

RADEON / DPM: GPU cannot properly up-clock

2013-06-26 Thread Deucher, Alexander
> -Original Message- > From: Joshua C. [mailto:joshuacov at gmail.com] > Sent: Wednesday, June 26, 2013 1:52 PM > To: dri-devel at lists.freedesktop.org > Cc: Deucher, Alexander > Subject: RADEON / DPM: GPU cannot properly up-clock > > First of all thank you guys for pushing this out! Gr

RADEON / DPM: GPU cannot properly up-clock

2013-06-26 Thread Joshua C.
: dmesg Type: application/octet-stream Size: 4067 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130626/f585b236/attachment-0001.obj>

Packard Bell EasyNote LV need i915.invert_brightness=1

2013-06-26 Thread Petter Reinholdtsen
[Daniel Vetter] >> Is there some other quirk table for acpi that also need to be updated? > > If the acpi brightness controller is broken, it needs to be quirked > away. For that please file a bug report against the ACPI subsystem. Right. Where do I do that? I can do it if I know what to do. :

Packard Bell EasyNote LV need i915.invert_brightness=1

2013-06-26 Thread Daniel Vetter
On Wed, Jun 26, 2013 at 01:30:01PM +0200, Petter Reinholdtsen wrote: > [Daniel Vetter] > > Nah, silence just means that your patch fell through the crack while I've > > travelled around a bit. Thanks for poking, it's merged now for 3.11 (with > > cc: stable) to my drm-intel-next-queued branch. I've

[PATCH 11/11] drm/i915: Hook PSR functionality

2013-06-26 Thread Rodrigo Vivi
PSR must be enabled after transcoder and port are running. And it is only available for HSW. v2: move enable/disable to intel_ddi v3: The spec suggests PSR should be disabled even before backlight (by pzanoni) v4: also disabling and enabling whenever panel is disabled/enabled. v5: make it last pat

[PATCH 10/11] drm/i915: Add functions to force psr exit

2013-06-26 Thread Rodrigo Vivi
PSR tracking engine in HSW doesn't detect automagically some directly copy area operations through scanout so we will have to kick it manually and reschedule it to come back to normal operation as soon as possible. v2: Before PSR Hook. Don't force it when busy yet. Signed-off-by: Rodrigo Vivi --

[PATCH 09/11] drm/i915: Adding global I915_PARAM for PSR ACTIVE.

2013-06-26 Thread Rodrigo Vivi
This global value allows userspace know when PSR is enabled and active, i.e. in SRD entry state. This will allow userspace emit more busy_ioctl when doing directly copy_area operations through scanout allowing forced psr exit. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_dma.c | 3 +

[PATCH 08/11] drm/intel: add enable_psr module option

2013-06-26 Thread Rodrigo Vivi
PSR is enabled by default but can be disabled. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 3 +++ drivers/gpu/drm/i915/i915_drv.c | 4 drivers/gpu/drm/i915/i915_drv.h | 2 ++ drivers/gpu/drm/i915/intel_dp.c | 6 ++ 4 files changed, 15 insertions(+)

[PATCH 07/11] drm/i915: add update function to disable/enable-back PSR

2013-06-26 Thread Rodrigo Vivi
Required function to disable PSR when going to console mode. But also can be used whenever PSR mode entry conditions changed. v2: Add it before PSR Hook. Update function not really been called yet. --- drivers/gpu/drm/i915/intel_dp.c | 37 ++--- drivers/gpu/drm/i9

[PATCH 06/11] drm/i915: Match all PSR mode entry conditions before enabling it.

2013-06-26 Thread Rodrigo Vivi
Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 39 ++--- drivers/gpu/drm/i915/i915_drv.h | 12 +++ drivers/gpu/drm/i915/intel_dp.c | 68 - 3 files changed, 114 insertions(+), 5 deletions(-) diff --git a/driver

[PATCH 05/11] drm/i915: Added debugfs support for PSR Status

2013-06-26 Thread Rodrigo Vivi
Adding support for PSR Status, PSR entry counter and performance counters. Heavily based on initial work from Shobhit. v2: Fix PSR Status Link bits by Paulo Zanoni. CC: Paulo Zanoni Credits-by: Shobhit Kumar Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 90

[PATCH 04/11] drm/i915: Enable/Disable PSR

2013-06-26 Thread Rodrigo Vivi
Adding Enable and Disable PSR functionalities. This includes setting the PSR configuration over AUX, sending SDP VSC DIP over the eDP PIPE config, enabling PSR in the sink via DPCD register and finally enabling PSR on the host. This patch is based on initial PSR code by Sateesh Kavuri and Kumar Sh

[PATCH 03/11] drm/i915: split aux_clock_divider logic in a separated function for reuse.

2013-06-26 Thread Rodrigo Vivi
Prep patch for reuse aux_clock_divider with EDP_PSR_AUX_CTL setup. Reviewed-by: Paulo Zanoni Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_dp.c | 58 +++-- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/i915/intel

[PATCH 02/11] drm/i915: Read the EDP DPCD and PSR Capability

2013-06-26 Thread Rodrigo Vivi
From: Shobhit Kumar v2: reuse of just created is_edp_psr and put it at right place. v3: move is_edp_psr above intel_edp_disable Reviewed-by: Paulo Zanoni Reviewed-by: Jani Nikula Signed-off-by: Shobhit Kumar Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_dp.c | 13 +

[PATCH 01/11] drm: Added SDP and VSC structures for handling PSR for eDP

2013-06-26 Thread Rodrigo Vivi
From: Shobhit Kumar SDP header and SDP VSC header as per eDP 1.3 spec, section 3.5, chapter "PSR Secondary Data Package Support". v2: Modified and corrected the structures to be more in line for kernel coding guidelines and rebased the code on Paulo's DP patchset v3: removing unecessary identati

[PATCH 01/11] drm: Added SDP and VSC structures for handling PSR for eDP

2013-06-26 Thread Rodrigo Vivi
From: Shobhit Kumar SDP header and SDP VSC header as per eDP 1.3 spec, section 3.5, chapter "PSR Secondary Data Package Support". v2: Modified and corrected the structures to be more in line for kernel coding guidelines and rebased the code on Paulo's DP patchset v3: removing unecessary identati

[PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements

2013-06-26 Thread Pantelis Antoniou
Hi Rob, On Jun 26, 2013, at 6:42 PM, Rob Clark wrote: > On Fri, Jun 21, 2013 at 2:52 PM, Darren Etheridge > wrote: >> The series of patches that follow are intended to address issues that >> have been found in the tilcdc drm driver. The patchset enables support >> for screen resolutions with ho

[PATCH 076/165] drm/radeon/kms: add dpm support for rv6xx

2013-06-26 Thread Christian König
Am 26.06.2013 15:22, schrieb alexdeucher at gmail.com: > From: Alex Deucher > > This adds dpm support for rv6xx asics. This includes: > - clockgating > - dynamic engine clock scaling > - dynamic memory clock scaling > - dynamic voltage scaling > - dynamic pcie gen1/gen2 switching > > Set radeon.d

Armada DRM driver on OLPC XO

2013-06-26 Thread Jean-Francois Moine
On Tue, 25 Jun 2013 16:47:26 -0400 (EDT) Daniel Drake wrote: > Hi Russell, > > Thanks a lot for writing the Armada DRM driver. > > I have tested it on OLPC XO-1.75 (MMP2 aka Armada610) and OLPC XO-4 (MMP3 > aka PXA2128). After a bit of fighting, I have it running. Could you share your > X drive

[PATCH 000/165] radeon drm-next patches

2013-06-26 Thread Alex Deucher
On Wed, Jun 26, 2013 at 9:21 AM, wrote: > From: Alex Deucher > > These are the radeon patches for 3.11. Some of these patches > are huge so, it might be easier to review things here: > http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.11-wip Updated branch: http://cgit.freedesktop.org

[RFC PATCH v2] dmabuf-sync: Introduce buffer synchronization framework

2013-06-26 Thread Russell King - ARM Linux
On Tue, Jun 25, 2013 at 11:23:21AM +0200, Daniel Vetter wrote: > Just a quick question on your assertion that we need all four > functions: Since we already have begin/end_cpu_access functions > (intention here was to allow the dma_buf exporter to ensure the memory > is pinned, e.g. for swapable ge

[PATCH] drm/gem: fix not to assign error value to gem name

2013-06-26 Thread YoungJun Cho
an/listinfo/dri-devel -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130626/0185acb7/attachment.html>

[PATCH] drm: drm_stub: Fixing return value if driver master_set call failed

2013-06-26 Thread Benjamin GAIGNARD
From: Benjamin Gaignard When dev->driver->master_set() failed ioctl call return 0 but the caller is not the DRM-Master because file_priv->is_master = 0. Fix that by returning to ioctl caller the driver master_set error code. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/drm_stub.c |

Armada DRM driver on OLPC XO

2013-06-26 Thread Russell King - ARM Linux
On Wed, Jun 26, 2013 at 06:42:50PM +0200, Jean-Francois Moine wrote: > Do you know that there are 2 drm drivers for the Cubox? I posted mine > (http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/168732.html) > before Russell, but I got no return about it yet. > > As it uses the CMA hel

[PATCH 050/165] drm/radeon: use callbacks for ring pointer handling

2013-06-26 Thread Christian König
Am 26.06.2013 15:22, schrieb alexdeucher at gmail.com: > From: Alex Deucher > > Add callbacks to the radeon_ring struct to handle > rptr/wptr fetchs and wptr updates. > We currently use one version for all rings, but this > allows us to override with a ring specific versions. > > Needed for comput

[PATCH] drm/gem: add mutex lock when using drm_gem_mmap_obj

2013-06-26 Thread YoungJun Cho
t; I know some current code does it wrong, but that is the correct function to use. > > ~Maarten > Thank you for nice comments! I will update it again. Best regards YJ ___ > dri-devel mailing list > dri-devel at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130626/6b44ba94/attachment-0001.html>

[PATCH 023/165] drm/radeon/cik: fill in startup/shutdown callbacks (v4)

2013-06-26 Thread Christian König
Am 26.06.2013 15:21, schrieb alexdeucher at gmail.com: > From: Alex Deucher > > v2: update to latest driver changes > v3: properly tear down vm on suspend > v4: fix up irq init ordering > > Signed-off-by: Alex Deucher Just a copy&paste error, but some comments are referring to cayman and r500/r

[PATCH v2] drm/gem: fix not to assign error value to gem name

2013-06-26 Thread Seung-Woo Kim
From: YoungJun Cho If idr_alloc() is failed, obj->name can be error value. Also it cleans up duplicated flink processing code. This regression has been introduced in commit 2e928815c1886fe628ed54623aa98d0889cf5509 Author: Tejun Heo Date: Wed Feb 27 17:04:08 2013 -0800 drm: convert to id

[git pull] drm intel final fixes

2013-06-26 Thread Dave Airlie
Hi Linus, should be last two fixes for i915, one is for a fence leak killing X on some older GPUs, and one is a late regression partial revert for an swiotlb/xen/i915 interaction, Konrad has promised to figure out the proper answer, and this patch is the best thing to do at this stage to avoid

[PATCH v2] drm/gem: add mutex lock when using drm_gem_mmap_obj

2013-06-26 Thread Seung-Woo Kim
From: YoungJun Cho The drm_gem_mmap_obj() has to be protected with dev->struct_mutex, but some caller functions do not. So it adds mutex lock to missing callers and adds assertion to check whether drm_gem_mmap_obj() is called with mutex lock or not. Signed-off-by: YoungJun Cho Signed-off-by: Se

[RFC 0/6] SimpleDRM Driver (was: dvbe driver)

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > Hi > > This is my second revision of the dvbe driver. I renamed it to SimpleDRM to > show the resemblence with the recently introduced simplefb.c fbdev driver. The > driver is supposed to be the most basic DRM driver similar to efifb.c, > vesafb.c,

Re: [PATCH 000/165] radeon drm-next patches

2013-06-26 Thread Alex Deucher
On Wed, Jun 26, 2013 at 9:21 AM, wrote: > From: Alex Deucher > > These are the radeon patches for 3.11. Some of these patches > are huge so, it might be easier to review things here: > http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.11-wip Updated branch: http://cgit.freedesktop.org

Re: [PATCH 09/11] drm/i915: Adding global I915_PARAM for PSR ACTIVE.

2013-06-26 Thread Chris Wilson
On Wed, Jun 26, 2013 at 06:55:20PM -0300, Rodrigo Vivi wrote: > This global value allows userspace know when PSR is enabled and active, > i.e. in SRD entry state. > This will allow userspace emit more busy_ioctl when doing directly copy_area > operations through scanout allowing forced psr exit. I

[PATCH 11/11] drm/i915: Hook PSR functionality

2013-06-26 Thread Rodrigo Vivi
PSR must be enabled after transcoder and port are running. And it is only available for HSW. v2: move enable/disable to intel_ddi v3: The spec suggests PSR should be disabled even before backlight (by pzanoni) v4: also disabling and enabling whenever panel is disabled/enabled. v5: make it last pat

[PATCH 10/11] drm/i915: Add functions to force psr exit

2013-06-26 Thread Rodrigo Vivi
PSR tracking engine in HSW doesn't detect automagically some directly copy area operations through scanout so we will have to kick it manually and reschedule it to come back to normal operation as soon as possible. v2: Before PSR Hook. Don't force it when busy yet. Signed-off-by: Rodrigo Vivi --

[PATCH 09/11] drm/i915: Adding global I915_PARAM for PSR ACTIVE.

2013-06-26 Thread Rodrigo Vivi
This global value allows userspace know when PSR is enabled and active, i.e. in SRD entry state. This will allow userspace emit more busy_ioctl when doing directly copy_area operations through scanout allowing forced psr exit. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_dma.c | 3 +

[PATCH 08/11] drm/intel: add enable_psr module option

2013-06-26 Thread Rodrigo Vivi
PSR is enabled by default but can be disabled. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 3 +++ drivers/gpu/drm/i915/i915_drv.c | 4 drivers/gpu/drm/i915/i915_drv.h | 2 ++ drivers/gpu/drm/i915/intel_dp.c | 6 ++ 4 files changed, 15 insertions(+)

[PATCH 07/11] drm/i915: add update function to disable/enable-back PSR

2013-06-26 Thread Rodrigo Vivi
Required function to disable PSR when going to console mode. But also can be used whenever PSR mode entry conditions changed. v2: Add it before PSR Hook. Update function not really been called yet. --- drivers/gpu/drm/i915/intel_dp.c | 37 ++--- drivers/gpu/drm/i9

[PATCH 06/11] drm/i915: Match all PSR mode entry conditions before enabling it.

2013-06-26 Thread Rodrigo Vivi
Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 39 ++--- drivers/gpu/drm/i915/i915_drv.h | 12 +++ drivers/gpu/drm/i915/intel_dp.c | 68 - 3 files changed, 114 insertions(+), 5 deletions(-) diff --git a/driver

[PATCH 05/11] drm/i915: Added debugfs support for PSR Status

2013-06-26 Thread Rodrigo Vivi
Adding support for PSR Status, PSR entry counter and performance counters. Heavily based on initial work from Shobhit. v2: Fix PSR Status Link bits by Paulo Zanoni. CC: Paulo Zanoni Credits-by: Shobhit Kumar Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_debugfs.c | 90

[PATCH 04/11] drm/i915: Enable/Disable PSR

2013-06-26 Thread Rodrigo Vivi
Adding Enable and Disable PSR functionalities. This includes setting the PSR configuration over AUX, sending SDP VSC DIP over the eDP PIPE config, enabling PSR in the sink via DPCD register and finally enabling PSR on the host. This patch is based on initial PSR code by Sateesh Kavuri and Kumar Sh

[PATCH 03/11] drm/i915: split aux_clock_divider logic in a separated function for reuse.

2013-06-26 Thread Rodrigo Vivi
Prep patch for reuse aux_clock_divider with EDP_PSR_AUX_CTL setup. Reviewed-by: Paulo Zanoni Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_dp.c | 58 +++-- 1 file changed, 33 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/i915/intel

[RFC 4/6] drm: simpledrm: add fbdev fallback support

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > Create a simple fbdev device during SimpleDRM setup so legacy user-space > and fbcon can use it. > > fbdev deletion is quite buggy. A unregister_framebuffer() call followed by > a printk() causes NULL-derefs in hide_cursor() and other places in the V

[PATCH 02/11] drm/i915: Read the EDP DPCD and PSR Capability

2013-06-26 Thread Rodrigo Vivi
From: Shobhit Kumar v2: reuse of just created is_edp_psr and put it at right place. v3: move is_edp_psr above intel_edp_disable Reviewed-by: Paulo Zanoni Reviewed-by: Jani Nikula Signed-off-by: Shobhit Kumar Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_dp.c | 13 +

[RFC 3/6] drm: add SimpleDRM driver

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > The SimpleDRM driver binds to simple-framebuffer devices and provides a > DRM/KMS API. It provides only a single CRTC+encoder+connector combination > plus one initial mode. > > Userspace can create one dumb-buffer and attach it to the CRTC. Only if >

[PATCH 01/11] drm: Added SDP and VSC structures for handling PSR for eDP

2013-06-26 Thread Rodrigo Vivi
From: Shobhit Kumar SDP header and SDP VSC header as per eDP 1.3 spec, section 3.5, chapter "PSR Secondary Data Package Support". v2: Modified and corrected the structures to be more in line for kernel coding guidelines and rebased the code on Paulo's DP patchset v3: removing unecessary identati

[PATCH 01/11] drm: Added SDP and VSC structures for handling PSR for eDP

2013-06-26 Thread Rodrigo Vivi
From: Shobhit Kumar SDP header and SDP VSC header as per eDP 1.3 spec, section 3.5, chapter "PSR Secondary Data Package Support". v2: Modified and corrected the structures to be more in line for kernel coding guidelines and rebased the code on Paulo's DP patchset v3: removing unecessary identati

[RFC 2/6] x86: provide platform-devices for boot-framebuffers

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > The current situation regarding boot-framebuffers (VGA, VESA/VBE, EFI) on > x86 causes troubles when loading multiple fbdev drivers. The global > "struct screen_info" does not provide any state-tracking about which > drivers use the FBs. request_mem_r

[PATCH 075/165] drm/radeon/kms: add dpm support for rs780/rs880

2013-06-26 Thread Alex Deucher
On Wed, Jun 26, 2013 at 9:18 AM, Jerome Glisse wrote: > On Wed, Jun 26, 2013 at 02:19:23PM -0400, Alex Deucher wrote: >> On Wed, Jun 26, 2013 at 6:46 AM, Jerome Glisse wrote: >> > On Wed, Jun 26, 2013 at 09:22:35AM -0400, alexdeucher at gmail.com wrote: >> >> From: Alex Deucher >> >> >> >> This

[RFC 1/6] fbdev: simplefb: add init through platform_data

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > If we create proper platform-devices in x86 boot-code, we can use simplefb > for VBE or EFI framebuffers, too. However, there is normally no OF support > so we introduce a platform_data object so x86 boot-code can pass the > paramaters via plain old p

[PATCH 051/165] drm/radeon: implement simple doorbell page allocator

2013-06-26 Thread Alex Deucher
On Wed, Jun 26, 2013 at 8:57 AM, Jerome Glisse wrote: > On Wed, Jun 26, 2013 at 09:22:11AM -0400, alexdeucher at gmail.com wrote: >> From: Alex Deucher >> >> The doorbell aperture is a PCI BAR whose pages can be >> mapped to compute resources for things like wptrs >> for userspace queues. >> >> T

[PATCH v2 0/1] drm/mgag200: Added resolution and bandwidth limits for various G200e products.

2013-06-26 Thread Julia Lemire
I am resubmitting this patch because I ran into a build error when trying to build it on a 32-bit system. I had to fix how the 64-bit division was done in mga_vga_calculate_mode_bandwidth. I used the do_div macro instead of doing the straight division. Julia Lemire (1): drm/mgag200: Added r

[PATCH v2 1/1] drm/mgag200: Added resolution and bandwidth limits for various G200e products.

2013-06-26 Thread Julia Lemire
At the larger resolutions, the g200e series sometimes struggles with maintaining a proper output. Problems like flickering or black bands appearing on screen can occur. In order to avoid this, limitations regarding resolutions and bandwidth have been added for the different variations of the g200

[Bug 63935] TURKS [drm:r600_uvd_init] *ERROR* UVD not responding, trying to reset the VCPU!!!

2013-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63935 --- Comment #54 from Grigori Goronzy --- I am also seeing this with a PALM ASIC in the drm-next-3.11-wip branch. The machine is a Lenovo x121e. -- You are receiving this mail because: You are the assignee for the bug. __

Re: [RFC 0/6] SimpleDRM Driver (was: dvbe driver)

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > Hi > > This is my second revision of the dvbe driver. I renamed it to SimpleDRM to > show the resemblence with the recently introduced simplefb.c fbdev driver. The > driver is supposed to be the most basic DRM driver similar to efifb.c, > vesafb.c,

[PATCH 075/165] drm/radeon/kms: add dpm support for rs780/rs880

2013-06-26 Thread Alex Deucher
On Wed, Jun 26, 2013 at 6:46 AM, Jerome Glisse wrote: > On Wed, Jun 26, 2013 at 09:22:35AM -0400, alexdeucher at gmail.com wrote: >> From: Alex Deucher >> >> This adds dpm support for rs780/rs880 asics. This includes: >> - clockgating >> - dynamic engine clock scaling >> - dynamic voltage scalin

Re: [RFC 4/6] drm: simpledrm: add fbdev fallback support

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > Create a simple fbdev device during SimpleDRM setup so legacy user-space > and fbcon can use it. > > fbdev deletion is quite buggy. A unregister_framebuffer() call followed by > a printk() causes NULL-derefs in hide_cursor() and other places in the V

Re: [RFC 3/6] drm: add SimpleDRM driver

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > The SimpleDRM driver binds to simple-framebuffer devices and provides a > DRM/KMS API. It provides only a single CRTC+encoder+connector combination > plus one initial mode. > > Userspace can create one dumb-buffer and attach it to the CRTC. Only if >

linux-next: manual merge of the drm-intel tree with Linus' tree

2013-06-26 Thread Stephen Rothwell
crtc active state doesn't match with hw state " "(expected %i, found %i)\n", crtc->active, active); -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130626/1f4c4260/attachment.pgp>

Re: [RFC 2/6] x86: provide platform-devices for boot-framebuffers

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > The current situation regarding boot-framebuffers (VGA, VESA/VBE, EFI) on > x86 causes troubles when loading multiple fbdev drivers. The global > "struct screen_info" does not provide any state-tracking about which > drivers use the FBs. request_mem_r

Re: [RFC 1/6] fbdev: simplefb: add init through platform_data

2013-06-26 Thread Stephen Warren
On 06/24/2013 04:27 PM, David Herrmann wrote: > If we create proper platform-devices in x86 boot-code, we can use simplefb > for VBE or EFI framebuffers, too. However, there is normally no OF support > so we introduce a platform_data object so x86 boot-code can pass the > paramaters via plain old p

Packard Bell EasyNote LV need i915.invert_brightness=1

2013-06-26 Thread Petter Reinholdtsen
[Daniel Vetter] > Nah, silence just means that your patch fell through the crack while I've > travelled around a bit. Thanks for poking, it's merged now for 3.11 (with > cc: stable) to my drm-intel-next-queued branch. I've slightly bikeshedded > the patch though for formatting. Right. Thank you.

RE: RADEON / DPM: GPU cannot properly up-clock

2013-06-26 Thread Deucher, Alexander
> -Original Message- > From: Joshua C. [mailto:joshua...@gmail.com] > Sent: Wednesday, June 26, 2013 1:52 PM > To: dri-devel@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: RADEON / DPM: GPU cannot properly up-clock > > First of all thank you guys for pushing this out! Great wo

drm-next build fail with gcc 4.6.3

2013-06-26 Thread Andy Furniss
CC drivers/video/console/vgacon.o drivers/video/console/vgacon.c: In function ‘vgacon_do_font_op’: drivers/video/console/vgacon.c:1129:5: error: implicit declaration of function ‘cond_resched’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[3]: ***

[PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements

2013-06-26 Thread Darren Etheridge
Rob Clark wrote on Wed [2013-Jun-26 11:42:44 -0400]: > On Fri, Jun 21, 2013 at 2:52 PM, Darren Etheridge > wrote: > > The series of patches that follow are intended to address issues that > > have been found in the tilcdc drm driver. The patchset enables support > > for screen resolutions with h

[PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements

2013-06-26 Thread Rob Clark
On Fri, Jun 21, 2013 at 2:52 PM, Darren Etheridge wrote: > The series of patches that follow are intended to address issues that > have been found in the tilcdc drm driver. The patchset enables support > for screen resolutions with horizontal resolutions greater than 1024 > pixels. The patchset a

Re: [PATCH 051/165] drm/radeon: implement simple doorbell page allocator

2013-06-26 Thread Alex Deucher
On Wed, Jun 26, 2013 at 8:57 AM, Jerome Glisse wrote: > On Wed, Jun 26, 2013 at 09:22:11AM -0400, alexdeuc...@gmail.com wrote: >> From: Alex Deucher >> >> The doorbell aperture is a PCI BAR whose pages can be >> mapped to compute resources for things like wptrs >> for userspace queues. >> >> This

[PATCH v2 1/1] drm/mgag200: Added resolution and bandwidth limits for various G200e products.

2013-06-26 Thread Julia Lemire
At the larger resolutions, the g200e series sometimes struggles with maintaining a proper output. Problems like flickering or black bands appearing on screen can occur. In order to avoid this, limitations regarding resolutions and bandwidth have been added for the different variations of the g200

[PATCH v2 0/1] drm/mgag200: Added resolution and bandwidth limits for various G200e products.

2013-06-26 Thread Julia Lemire
I am resubmitting this patch because I ran into a build error when trying to build it on a 32-bit system. I had to fix how the 64-bit division was done in mga_vga_calculate_mode_bandwidth. I used the do_div macro instead of doing the straight division. Julia Lemire (1): drm/mgag200: Added r

[PATCH] drm/gem: add mutex lock when using drm_gem_mmap_obj

2013-06-26 Thread Seung-Woo Kim
From: YoungJun Cho The drm_gem_mmap_obj() has to be protected with dev->struct_mutex, but some caller functions do not. So it adds mutex lock to missing callers and adds WARN_ON assertion whether drm_gem_mmap_obj() is called with mutex lock or not. Signed-off-by: YoungJun Cho Signed-off-by: Seu

Re: [PATCH 051/165] drm/radeon: implement simple doorbell page allocator

2013-06-26 Thread Jerome Glisse
On Wed, Jun 26, 2013 at 09:22:11AM -0400, alexdeuc...@gmail.com wrote: > From: Alex Deucher > > The doorbell aperture is a PCI BAR whose pages can be > mapped to compute resources for things like wptrs > for userspace queues. > > This patch maps the BAR and sets up a simple allocator > to alloca

Re: [PATCH 000/165] radeon drm-next patches

2013-06-26 Thread Jerome Glisse
On Wed, Jun 26, 2013 at 09:21:20AM -0400, alexdeuc...@gmail.com wrote: > From: Alex Deucher > > These are the radeon patches for 3.11. Some of these patches > are huge so, it might be easier to review things here: > http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.11-wip > > I'll send

Re: [PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements

2013-06-26 Thread Darren Etheridge
Rob Clark wrote on Wed [2013-Jun-26 11:42:44 -0400]: > On Fri, Jun 21, 2013 at 2:52 PM, Darren Etheridge wrote: > > The series of patches that follow are intended to address issues that > > have been found in the tilcdc drm driver. The patchset enables support > > for screen resolutions with hori

[PATCH] drm/gem: fix not to assign error value to gem name

2013-06-26 Thread Seung-Woo Kim
From: YoungJun Cho If idr_alloc() is failed, obj->name can be error value. Also it cleans up duplicated flink processing code. Signed-off-by: YoungJun Cho Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/drm_gem.c | 18 +++--- 1 files changed, 7 ins

[PATCH 3/3] drm/prime: add return check for dma_buf_fd

2013-06-26 Thread Seung-Woo Kim
From: YoungJun Cho The dma_buf_fd() can return error when it fails to prepare fd, so the dma_buf needs to be put. Signed-off-by: YoungJun Cho Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/drm_prime.c | 39 --- 1 files chan

[PATCH 2/3] drm/prime: reorder drm_prime_add_buf_handle and remove prototype

2013-06-26 Thread Seung-Woo Kim
Signed-off-by: Seung-Woo Kim Signed-off-by: YoungJun Cho Signed-off-by: Kyungmin Park --- drivers/gpu/drm/drm_prime.c | 32 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index afff7c8

[PATCH 1/3] drm/prime: fix to put an exported dma_buf for adding handle failure

2013-06-26 Thread Seung-Woo Kim
From: YoungJun Cho When drm_prime_add_buf_handle() returns failure for an exported dma_buf, the dma_buf was already allocated and its refcount was increased, so it needs to be put. Signed-off-by: YoungJun Cho Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park --- drivers/gpu/drm/drm_p

[PATCH 0/3] fix error routine of exporting dma_buf

2013-06-26 Thread Seung-Woo Kim
During exporting dma_buf, it can fail after dma_buf is exported. In this case, exported dma_buf should be release with putting. Also dma_buf_fd can be failed to get fd, but failure cases are not handled. Error handling routine is not quite clean, so I send this patch set as RFC. Seung-Woo Kim (1)

Re: Packard Bell EasyNote LV need i915.invert_brightness=1

2013-06-26 Thread Daniel Vetter
On Wed, Jun 26, 2013 at 01:30:01PM +0200, Petter Reinholdtsen wrote: > [Daniel Vetter] > > Nah, silence just means that your patch fell through the crack while I've > > travelled around a bit. Thanks for poking, it's merged now for 3.11 (with > > cc: stable) to my drm-intel-next-queued branch. I've

'Timed out waiting for forcewake old ack to clear' and hangup on IvyBridge system

2013-06-26 Thread Guenter Roeck
On Wed, Jun 26, 2013 at 09:24:07AM -0700, Jesse Barnes wrote: > On Sat, 22 Jun 2013 13:04:09 -0700 > Guenter Roeck wrote: > > > On Sat, Jun 22, 2013 at 12:16:46PM -0700, Jesse Barnes wrote: > > > On Fri, 21 Jun 2013 23:58:08 -0700 > > > Guenter Roeck wrote: > > > > > > > Hi all, > > > > > > >

[PATCH] drm/i915: make compact dma scatter lists creation work with SWIOTLB backend.

2013-06-26 Thread Konrad Rzeszutek Wilk
> >>Dave. > > > > Hey Dave > > Of course I will investigate. > > > > The SWIOTLB is unfortunately used because it is a fallback (and I am the > > maintainer of it) and if a real IOMMU is activated it can be mitigated > > differently. When you say 'passed through' you mean in terms of an IOMMU >

[PATCH] drm/gem: fix not to assign error value to gem name

2013-06-26 Thread Chris Wilson
On Wed, Jun 26, 2013 at 10:42:39AM +0900, Seung-Woo Kim wrote: > From: YoungJun Cho > > If idr_alloc() is failed, obj->name can be error value. Also > it cleans up duplicated flink processing code. You should mention that it is a regression from commit 2e928815c (drm: convert to idr_alloc()) >

Re: 'Timed out waiting for forcewake old ack to clear' and hangup on IvyBridge system

2013-06-26 Thread Jesse Barnes
On Sat, 22 Jun 2013 13:04:09 -0700 Guenter Roeck wrote: > On Sat, Jun 22, 2013 at 12:16:46PM -0700, Jesse Barnes wrote: > > On Fri, 21 Jun 2013 23:58:08 -0700 > > Guenter Roeck wrote: > > > > > Hi all, > > > > > > after upgrading one of my servers to 3.8, then 3.9.7 and 3.10-rc6, I > > > star

Re: [RFC PATCH] dmabuf-sync: Introduce buffer synchronization framework

2013-06-26 Thread Inki Dae
2013/6/25 Jerome Glisse : > On Tue, Jun 25, 2013 at 10:17 AM, Inki Dae wrote: >> 2013/6/25 Rob Clark : >>> On Tue, Jun 25, 2013 at 5:09 AM, Inki Dae wrote: > that > should be the role of kernel memory management which of course needs > synchronization btw A and B. But in no case this

Re: [PATCH V2 0/7] drm/tilcdc: bug fixes, mode selection improvements

2013-06-26 Thread Rob Clark
On Fri, Jun 21, 2013 at 2:52 PM, Darren Etheridge wrote: > The series of patches that follow are intended to address issues that > have been found in the tilcdc drm driver. The patchset enables support > for screen resolutions with horizontal resolutions greater than 1024 > pixels. The patchset a

Re: [PATCH 075/165] drm/radeon/kms: add dpm support for rs780/rs880

2013-06-26 Thread Jerome Glisse
On Wed, Jun 26, 2013 at 09:22:35AM -0400, alexdeuc...@gmail.com wrote: > From: Alex Deucher > > This adds dpm support for rs780/rs880 asics. This includes: > - clockgating > - dynamic engine clock scaling > - dynamic voltage scaling > > set radeon.dpm=1 to enable it. > > Signed-off-by: Alex De

'Timed out waiting for forcewake old ack to clear' and hangup on IvyBridge system

2013-06-26 Thread Jesse Barnes
On Sat, 22 Jun 2013 13:04:09 -0700 Guenter Roeck wrote: > On Sat, Jun 22, 2013 at 12:16:46PM -0700, Jesse Barnes wrote: > > On Fri, 21 Jun 2013 23:58:08 -0700 > > Guenter Roeck wrote: > > > > > Hi all, > > > > > > after upgrading one of my servers to 3.8, then 3.9.7 and 3.10-rc6, I > > > star

[PATCH 111/165] drm/radeon/dpm: remove local sumo_get_xclk()

2013-06-26 Thread alexdeuc...@gmail.com
From: Alex Deucher Use the new asic callback instead. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/sumo_dpm.c| 19 +++ drivers/gpu/drm/radeon/sumo_dpm.h|1 - drivers/gpu/drm/radeon/sumo_smc.c|2 +- drivers/gpu/drm/radeon/trinity_dpm.c |6 +++-

[PATCH 110/165] drm/radeon: add missing UVD clock set in cayman dpm code

2013-06-26 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni_dpm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/ni_dpm.c b/drivers/gpu/drm/radeon/ni_dpm.c index 01ecb80..a88f0cb 100644 --- a/drivers/gpu/drm/radeon/ni_dpm.c +++

[PATCH 109/165] drm/radeon/dpm: remove broken dyn state remnants

2013-06-26 Thread alexdeuc...@gmail.com
From: Alex Deucher Now that the proper fix has been implemented I can remove the last remnants of the initial implementation. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h|1 - drivers/gpu/drm/radeon/radeon_pm.c | 24 +--- 2 files changed, 5 inse

[PATCH 108/165] drm/radeon/dpm: add pre/post_set_power_state callback (cayman)

2013-06-26 Thread alexdeuc...@gmail.com
From: Alex Deucher This properly implemented dynamic state adjustment by using a working copy of the requested and current power states. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/ni_dpm.c | 65 -- drivers/gpu/drm/radeon/ni_dpm.h |3 +

[PATCH 107/165] drm/radeon/dpm: add pre/post_set_power_state callback (BTC)

2013-06-26 Thread alexdeuc...@gmail.com
From: Alex Deucher This properly implemented dynamic state adjustment by using a working copy of the requested and current power states. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/btc_dpm.c | 81 + drivers/gpu/drm/radeon/cypress_dpm.h |5 ++

[PATCH 106/165] drm/radeon/dpm: add pre/post_set_power_state callback (TN)

2013-06-26 Thread alexdeuc...@gmail.com
From: Alex Deucher This properly implemented dynamic state adjustment by using a working copy of the requested and current power states. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_asic.c |2 + drivers/gpu/drm/radeon/radeon_asic.h |2 + drivers/gpu/drm/radeon/trinity_

  1   2   3   4   >