Re: [PATCH] gpu: drm: i915: gt: Rudimentary typo fix in the file intel_timeline.c

2021-03-13 Thread Randy Dunlap
On 3/13/21 8:43 PM, Bhaskar Chowdhury wrote: > > s/bariers/barriers/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/gpu/drm/i915/gt/intel_timeline.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/gt/intel_timeline.c

[PATCH] gpu: drm: i915: gt: Rudimentary typo fix in the file intel_timeline.c

2021-03-13 Thread Bhaskar Chowdhury
s/bariers/barriers/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/i915/gt/intel_timeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/intel_timeline.c b/drivers/gpu/drm/i915/gt/intel_timeline.c index 8015964043eb..2b921c1796dc 100644 ---

Re: [PATCH] drm/omap: dsi: fix unsigned expression compared with zero

2021-03-13 Thread Laurent Pinchart
Hi Junlin, Thank you for the patch. On Fri, Mar 12, 2021 at 03:14:45PM +0800, angkery wrote: > From: Junlin Yang > > r is "u32" always >= 0,mipi_dsi_create_packet may return little than zero. > so r < 0 condition is never accessible. > > Fixes coccicheck warnings: > ./drivers/gpu/drm/omapdrm/d

Re: [PATCH] gpu: drm: mediatek: delete redundant printing of return value

2021-03-13 Thread Chun-Kuang Hu
Hi, Wang: Wang Qing 於 2021年3月13日 週六 下午3:48寫道: > > platform_get_irq() has already checked and printed the return value, > the printing here is nothing special, it is not necessary at all. Applied to mediatek-drm-next [1], thanks. [1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/

[PATCH] drm/panel: s6e63m0: Depromote debug prints

2021-03-13 Thread Linus Walleij
The dev_info():s in the DSI driver are very talkative, depromote these to dev_dbg(). Signed-off-by: Linus Walleij --- drivers/gpu/drm/panel/panel-samsung-s6e63m0-dsi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-samsung-s6e63m0-dsi.c b/d

Re: [PATCH 2/2] PCI: Revoke mappings like devmem

2021-03-13 Thread Daniel Vetter
On Sat, Mar 13, 2021 at 10:57 PM Bjorn Helgaas wrote: > > [+cc Krzysztof, Pali, Oliver] > > On Thu, Feb 04, 2021 at 05:58:31PM +0100, Daniel Vetter wrote: > > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims > > the region") /dev/kmem zaps ptes when the kernel requests exclusive

[PATCH] nouveau: Skip unvailable ttm page entries

2021-03-13 Thread Tobias Klausmann
Starting with commit f295c8cfec833c2707ff1512da10d65386dde7af ("drm/nouveau: fix dma syncing warning with debugging on.") the following oops occures: BUG: kernel NULL pointer dereference, address: #PF: supervisor read access in kernel mode #PF: error_code(0x) - not-pr

Re: [PATCH 2/2] PCI: Revoke mappings like devmem

2021-03-13 Thread Bjorn Helgaas
[+cc Krzysztof, Pali, Oliver] On Thu, Feb 04, 2021 at 05:58:31PM +0100, Daniel Vetter wrote: > Since 3234ac664a87 ("/dev/mem: Revoke mappings when a driver claims > the region") /dev/kmem zaps ptes when the kernel requests exclusive > acccess to an iomem region. And with CONFIG_IO_STRICT_DEVMEM, t

Re: [PATCH 3/3] drm/bridge: ti-sn65dsi86: Properly get the EDID, but only if refclk

2021-03-13 Thread Laurent Pinchart
Hi Doug, Thank you for the patch. On Thu, Mar 04, 2021 at 03:52:01PM -0800, Douglas Anderson wrote: > In commit 58074b08c04a ("drm/bridge: ti-sn65dsi86: Read EDID blob over > DDC") we attempted to make the ti-sn65dsi86 bridge properly read the > EDID from the panel. That commit kinda worked but i

Re: [PATCH 2/3] drm/bridge: ti-sn65dsi86: Move code in prep for EDID read fix

2021-03-13 Thread Laurent Pinchart
Hi Douglas, Thank you for the patch. On Thu, Mar 04, 2021 at 03:52:00PM -0800, Douglas Anderson wrote: > This patch is _only_ code motion to prepare for the patch > ("drm/bridge: ti-sn65dsi86: Properly get the EDID, but only if > refclk") and make it easier to understand. s/make/makes/ > > Sig

Re: [PATCH 1/3] drm/bridge: ti-sn65dsi86: Simplify refclk handling

2021-03-13 Thread Laurent Pinchart
Hi Douglas, Thank you for the patch. On Thu, Mar 04, 2021 at 03:51:59PM -0800, Douglas Anderson wrote: > The clock framework makes it simple to deal with an optional clock. > You can call clk_get_optional() and if the clock isn't specified it'll > just return NULL without complaint. It's valid to

Re: [PATCH 2/3] drm/bridge: ti-sn65dsi86: Move code in prep for EDID read fix

2021-03-13 Thread Stephen Boyd
Quoting Douglas Anderson (2021-03-04 15:52:00) > This patch is _only_ code motion to prepare for the patch > ("drm/bridge: ti-sn65dsi86: Properly get the EDID, but only if > refclk") and make it easier to understand. > > Signed-off-by: Douglas Anderson > --- Reviewed-by: Stephen Boyd __

Re: [PATCH 1/3] drm/bridge: ti-sn65dsi86: Simplify refclk handling

2021-03-13 Thread Stephen Boyd
Quoting Douglas Anderson (2021-03-04 15:51:59) > The clock framework makes it simple to deal with an optional clock. > You can call clk_get_optional() and if the clock isn't specified it'll > just return NULL without complaint. It's valid to pass NULL to > enable/disable/prepare/unprepare. Let's ma

[Bug 212077] AMD GPU discrete card memory at highest frequency even while not in use

2021-03-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212077 --- Comment #7 from Bat Malin (bat_ma...@abv.bg) --- Code not fixed in 5.11.6 -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. __

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-13 Thread Intel
Hi, Christian On 3/12/21 10:38 AM, Christian König wrote: We seem to have some more driver bugs than thought. Signed-off-by: Christian König --- include/drm/ttm/ttm_bo_api.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/

[PATCH v8 3/3] drm: Add GUD USB Display driver

2021-03-13 Thread Noralf Trønnes
This adds a USB display driver with the intention that it can be used with future USB interfaced low end displays/adapters. The Linux gadget device driver will serve as the canonical device implementation. The following DRM properties are supported: - Plane rotation - Connector TV properties Ther

[PATCH v8 0/3] GUD USB Display driver

2021-03-13 Thread Noralf Trønnes
Hi, A while back I had the idea to turn a Raspberry Pi Zero into a $5 USB to HDMI/SDTV/DPI display adapter. The protocol is open so people are free to make displays implementing it and use this driver, all that's needed is to add a USB vid:pid to the driver for the display. See the wiki[1] for m

[PATCH v8 2/3] drm/probe-helper: Check epoch counter in output_poll_execute()

2021-03-13 Thread Noralf Trønnes
drm_helper_hpd_irq_event() checks the epoch counter to determine connector status change. This was introduced in commit 5186421cbfe2 ("drm: Introduce epoch counter to drm_connector"). Do the same for output_poll_execute() so it can detect other changes beside connection status value changes. v2: -

[PATCH v8 1/3] drm/uapi: Add USB connector type

2021-03-13 Thread Noralf Trønnes
Add a connector type for USB connected display panels. Some examples of what current userspace will name the connector: - Weston: "UNNAMED-%d" - Mutter: "Unknown20-%d" - X: "Unknown20-%d" v2: - Update drm_connector_enum_list - Add examples to commit message Acked-by: Daniel Vetter Signed-off-by

[PATCH] drm/mediatek: crtc: Make config-updating atomic

2021-03-13 Thread Chun-Kuang Hu
While updating config, the irq would occur and get the partial config, so use variable config_updating to make updating atomic. Signed-off-by: Chun-Kuang Hu --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/driver

[Bug 212259] Entire graphics stack locks up when running SteamVR and sometimes Sway; is sometimes unrecoverable

2021-03-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212259 happysmas...@protonmail.com changed: What|Removed |Added Severity|blocking|high -- You may reply to t