On 04/10/2018 08:26 PM, Dongwon Kim wrote:
On Tue, Apr 10, 2018 at 09:37:53AM +0300, Oleksandr Andrushchenko wrote:
On 04/06/2018 09:57 PM, Dongwon Kim wrote:
On Fri, Apr 06, 2018 at 03:36:03PM +0300, Oleksandr Andrushchenko wrote:
On 04/06/2018 02:57 PM, Gerd Hoffmann wrote:
Hi,
I fail
https://bugs.freedesktop.org/show_bug.cgi?id=99078
Timothy Arceri changed:
What|Removed |Added
Resolution|--- |WONTFIX
Am 11.04.2018 um 08:26 schrieb Huang Rui:
On Tue, Apr 10, 2018 at 04:59:55PM -0400, Sinan Kaya wrote:
Code is expecing to observe the same number of buffers returned from
dma_map_sg() function compared to sg_alloc_table_from_pages(). This
doesn't hold true universally especially for systems
https://bugs.freedesktop.org/show_bug.cgi?id=105733
--- Comment #10 from Peter ---
Dear All,
I have a similar problem,
Kernel 4.15.16, Xeon CPU E3-1505M, Radeon R9 M295X.
The Laptop runs fine, provided I'm not accessing the GPU.
DRI_PRIME=0 glxinfo | grep "OpenGL
Am 11.04.2018 um 06:00 schrieb Gabriel C:
2018-04-09 11:42 GMT+02:00 Christian König :
Am 07.04.2018 um 00:00 schrieb Jean-Marc Valin:
Hi Christian,
Thanks for the info. FYI, I've also opened a Firefox bug for that at:
https://bugs.freedesktop.org/show_bug.cgi?id=105597
Marta Löfstedt changed:
What|Removed |Added
Priority|medium |highest
--
Now that we have support for per-plane alpha in the core, let's use it.
Acked-by: Boris Brezillon
Reviewed-by: Laurent Pinchart
Signed-off-by: Maxime Ripard
---
Hi,
This serie aims at enhancing the support for plane-wide alpha in the
drivers that are implementing it at the moment, by turning it into a
generic property and converting the drivers (rcar-du and atmel-hclcdc). It
also introduces support for it in the sun4i driver.
Let me know what you think,
Our backend supports a per-plane alpha property. Support it through our new
helper.
Reviewed-by: Chen-Yu Tsai
Reviewed-by: Paul Kocialkowski
Signed-off-by: Maxime Ripard
---
drivers/gpu/drm/sun4i/sun4i_backend.c | 16
Now that we have support for per-plane alpha in the core, let's use it.
Reviewed-by: Laurent Pinchart
Signed-off-by: Maxime Ripard
---
drivers/gpu/drm/rcar-du/rcar_du_drv.h | 1 +-
drivers/gpu/drm/rcar-du/rcar_du_kms.c | 5
Some drivers duplicate the logic to create a property to store a per-plane
alpha.
This is especially useful if we ever want to support extra protocols for
Wayland like:
https://lists.freedesktop.org/archives/wayland-devel/2017-August/034741.html
Let's create a helper in order to move that to the
Now that we moved the rcar-du DRM driver has been switched to the generic
alpha property, remove the former property documentation from the
deprecated CSV file.
Reviewed-by: Laurent Pinchart
Signed-off-by: Maxime Ripard
---
2018-04-09 11:42 GMT+02:00 Christian König :
> Am 07.04.2018 um 00:00 schrieb Jean-Marc Valin:
>>
>> Hi Christian,
>>
>> Thanks for the info. FYI, I've also opened a Firefox bug for that at:
>> https://bugzilla.mozilla.org/show_bug.cgi?id=1448778
>> Feel free to
>2018-04-11 6:00 GMT+02:00 Gabriel C :
> 2018-04-09 11:42 GMT+02:00 Christian König :
>> Am 07.04.2018 um 00:00 schrieb Jean-Marc Valin:
...
> I can help testing code for 4.17/++ if you wish but that is *different*
> storry.
>
Quick tested
From: Ian W MORRISON
As the Geminilake firmware is now merged to linux-firmware.git
use MODUE_FIRMWARE to load the firmware.
This removes the error message in the dmesg log:
i915 :00:02.0: Direct firmware load for
i915/glk_dmc_ver1_04.bin failed with
Added another week delay because of vacation, but I just pushed the
patches into our branch.
Thanks for the help,
Christian.
Am 29.03.2018 um 20:19 schrieb Christian König:
Patches #2 and #3 are Reviewed-by: Christian König
as well.
If Lucas has no objections I'm
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel
output converter.
Signed-off-by: Jacopo Mondi
Reviewed-by: Andrzej Hajda
Reviewed-by: Niklas Söderlund
---
On Tue, Apr 10, 2018 at 02:52:35PM -0700, Laura Abbott wrote:
> On 04/09/2018 03:21 PM, Russell King - ARM Linux wrote:
> >On Mon, Apr 09, 2018 at 02:07:03PM -0700, Laura Abbott wrote:
> >>There's an ongoing effort to remove VLAs[1] from the kernel to eventually
> >>turn on -Wvla. The vla in
Hi,
On 04/10/2018 09:53 AM, Oleksandr Andrushchenko wrote:
On 02/14/2018 03:50 AM, Dongwon Kim wrote:
diff --git a/drivers/dma-buf/hyper_dmabuf/hyper_dmabuf_id.h
[...]
+#ifndef __HYPER_DMABUF_ID_H__
+#define __HYPER_DMABUF_ID_H__
+
+#define HYPER_DMABUF_ID_CREATE(domid, cnt) \
+
Code is expecing to observe the same number of buffers returned from
dma_map_sg() function compared to sg_alloc_table_from_pages(). This
doesn't hold true universally especially for systems with IOMMU.
IOMMU driver tries to combine buffers into a single DMA address as much
as it can. The right
This commit adds support for AUO's 7.0" display.
Signed-off-by: Lukasz Majewski
---
Changes for v2:
- Add *.txt suffix to the auo,g070wn01 file
- Remove not needed bus-format-override = "rgb565"; property
---
.../bindings/display/panel/auo,g070vvn01.txt | 30
Hello,
new version with last bits hopefully fixed.
The vcc supply is now mandatory, as suggested by Mark Brown, and the driver
requires it to be described in device tree.
The "OE" GPIO is now described by 'oe' again, as I wrongly interpreted Rob's
suggestions on v6.
A few minor grammar fixes
The documentation was wrong, gpiod_get_direction() returns 0/1 instead
of the GPIOF_* flags. The docs were fixed with commit 94fc73094abe47
("gpio: correct docs about return value of gpiod_get_direction"). Now,
fix this user (until a better, system-wide solution is in place).
Signed-off-by:
Code is expecing to observe the same number of buffers returned from
dma_map_sg() function compared to sg_alloc_table_from_pages(). This
doesn't hold true universally especially for systems with IOMMU.
IOMMU driver tries to combine buffers into a single DMA address as much
as it can. The right
On Tue, Apr 10, 2018 at 02:32:40PM +0200, Wolfram Sang wrote:
> The documentation was wrong, gpiod_get_direction() returns 0/1 instead
> of the GPIOF_* flags. The docs were fixed with commit 94fc73094abe47
> ("gpio: correct docs about return value of gpiod_get_direction"). Now,
> fix this user
Hi Eric,
> Eric Anholt hat am 10. April 2018 um 01:00 geschrieben:
>
>
> The GPU subsystem node was a workaround to have a central device to
> bind V3D and display to. Following the lead of 246774d17fc0
> ("drm/etnaviv: remove the need for a gpu-subsystem DT node"), remove
>
Document Thine THC63LVD1024 LVDS decoder device tree bindings.
Signed-off-by: Jacopo Mondi
Reviewed-by: Andrzej Hajda
Reviewed-by: Niklas Söderlund
Reviewed-by: Laurent Pinchart
Hi!
Thinking of adding ww-mutexes for reservation also of vmwgfx resources,
(like surfaces), I became a bit worried that doubling the locks taken
during command submission wouldn't be a good thing. Particularly on ESX
servers where a high number of virtual machines running graphics on a
On Sat, Mar 3, 2018 at 12:03 AM, Eric Anholt wrote:
> At least the RGBA expand field we should have been setting, because we
> aren't expanding correctly for 565 -> . Other registers are ones
> that may be interesting for various projects that have been discussed.
>
>
Am 11.04.2018 um 03:02 schrieb Laura Abbott:
There's an ongoing effort to remove VLAs[1] from the kernel to eventually
turn on -Wvla. Switch to a constant value that covers all hardware.
[1] https://lkml.org/lkml/2018/3/7/621
Signed-off-by: Laura Abbott
It would be nicer
https://bugs.freedesktop.org/show_bug.cgi?id=105618
Marta Löfstedt changed:
What|Removed |Added
Priority|medium |highest
--
On 2018-04-10 07:25 PM, Cyr, Aric wrote:
>> From: Michel Dänzer [mailto:mic...@daenzer.net]
>> On 2018-04-10 07:13 PM, Cyr, Aric wrote:
From: Michel Dänzer [mailto:mic...@daenzer.net]
On 2018-04-10 06:26 PM, Cyr, Aric wrote:
> From: Koenig, Christian Sent: Tuesday, April 10, 2018
On Monday 09 April 2018 01:58 PM, Daniel Vetter wrote:
On Fri, Apr 06, 2018 at 07:02:02PM +0300, Ville Syrjälä wrote:
On Mon, Apr 02, 2018 at 02:35:42PM +0530, Ramalingam C wrote:
On Thursday 29 March 2018 07:54 PM, Ville Syrjälä wrote:
On Thu, Mar 29, 2018 at 07:39:07PM +0530, Ramalingam
On Wed, 11 Apr 2018, ianwmorri...@gmail.com wrote:
> From: Ian W MORRISON
>
> As the Geminilake firmware is now merged to linux-firmware.git
> use MODUE_FIRMWARE to load the firmware.
>
> This removes the error message in the dmesg log:
>
> i915 :00:02.0: Direct
https://bugs.freedesktop.org/show_bug.cgi?id=105617
Marta Löfstedt changed:
What|Removed |Added
Priority|medium |highest
--
https://bugs.freedesktop.org/show_bug.cgi?id=105880
shital kanoje changed:
What|Removed |Added
URL||http://
--
On 2018-04-11 08:57 AM, Nicolai Hähnle wrote:
> On 10.04.2018 23:45, Cyr, Aric wrote:
> For video games we have a similar situation where a frame is
> rendered
> for a certain world time and in the ideal case we would actually
> display the frame at this world time.
From: Emil Velikov
Since day 1, lesser_ids have been u32.
Every instance in the UAPI (minus the one corrected) and the
implementation agree on the topic.
Fixes: 62884cd386b8 ("drm: Add four ioctls for managing drm mode objectleases
[v7]")
Cc: Keith Packard
https://bugzilla.kernel.org/show_bug.cgi?id=199357
--- Comment #1 from Mathias Tillman (master.ho...@gmail.com) ---
Created attachment 275293
--> https://bugzilla.kernel.org/attachment.cgi?id=275293=edit
Hardware info
--
You are receiving this mail because:
You are watching the assignee of
On Wed, 11 Apr 2018, Ian W MORRISON wrote:
>
>
>>
>> NAK on indiscriminate Cc: stable. There are zero guarantees that older
>> kernels will work with whatever firmware you throw at them.
>>
>
> I included 'Cc: stable' so the patch would get added to the v4.16 and
> v4.15
https://bugzilla.kernel.org/show_bug.cgi?id=199357
Bug ID: 199357
Summary: amdgpu: hang a few seconds after logging in, most
likely due to regression
Product: Drivers
Version: 2.5
Kernel Version: v4.16
Hardware: x86-64
Move the parameters into a structure to make it simpler to extend it in
follow up patches.
This also adds the importer private as parameter so that we can directly
work with a completely filled in attachment structure.
Signed-off-by: Christian König
---
Instead of relying on the DRM functions just implement our own export
functions. This adds support for taking care of unpinned DMA-buf.
v2: fix unintended recursion, remove debugging leftovers
Signed-off-by: Christian König
---
drivers/gpu/drm/amd/amdgpu/amdgpu.h
Pipeline removal of the BOs backing store when the placement is given
during validation.
Signed-off-by: Christian König
---
drivers/gpu/drm/ttm/ttm_bo.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/gpu/drm/ttm/ttm_bo.c
Instead of relying on the DRM functions just implement our own import
functions. This adds support for taking care of unpinned DMA-buf.
v2: enable for all exporters, not just amdgpu, fix invalidation
handling, lock reservation object while setting callback
v3: change to new dma_buf attach
ast_post_chip_2500() is never called in atomic context.
The call chains ending up at reset_mmc_2500() are:
[1] ast_post_chip_2500() <- ast_post_gpu() <- ast_drm_thaw()
[2] ast_post_chip_2500() <- ast_post_gpu() <- ast_driver_load()
ast_drm_thaw() calls console_lock() which can sleep.
On Wed, Apr 11, 2018 at 02:09:29PM +0300, Heikki Krogerus wrote:
> On Wed, Apr 11, 2018 at 08:28:44AM +, andrey.ara...@nixaid.com wrote:
> > Thank you for the insights, Heikki!
> >
> > Please find the acpi.dump.tgz file is a attached.
> >
> > I do not have the USBC* and INT3515* devices,
>
reset_mmc_2500() is never called in atomic context.
The call chains ending up at reset_mmc_2500() are:
[1] reset_mmc_2500() <- ast_dram_init_2500() <- ast_post_chip_2500() <-
ast_post_gpu() <- ast_drm_thaw()
[2] reset_mmc_2500() <- ast_dram_init_2500() <- ast_post_chip_2500() <-
>
> NAK on indiscriminate Cc: stable. There are zero guarantees that older
> kernels will work with whatever firmware you throw at them.
>
I included 'Cc: stable' so the patch would get added to the v4.16 and
v4.15 kernels
which I have tested with the patch. I found that earlier kernels
didn't
adv7511_probe() is never called in atomic context.
This function is only set as ".probe" in struct i2c_driver.
Despite never getting called from atomic context, adv7511_probe()
calls mdelay() to busily wait.
This is not necessary and can be replaced with usleep_range() to
avoid busy waiting.
jdi_panel_init() is never called in atomic context.
Despite never getting called from atomic context, jdi_panel_init()
calls mdelay() to busily wait.
This is not necessary and can be replaced with usleep_range()
and msleep() to avoid busy waiting.
This is found by a static analysis tool named
Hi Dave,
I misspoke yesterday when I said we were up-to-date. I have this patch from Tomi
to fix a regression in omap.
drm-misc-next-fixes-2018-04-11:
omap: Fix crash on AM4 EVM, and all OMAP2/3 boards (Tomi)
Cc: Tomi Valkeinen
Cheers, Sean
The following changes
On 10/04/18 21:59, Sinan Kaya wrote:
Code is expecing to observe the same number of buffers returned from
dma_map_sg() function compared to sg_alloc_table_from_pages(). This
doesn't hold true universally especially for systems with IOMMU.
So why not fix said code? It's clearly not a real
Each importer can now provide an invalidate_mappings callback.
This allows the exporter to provide the mappings without the need to pin
the backing store.
v2: don't try to invalidate mappings when the callback is NULL,
lock the reservation obj while using the attachments,
add helper to
On Wed, Apr 04, 2018 at 11:57:08AM +0200, Maxime Ripard wrote:
> Hi,
>
> Here is an preliminary version of the MIPI-DSI support for the Allwinner
> SoCs.
>
> This controller can be found on a number of recent SoCs, such as the
> A31, A33 or the A64.
>
> Given the sparse documentation, there's a
https://bugzilla.kernel.org/show_bug.cgi?id=199357
Christian König (christian.koe...@amd.com) changed:
What|Removed |Added
CC|
https://bugzilla.kernel.org/show_bug.cgi?id=198907
--- Comment #5 from Jani Nikula (jani.nik...@intel.com) ---
[6.112689] nvidia: loading out-of-tree module taints kernel.
[6.112708] nvidia: module license 'NVIDIA' taints kernel.
--
You are receiving this mail because:
You are watching
Flattening a scene in order to reduce memory consumption it's an idea
which had been floating around on irc and mailing list several times,
this patchset adds support for flattening a scene using a writeback
connector, the latest version of the kernel patches could be found
here [1].
v1 for this
The patch adding support for the AUO P320HVN03 panel was written against a
preliminary datasheet, which specified JEIDA data ordering. Testing with
real hardware has shown that the actually used data ordering is SPWG.
Fixes: 70c0d5b783f5 (drm/panel: simple: add support for AUO P320HVN03)
If the second LVDS channel has been disabled in the DT when using dual-channel
mode we should not print a warning.
Signed-off-by: Lucas Stach
---
drivers/gpu/drm/imx/imx-ldb.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
On 2018-04-10 09:02 PM, Laura Abbott wrote:
> There's an ongoing effort to remove VLAs[1] from the kernel to eventually
> turn on -Wvla. Switch to a constant value that covers all hardware.
>
> [1] https://lkml.org/lkml/2018/3/7/621
>
> Signed-off-by: Laura Abbott
> ---
> v2:
The LVDS signal integrity is only guaranteed when the correct enable
sequence (first IPU DI, then LDB) is used. If the LDB display output was
active before the imx-drm driver is loaded (like when a bootsplash was
active) the DI will be disabled by the full IPU reset we do when loading
the driver.
Add a vsync worker that calls back into the DrmDisplayCompositor,
for now at every 60 vsyncs if the scene does not change we trigger
the flattening of the scene using the writeback connector.
Other, more complex and proper heuristics could be implemented later
on.
Signed-off-by: Alexandru
Flatten scene on the same CRTC as the one driving the display.
The active composition is played back to the display with a buffer
attached to the writeback connector.
Then we build a composition that has only one plane enabled and that
uses the result of the writeback as the input.
Signed-off-by:
Add logic for finding a suitable writeback connector, there are two
possibilities for finding an usable writeback connector:
1) Attached to the same CRTC as the display and can function
concurrently with the display connector.
2) On a different CRTC and the display connector is not used
The steps for flattening a scene on a dedicated crtc are:
1. Find an available and unused crtc(the display connector is
disconnected).
2. Copy layers from active composition.
3. Plan layers of copy on the unused crtc. This is realized by using a
newly created DrmDisplayCompositor object.
4.
ApplyFrame holds the lock just when it swaps the value of
active_composition_, in a multithread context we could end up in a
situation where something is shown on the screen, but something else
is set in active_composition_. Fix it by holding the lock during
CommitFrame.
Signed-off-by: Alexandru
There is a lot of boilerplate for creating an initialized
drmdisplaycomposition. This patch gathers that in a separate method.
Signed-off-by: Alexandru Gheorghe
---
drmdisplaycompositor.cpp | 23 +++
drmdisplaycompositor.h | 2 ++
2
MSM display controller hardware (DPU) has an inbuilt RSC
(Resource Coordinator) HW block which can control power
resources and bus bandwidth voting based on frame timing
parameters without DPU driver intervention.
Downstream driver relies on RSC driver for controlling these
resources (via RSC HW
MSM Display controller includes RSC (Resource Coordinator)
HW block which can control DPU power resources without
DPU driver intervention.
Removing DPU RSC device/driver support till the RSC
dependencies make their way upstream.
Signed-off-by: Rajesh Yadav
---
This patch implements a simple function for matching DRM device FDs against
the desired properties of a device that you are looking for.
The properties that are possible to look for are the elements of DrmVersion
and DrmDevice.
The discussion that led to this series can be found here:
Maxime Ripard writes:
> Hi,
>
> This serie aims at enhancing the support for plane-wide alpha in the
> drivers that are implementing it at the moment, by turning it into a
> generic property and converting the drivers (rcar-du and atmel-hclcdc). It
> also introduces
When writeback connectors are available assign them to displays, in
order to be able to use them for flattening of the current displayed
scene. The pipeline for each display will look like this:
CRTC encoder display connector.
|--- writeback enc -- writeback connector.
Writeback connector is a special case of connector, which can be
linked to a CRTC in order to get the result of the composition back to
a memory buffer. This had not been merged to the mainline kernel yet,
latest version of the kernel patches could be found here [1].
[1]
When doing flattening of a composition on a different CRTC we need to be
able to clone a layer in order to import it and then pass it to another CRTC.
Signed-off-by: Alexandru Gheorghe
---
drmhwcomposer.h | 1 +
hwcutils.cpp| 11 +++
2 files
By setting nl_pid to 0, we let the kernel to assign a port for us.
In the current implementation there is no way we could create more
than one instance for drmeventlistener.
Signed-off-by: Alexandru Gheorghe
---
drmeventlistener.cpp | 2 +-
1 file changed, 1
Add a resource manager object that is responsible for detecting all
kms devices and allocates unique display numbers for every detected
display.
This is controlled by the value of hwc.drm.device property, if it ends
with a %, it will try to open minor devices until and error is detected.
E.g:
Use the newly added ResourceManager for creating and detecting all the
drm devices instead of assuming that there is only one device.
Signed-off-by: Alexandru Gheorghe
---
drmhwctwo.cpp| 34 +-
drmhwctwo.h | 4 +---
drmModeEncoder has a field called possible_clones. It's a bit mask
which tells if the encoder could be simultaneously connected, to the
same CRTC, with the encoders specified in the possible_clones mask.
Signed-off-by: Alexandru Gheorghe
---
drmencoder.cpp |
In the current implementation TryEncoderForDisplay just looks
at the crtc linked to the display, if that's not assigned to
a display it means the encoder could be used, otherwise iterate
to the list of possible_crtcs and find one which is not used.
This logic works fine when you have just one
Currently Prepareframebuffer uses the mode of the connected connector
to decide how big the buffer should be, however when using the
drmdisplaycompositor just for flattening, the mode had not been set
yet, so we need a way to pass the desired buffer sizes.
Signed-off-by: Alexandru Gheorghe
vsyncworker::Routine assumes that when -EINTR is returned by
WaitForSignalOrExitLocked the lock as been released, which is not
true, so it hangs if a vsyncworker is never enabled and Exit is
called.
There are two code paths in WaitForSignalOrExitLocked that return
-EINTR, one releases the lock
Signed-off-by: Alexandru Gheorghe
---
vsyncworker.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/vsyncworker.cpp b/vsyncworker.cpp
index 3ad16fe..3bfe4be 100644
--- a/vsyncworker.cpp
+++ b/vsyncworker.cpp
@@ -35,6 +35,7 @@ VSyncWorker::VSyncWorker()
Add utility functions to copy the DrmHwcLayer and DrmCompositionPlanes
from another DrmDisplayComposition.
Signed-off-by: Alexandru Gheorghe
---
drmdisplaycomposition.cpp | 29 +
drmdisplaycomposition.h | 3 +++
2 files changed,
On 2018-04-10 06:26 PM, Cyr, Aric wrote:> > My guess is they prefer to
“do nothing” and let driver/HW manage it,
> otherwise you exempt all existing games from supporting adaptive sync
> without a rewrite or update.
Nobody is saying adaptive sync should only work with explicit target
presentation
https://bugs.freedesktop.org/show_bug.cgi?id=104216
--- Comment #24 from Germano Massullo ---
Just got a burst of very interesting comments in Firefox bugreport
from
https://bugzilla.mozilla.org/show_bug.cgi?id=1421353#c19
to comment number 21
--
You are receiving
On 11/04/18 15:33, Sinan Kaya wrote:
On 4/11/2018 8:03 AM, Robin Murphy wrote:
On 10/04/18 21:59, Sinan Kaya wrote:
Code is expecing to observe the same number of buffers returned
from dma_map_sg() function compared to
sg_alloc_table_from_pages(). This doesn't hold true universally
especially
https://bugzilla.kernel.org/show_bug.cgi?id=199085
--- Comment #6 from Jani Nikula (jani.nik...@intel.com) ---
The firmware EDID handling was moved at a lower level in the stack to be a more
transparent replacement for the display EDID. Without this, many features were
erroneously parsed from the
https://bugs.freedesktop.org/show_bug.cgi?id=103246
--- Comment #2 from i...@yahoo.com ---
I just sow that there is already issue opened for the same/similar issue:
https://github.com/iXit/Mesa-3D/issues/296
--
You are receiving this mail because:
You are the assignee for the
Am 11.04.2018 um 19:11 schrieb Robin Murphy:
For dma_map_sg(), DMA API implementations are free to merge consecutive
segments into a single DMA mapping if conditions are suitable, thus the
resulting DMA addresses may be packed into fewer entries than
ttm->sg->nents implies.
Add a list of compatible strings for devices that wish to opt out
of attaching to a DMA domain. This is for devices that prefer to
manage their own IOMMU space for any number of reasons. Returning
ENOTSUPP for attach device will filter down and force
arch_setup_dma_ops() to not set up the iommu
I've been struggling with a problem for a while and I haven't been able to come
up with a clean solution. Rob convinced me to stop complaining and do
_something_ and hopefully this can spur a good discussion.
The scenario is basically this: The MSM GPU wants to manage its own IOMMU
virtual
Provide individual device drivers the chance to gracefully refuse
to attach a device to the default domain. If the attach_device
op returns -ENOTSUPP don't print a error message and don't set
group->domain but still return success from iommu_group_add_dev().
This allows all the usual APIs to work
Am 11.04.2018 um 19:11 schrieb Robin Murphy:
Now that drm_prime_sg_to_page_addr_arrays() understands the case where
dma_map_sg() has coalesced segments and returns 0 < count < nents, we
can relax the check to only consider genuine failure.
That pattern is repeated in pretty much all drivers
https://bugzilla.kernel.org/show_bug.cgi?id=199357
--- Comment #4 from Christian König (christian.koe...@amd.com) ---
Thanks, yeah that is clearly DC (display core).
Harry can you take a look?
--
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=199357
--- Comment #3 from Mathias Tillman (master.ho...@gmail.com) ---
I've just finished running a bisect now, and I have concluded that commit
36cc549d59864b7161f0e23d710c1c4d1b9cf022 (drm/amd/display: disable CRTCs with
NULL FB on their primary
https://bugs.freedesktop.org/show_bug.cgi?id=103246
i...@yahoo.com changed:
What|Removed |Added
Keywords||regression
--- Comment #1 from
https://bugs.freedesktop.org/show_bug.cgi?id=105680
--- Comment #8 from Jose Roberto de Souza ---
Hi Marta did it ran? Should I ask someone else to review and merge?
--
You are receiving this mail because:
You are the assignee for the
On 11/04/18 18:11, Robin Murphy wrote:
For dma_map_sg(), DMA API implementations are free to merge consecutive
segments into a single DMA mapping if conditions are suitable, thus the
resulting DMA addresses may be packed into fewer entries than
ttm->sg->nents implies.
For dma_map_sg(), DMA API implementations are free to merge consecutive
segments into a single DMA mapping if conditions are suitable, thus the
resulting DMA addresses may be packed into fewer entries than
ttm->sg->nents implies.
drm_prime_sg_to_page_addr_arrays() does not account for this,
1 - 100 of 168 matches
Mail list logo