Re: [RESEND] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel driver

2021-12-12 Thread Hsin-Yi Wang
On Mon, Nov 8, 2021 at 10:06 AM xiazhengqiao wrote: > > Add STARRY 2081101QFH032011-53G 10.1" WUXGA TFT LCD panel > > Signed-off-by: xiazhengqiao Tested-by: Hsin-Yi Wang Tested with a mt8183 katsu board [1] which uses this panel. [1]

[PATCH] udmabuf: Fix NULL vs IS_ERR() checking

2021-12-12 Thread Miaoqian Lin
The get_sg_table() function does not return NULL. It returns error pointers. Signed-off-by: Miaoqian Lin --- drivers/gpu/drm/arm/malidp_planes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/malidp_planes.c b/drivers/gpu/drm/arm/malidp_planes.c index

[PATCH 3/3] drm: fix the warnning of string style for scheduler trace.

2021-12-12 Thread Huang Rui
Use __string(), __assign_str() and __get_str() helpers in the TRACE_EVENT() instead of string definitions in gpu scheduler trace. [ 158.890890] [ cut here ] [ 158.890899] fmt: 'entity=%p, id=%llu, fence=%p, ring=%s, job count:%u, hw job count:%d '

[PATCH 1/3] dma-buf: make the flags can be configured during dma fence init

2021-12-12 Thread Huang Rui
In some user scenarios, the get_timeline_name callback uses the flags to decide which way to return the timeline string name. Once the trace_dma_fence_init event is enabled, it will call get_timeline_name callback to dump the fence structure. However, at this moment, the flags are always 0, and it

[PATCH 2/3] drm/amdgpu: fix the fence timeline null pointer

2021-12-12 Thread Huang Rui
Initialize the flags for embedded fence in the job at dma_fence_init(). Otherwise, we will go a wrong way in amdgpu_fence_get_timeline_name callback and trigger a null pointer panic once we enabled the trace event here. [ 156.131790] BUG: kernel NULL pointer dereference, address:

Re: [Bug 215315] New: [REGRESSION BISECTED] amdgpu crashes system suspend - NUC8i7HVKVA

2021-12-12 Thread Thorsten Leemhuis
[TLDR: adding this regression to regzbot; most of this mail is compiled from a few templates paragraphs some of you might have seen already.] Hi, this is your Linux kernel regression tracker speaking. Top-posting for once, to make this easy accessible to everyone. Thanks for the report. Adding

[PATCH] drm/ast: potential dereference of null pointer

2021-12-12 Thread Jiasheng Jiang
he return value of kzalloc() needs to be checked. To avoid use of null pointer '_state->base' in case of the failure of alloc. Fixes: f0adbc382b8b ("drm/ast: Allocate initial CRTC state of the correct size") Signed-off-by: Jiasheng Jiang --- drivers/gpu/drm/ast/ast_mode.c | 3 ++- 1 file

Re: [PATCH v2 00/11] dmaengine: kill off dma_slave_config->slave_id

2021-12-12 Thread Vinod Koul
On 22-11-21, 23:21, Arnd Bergmann wrote: > From: Arnd Bergmann > > I recently came across some new uses of the 'slave_id' field that > I had (almost) removed a few years ago. There are no legitimate > uses of this field in the kernel, only a few stale references and > two drivers that abuse the

[Bug 215315] [REGRESSION BISECTED] amdgpu crashes system suspend - NUC8i7HVKVA

2021-12-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215315 Len Brown (l...@kernel.org) changed: What|Removed |Added CC||alexdeuc...@gmail.com,

[Bug 215315] New: [REGRESSION BISECTED] amdgpu crashes system suspend - NUC8i7HVKVA

2021-12-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215315 Bug ID: 215315 Summary: [REGRESSION BISECTED] amdgpu crashes system suspend - NUC8i7HVKVA Product: Drivers Version: 2.5 Kernel Version: 5.15-rc1, 5.15, 5.16-rc4

Re: [PATCH 07/18] dt-bindings: display: rockchip: dw-hdmi: Allow "ref" as clock name

2021-12-12 Thread Heiko Stuebner
Am Mittwoch, 8. Dezember 2021, 16:12:19 CET schrieb Sascha Hauer: > "vpll" is a misnomer. A clock input to a device should be named after > the usage in the device, not after the clock that drives it. On the > rk3568 the same clock is driven by the HPLL. > To fix that, this patch renames the vpll

[Bug 201957] amdgpu: ring gfx timeout

2021-12-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 --- Comment #51 from T. Noah (aus...@tutanota.com) --- A possible solution is to pass amdgpu.dpm=0 as a kernel launch option. However: this kills fps in many games and probably anything that depends on the gpu for rendering. -- You may reply

Re: [PATCH v3 1/3] of: Move simple-framebuffer device handling from simplefb to of

2021-12-12 Thread Rob Herring
On Sun, Dec 12, 2021 at 12:24 AM Hector Martin wrote: > > This code is required for both simplefb and simpledrm, so let's move it > into the OF core instead of having it as an ad-hoc initcall in the > drivers. > > Acked-by: Thomas Zimmermann > Signed-off-by: Hector Martin > --- >

[PATCH] drm/bridge: don't print EPROBE_DEFER as an error on bridge attach

2021-12-12 Thread Lucas Stach
EPROBE_DEFER is a special error return code, that can happen during normal system boot and should not be printed as an error. Signed-off-by: Lucas Stach --- drivers/gpu/drm/drm_bridge.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_bridge.c

[PATCH v3 7/7] drm: exynos: dsi: Move DSI init in bridge enable

2021-12-12 Thread Jagan Teki
Host transfer in DSI master will invoke only when the DSI commands sent from DSI devices like DSI Panel or DSI bridges and this host transfer wouldn't invoke I2C based DSI bridge drivers. Handling DSI host initialization in transfer calls might miss the controller setup for I2C configured DSI

[PATCH v3 6/7] drm: exynos: dsi: Get the mode from bridge

2021-12-12 Thread Jagan Teki
Now the exynos dsi driver is fully aware of bridge handling, so get the display mode from bridge, mode_set API instead of legacy encoder crtc. This makes bridge usage more efficient instead of relying on encoder stack. Add mode_set in drm_bridge_funcs. Signed-off-by: Jagan Teki --- Changes for

[PATCH v3 5/7] drm: exynos: dsi: Switch to atomic funcs

2021-12-12 Thread Jagan Teki
The new support drm bridges are moving towards atomic functions. Replace atomic version of functions to continue the transition to the atomic API. Signed-off-by: Jagan Teki --- Changes for v3: - none drivers/gpu/drm/exynos/exynos_drm_dsi.c | 25 - 1 file changed, 16

[PATCH v3 4/7] drm: exynos: dsi: Separate pre_enable, post_disable code

2021-12-12 Thread Jagan Teki
Existing driver is calling manual bridge pre_enable, enable, disable and post_disable helpers with their enable and disable functions. Separate the enable code with pre_enable and enable helpers like enable the DSI in pre_enable and set the display in enable. Separate the disable code with

[PATCH v3 3/7] drm: exynos: dsi: Convert to bridge driver

2021-12-12 Thread Jagan Teki
Convert the encoders to bridge drivers in order to standardize on a single API with built-in dumb encoder support for compatibility with existing component drivers. Driver bridge conversion will help to reuse the same bridge on different platforms as exynos dsi driver can be used as a Samsung

[PATCH v3 2/7] drm: exynos: dsi: Use drm panel_bridge API

2021-12-12 Thread Jagan Teki
Replace the manual panel handling code by a drm panel_bridge via devm_drm_of_get_bridge(). Adding panel_bridge handling, - Drops drm_connector and related operations as drm_bridge_attach creates connector during attachment. - Drops panel pointer and iterate the bridge, so-that it can operate

[PATCH v3 1/7] drm: exynos: dsi: Check panel for panel helpers

2021-12-12 Thread Jagan Teki
Trigger the panel operation helpers only if host found the panel. Add check. Signed-off-by: Jagan Teki --- Changes for v3: - none Changes for v2: - new patch drivers/gpu/drm/exynos/exynos_drm_dsi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH v3 0/7] drm: exynos: dsi: Convert drm bridge

2021-12-12 Thread Jagan Teki
Updated series about drm bridge conversion of exynos dsi. Patch 1: panel checker Patch 2: panel_bridge API Patch 3: Bridge conversion Patch 4: pree_enable, post_disable Patch 5: Atomic functions Patch 6: atomic_set Patch 7: DSI init in enable [1]

[Bug 207763] Noisy Screen in Linux with kernel 5

2021-12-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207763 --- Comment #10 from rocca...@gmail.com --- i forgot to mention that i have "AMD RV620/M82 [Mobility Radeon HD 3450/3470]" i tried same live usb with persistence on other pc (buitin intel somewhat) and all worked fine -- You may reply to this

[Bug 207763] Noisy Screen in Linux with kernel 5

2021-12-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=207763 rocca...@gmail.com changed: What|Removed |Added CC||rocca...@gmail.com --- Comment #9

[PATCH v2 2/2] drm/msm/a5xx: Fix missing CP_PROTECT for SMMU on A540

2021-12-12 Thread Vladimir Lypak
A CP_PROTECT entry for SMMU registers is missing for A540. According to downstream sources its length is same as on A530 - 0x2 bytes. On all other revisions SMMU region length is 0x1 bytes. Despite this, we setup region of length 0x2 on all revisions. This doesn't cause any issues on

[PATCH v2 1/2] drm/msm/a5xx: Add support for Adreno 506 GPU

2021-12-12 Thread Vladimir Lypak
This GPU is found on SoCs such as MSM8953 (650 MHz), SDM450 (600 MHz), SDM632 (725 MHz). Signed-off-by: Vladimir Lypak --- Changes since v1: - don't change behaviour for other GPU revisions - also setup CP_PROTECT for SMMU - correct formatting --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 39

Re: [PATCH] drm/msm/a5xx: Add support for Adreno 506 GPU

2021-12-12 Thread Vladimir Lypak
On Fri, Dec 03, 2021 at 09:51:10PM +0300, Dmitry Baryshkov wrote: > On 22/10/2021 20:33, Bjorn Andersson wrote: > > On Fri 22 Oct 04:43 PDT 2021, Vladimir Lypak wrote: > > > > > This GPU is found on SoCs such as MSM8953(650MHz), SDM450(600MHz), > > > SDM632(725MHz). > > > > > > Signed-off-by:

[PATCH] drm/edid: Refine HDMI VSDB detect

2021-12-12 Thread Lee Shawn C
According to CEA-861-F chapter 7.5.4. It says "The VSDB shall contain the 3 bytes of the IEEE OUI as well as any additional payload bytes needed." Now DRM driver check HDMI OUI but VSDB payload size at least five bytes. That may caused some HDMI monitors' audio feature can't be enabled. Because of

[PATCH RESEND v7 12/12] drm/i915: Move the GGTT from i915 private data to the GT

2021-12-12 Thread Andi Shyti
GGTT was available both through i915->ggtt and gt->ggtt, and we eventually want to get rid of the i915->ggtt one. Move the GGTT from i915 to gt and use to_gt() for accesssing the ggtt. Signed-off-by: Andi Shyti Cc: Michal Wajdeczko Cc: Matt Roper --- drivers/gpu/drm/i915/display/intel_fbc.c

[PATCH RESEND v7 11/12] drm/i915: Use to_gt() helper for GGTT accesses

2021-12-12 Thread Andi Shyti
From: Michał Winiarski GGTT is currently available both through i915->ggtt and gt->ggtt, and we eventually want to get rid of the i915->ggtt one. Use to_gt() for all i915->ggtt accesses to help with the future refactoring. Signed-off-by: Michał Winiarski Cc: Michal Wajdeczko Signed-off-by:

[PATCH RESEND v7 10/12] drm/i915: Rename i915->gt to i915->gt0

2021-12-12 Thread Andi Shyti
In preparation of the multitile support, highlight the root GT by calling it gt0 inside the drm i915 private data. Signed-off-by: Andi Shyti Cc: Chris Wilson Cc: Joonas Lahtinen Cc: Lucas De Marchi Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Reviewed-by: Matt Roper ---

[PATCH RESEND v7 09/12] drm/i915: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/i915_debugfs.c| 38

[PATCH RESEND v7 08/12] drm/i915/pxp: Use to_gt() helper

2021-12-12 Thread Andi Shyti
Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH RESEND v7 07/12] drm/i915/selftests: Use to_gt() helper

2021-12-12 Thread Andi Shyti
Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Andi Shyti Cc: Michał Winiarski Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/selftests/i915_active.c | 2 +- drivers/gpu/drm/i915/selftests/i915_gem.c

[PATCH RESEND v7 06/12] drm/i915/gvt: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gvt/gvt.c | 2 +-

[PATCH RESEND v7 05/12] drm/i915/gem: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 22

[PATCH RESEND v7 04/12] drm/i915/gt: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gt/intel_engine_user.c | 2 +-

[PATCH RESEND v7 03/12] drm/i915/display: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- .../gpu/drm/i915/display/intel_atomic_plane.c | 4 ++--

[PATCH RESEND v7 02/12] drm/i915: Introduce to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski To allow further refactoring and abstract away the fact that GT is stored inside i915 private. No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c | 7 +--

[PATCH RESEND v7 01/12] drm/i915: Store backpointer to GT in uncore

2021-12-12 Thread Andi Shyti
From: Michał Winiarski We now support a per-gt uncore, yet we're not able to infer which GT we're operating upon. Let's store a backpointer for now. At this point the early initialization of the gt needs to be broken in two parts where the first is needed to assign to the gt the i915 private

[PATCH RESEND v7 00/12] More preparation for multi gt patches

2021-12-12 Thread Andi Shyti
Hi, the first patch concludes the first stage of refactoring which makes the use of intel_gt on the different subsystem. It's taken from Matt's series and it has alread been reviewed. The patch has just been replaced before any multitile patches and I think it can be already pushed. Patch 2-10

Re: [PATCH v7 00/12] More preparation for multi gt patches

2021-12-12 Thread Andi Shyti
Sorry... messed up with git-send-email and the series is not threaded. I'm going to resend it. Andi On Sun, Dec 12, 2021 at 05:10:55PM +0200, Andi Shyti wrote: > Hi, > > the first patch concludes the first stage of refactoring which > makes the use of intel_gt on the different subsystem. It's

[PATCH v7 12/12] drm/i915: Move the GGTT from i915 private data to the GT

2021-12-12 Thread Andi Shyti
GGTT was available both through i915->ggtt and gt->ggtt, and we eventually want to get rid of the i915->ggtt one. Move the GGTT from i915 to gt and use to_gt() for accesssing the ggtt. Signed-off-by: Andi Shyti Cc: Michal Wajdeczko Cc: Matt Roper --- drivers/gpu/drm/i915/display/intel_fbc.c

[PATCH v7 11/12] drm/i915: Use to_gt() helper for GGTT accesses

2021-12-12 Thread Andi Shyti
From: Michał Winiarski GGTT is currently available both through i915->ggtt and gt->ggtt, and we eventually want to get rid of the i915->ggtt one. Use to_gt() for all i915->ggtt accesses to help with the future refactoring. Signed-off-by: Michał Winiarski Cc: Michal Wajdeczko Signed-off-by:

[PATCH v7 10/12] drm/i915: Rename i915->gt to i915->gt0

2021-12-12 Thread Andi Shyti
In preparation of the multitile support, highlight the root GT by calling it gt0 inside the drm i915 private data. Signed-off-by: Andi Shyti Cc: Chris Wilson Cc: Joonas Lahtinen Cc: Lucas De Marchi Cc: Rodrigo Vivi Cc: Tvrtko Ursulin Reviewed-by: Matt Roper ---

[PATCH v7 09/12] drm/i915: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/i915_debugfs.c| 38

[PATCH v7 07/12] drm/i915/selftests: Use to_gt() helper

2021-12-12 Thread Andi Shyti
Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Andi Shyti Cc: Michał Winiarski Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/selftests/i915_active.c | 2 +- drivers/gpu/drm/i915/selftests/i915_gem.c

[PATCH v7 06/12] drm/i915/gvt: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gvt/gvt.c | 2 +-

[PATCH v7 05/12] drm/i915/gem: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gem/i915_gem_context.c | 22

[PATCH v7 04/12] drm/i915/gt: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gt/intel_engine_user.c | 2 +-

[PATCH v7 03/12] drm/i915/display: Use to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- .../gpu/drm/i915/display/intel_atomic_plane.c | 4 ++--

[PATCH v7 02/12] drm/i915: Introduce to_gt() helper

2021-12-12 Thread Andi Shyti
From: Michał Winiarski To allow further refactoring and abstract away the fact that GT is stored inside i915 private. No functional changes. Signed-off-by: Michał Winiarski Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/gt/intel_gt_buffer_pool.c | 7 +--

[PATCH v7 01/12] drm/i915: Store backpointer to GT in uncore

2021-12-12 Thread Andi Shyti
From: Michał Winiarski We now support a per-gt uncore, yet we're not able to infer which GT we're operating upon. Let's store a backpointer for now. At this point the early initialization of the gt needs to be broken in two parts where the first is needed to assign to the gt the i915 private

[PATCH v7 00/12] More preparation for multi gt patches

2021-12-12 Thread Andi Shyti
Hi, the first patch concludes the first stage of refactoring which makes the use of intel_gt on the different subsystem. It's taken from Matt's series and it has alread been reviewed. The patch has just been replaced before any multitile patches and I think it can be already pushed. Patch 2-10

[PATCH v7 08/12] drm/i915/pxp: Use to_gt() helper

2021-12-12 Thread Andi Shyti
Use to_gt() helper consistently throughout the codebase. Pure mechanical s/i915->gt/to_gt(i915). No functional changes. Signed-off-by: Andi Shyti Reviewed-by: Matt Roper --- drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] drm/msm/a5xx: Add support for Adreno 506 GPU

2021-12-12 Thread Vladimir Lypak
On Fri, Oct 22, 2021 at 10:33:29AM -0700, Bjorn Andersson wrote: > On Fri 22 Oct 04:43 PDT 2021, Vladimir Lypak wrote: > > > This GPU is found on SoCs such as MSM8953(650MHz), SDM450(600MHz), > > SDM632(725MHz). > > > > Signed-off-by: Vladimir Lypak > > --- > >

Re: [PATCH] drm/panel: ilitek-ili9881c: Avoid unbalance prepare/unprepare

2021-12-12 Thread Michael Nazzareno Trimarchi
Hi On Fri, Dec 10, 2021 at 4:48 PM Dave Stevenson wrote: > > Hi Michael > > On Fri, 10 Dec 2021 at 09:05, Michael Nazzareno Trimarchi > wrote: > > > > Hi Dave > > > > some questions below > > > > On Thu, Dec 9, 2021 at 7:10 PM Michael Nazzareno Trimarchi > > wrote: > > > > > > Hi Dave > > > >

Re: [PATCH 0/9] drm/i915/gvt: Constify static structs

2021-12-12 Thread Rikard Falkeborn
On Fri, Dec 10, 2021 at 09:00:56AM +, Wang, Zhi A wrote: > On 12/4/2021 12:55 PM, Rikard Falkeborn wrote: > > Constify a number of static structs that are never modified to allow the > > compiler to put them in read-only memory. In order to do this, constify a > > number of local variables and

Re: [PATCH 7/9] drm/i915/gvt: Constify formats

2021-12-12 Thread Rikard Falkeborn
On Fri, Dec 10, 2021 at 08:20:22AM +, Wang, Zhi A wrote: > On 12/4/2021 12:55 PM, Rikard Falkeborn wrote: > > These are never modified, so make them const to allow the compiler to > > put them in read-only memory. WHile at it, make the description const > > char* since it is never modified. >

[PATCH] lib/genalloc: Fix NULL vs IS_ERR() checking

2021-12-12 Thread Miaoqian Lin
The devm_gen_pool_create() function does not return NULL. It returns error pointers. Signed-off-by: Miaoqian Lin --- drivers/gpu/drm/vboxvideo/vbox_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vboxvideo/vbox_main.c

Re: [PATCH] lib/genalloc: Fix NULL vs IS_ERR() checking

2021-12-12 Thread Hans de Goede
Hi, On 12/11/21 15:49, Miaoqian Lin wrote: > The devm_gen_pool_create() function does not return NULL. It > returns error pointers. > > Signed-off-by: Miaoqian Lin This is already fixed in linux-next, see:

[Bug 210787] amdgpu fan NA on multi gpu R9 nano

2021-12-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=210787 Janpieter Sollie (janpieter.sol...@edpnet.be) changed: What|Removed |Added Status|NEW |RESOLVED