Re: [PATCH] fbmem: don't allow too huge resolutions

2021-08-31 Thread Geert Uytterhoeven
Hi Handa-san, On Tue, Aug 31, 2021 at 5:24 PM Tetsuo Handa wrote: > On 2021/08/31 15:48, Geert Uytterhoeven wrote: > > Furthermore, this restricts the virtual frame buffer size on 64-bit, > > too, while graphics cards can have much more than 4 GiB of RAM. > > Excuse me, but do you mean that some

Re: [PATCH] drm/mipi: set fwnode when a mipi_dsi_device is registered

2021-08-31 Thread Will McVicker
Hi All, I'd like to send a reminder for a review on this patch. Thanks, Will On Fri, Jul 16, 2021 at 5:03 PM Will McVicker wrote: > > This allows the fw_devlink feature to work across mipi_dsi bus devices too. > This feature avoids unnecessary probe deferrals of mipi_dsi devices, defers > cons

Re: [PATCH v2] Revert "drm/scheduler: Avoid accessing freed bad job."

2021-08-31 Thread Andrey Grodzovsky
On 2021-08-31 9:11 a.m., Daniel Vetter wrote: On Thu, Aug 26, 2021 at 11:04:14AM +0200, Daniel Vetter wrote: On Thu, Aug 19, 2021 at 11:25:09AM -0400, Andrey Grodzovsky wrote: On 2021-08-19 5:30 a.m., Daniel Vetter wrote: On Wed, Aug 18, 2021 at 10:51:00AM -0400, Andrey Grodzovsky wrote: On

[PATCH] drm/sun4i: Fix macros in sun8i_csc.h

2021-08-31 Thread Jernej Skrabec
Macros SUN8I_CSC_CTRL() and SUN8I_CSC_COEFF() don't follow usual recommendation of having arguments enclosed in parenthesis. While that didn't change anything for quiet sometime, it actually become important after CSC code rework with commit ea067aee45a8 ("drm/sun4i: de2/de3: Remove redundant CSC m

Re: Re: Re: DE2.0 YV12 playback issues after ea067aee45a8

2021-08-31 Thread Jernej Škrabec
Dne torek, 31. avgust 2021 ob 19:18:42 CEST je Roman Stratiienko napisal(a): > Hi Jernej, > > вт, 31 авг. 2021 г. в 19:52, Jernej Škrabec : > > > > Hi! > > > > Dne petek, 27. avgust 2021 ob 15:16:03 CEST je Roman Stratiienko napisal(a): > > > +CC: jernej.skra...@gmail.com > > > > > > пт, 27 авг.

Re: [PATCH] fbmem: don't allow too huge resolutions

2021-08-31 Thread Daniel Vetter
On Tue, Aug 31, 2021 at 7:19 PM Geert Uytterhoeven wrote: > > Hi Handa-san, > > On Tue, Aug 31, 2021 at 5:24 PM Tetsuo Handa > wrote: > > On 2021/08/31 15:48, Geert Uytterhoeven wrote: > > > Furthermore, this restricts the virtual frame buffer size on 64-bit, > > > too, while graphics cards can h

Re: [PATCH] fbmem: don't allow too huge resolutions

2021-08-31 Thread Geert Uytterhoeven
Hi Daniel, On Tue, Aug 31, 2021 at 8:53 PM Daniel Vetter wrote: > On Tue, Aug 31, 2021 at 7:19 PM Geert Uytterhoeven > wrote: > > On Tue, Aug 31, 2021 at 5:24 PM Tetsuo Handa > > wrote: > > > On 2021/08/31 15:48, Geert Uytterhoeven wrote: > > > > Furthermore, this restricts the virtual frame b

Re: [PATCH] drm/sun4i: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Jernej Škrabec
Hi! Dne torek, 31. avgust 2021 ob 15:57:39 CEST je Cai Huoqing napisal(a): > Use the devm_platform_ioremap_resource() helper instead of > calling platform_get_resource() and devm_ioremap_resource() > separately > > Signed-off-by: Cai Huoqing Reviewed-by: Jernej Skrabec Best regards, Jernej

Re: [Intel-gfx] [PATCH 26/27] drm/i915/guc: Add GuC kernel doc

2021-08-31 Thread John Harrison
On 8/25/2021 20:23, Matthew Brost wrote: Add GuC kernel doc for all structures added thus far for GuC submission and update the main GuC submission section with the new interface details. v2: - Drop guc_active.lock DOC v3: (Daniele) - Fixup a few kernel doc comments Signed-off-by: Matthew

Re: [PATCH] fbmem: don't allow too huge resolutions

2021-08-31 Thread Daniel Vetter
On Tue, Aug 31, 2021 at 8:56 PM Geert Uytterhoeven wrote: > > Hi Daniel, > > On Tue, Aug 31, 2021 at 8:53 PM Daniel Vetter wrote: > > On Tue, Aug 31, 2021 at 7:19 PM Geert Uytterhoeven > > wrote: > > > On Tue, Aug 31, 2021 at 5:24 PM Tetsuo Handa > > > wrote: > > > > On 2021/08/31 15:48, Geert

Re: [Intel-gfx] [PATCH 27/27] drm/i915/guc: Drop static inline functions intel_guc_submission.c

2021-08-31 Thread John Harrison
Subject should be 'drop .. functions *from* intel...'. On 8/25/2021 20:23, Matthew Brost wrote: s/static inline/static/g + fix function argument alignment to make checkpatch happy. Why? Signed-off-by: Matthew Brost --- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 116 +

RE: [PATCH 1/2] drm: Update MST First Link Slot Information Based on Encoding Format

2021-08-31 Thread Zuo, Jerry
[AMD Official Use Only] > -Original Message- > From: Lyude Paul > Sent: August 30, 2021 4:00 PM > To: Zuo, Jerry ; dri-devel@lists.freedesktop.org > Cc: Wentland, Harry ; Kazlauskas, Nicholas > ; Lin, Wayne > Subject: Re: [PATCH 1/2] drm: Update MST First Link Slot Information Based > on

Re: [PATCH 1/2] drm: Update MST First Link Slot Information Based on Encoding Format

2021-08-31 Thread Lyude Paul
On Tue, 2021-08-31 at 19:44 +, Zuo, Jerry wrote: > [AMD Official Use Only] > > > -Original Message- > > From: Lyude Paul > > Sent: August 30, 2021 4:00 PM > > To: Zuo, Jerry ; dri-devel@lists.freedesktop.org > > Cc: Wentland, Harry ; Kazlauskas, Nicholas > > ; Lin, Wayne > > Subject:

[PATCH v7 0/8] use DYNAMIC_DEBUG to implement DRM.debug

2021-08-31 Thread Jim Cromie
Hi Jason, DRM folks, In DRM-debug currently, drm_debug_enabled() is called a lot to decide whether or not to write debug messages. Each test is cheap, but costs continue with uptime. DYNAMIC_DEBUG "dyndbg", when built with JUMP_LABEL, replaces each of those tests with a patchable NOOP, for "zero

[PATCH v7 1/8] dyndbg: add DEFINE_DYNAMIC_DEBUG_CATEGORIES and callbacks

2021-08-31 Thread Jim Cromie
DEFINE_DYNAMIC_DEBUG_CATEGORIES(name, var, bitmap_desc, @bit_descs) allows users to define a drm.debug style (bitmap) sysfs interface, and to specify the desired mapping from bits[0-N] to the format-prefix'd pr_debug()s to be controlled. DEFINE_DYNAMIC_DEBUG_CATEGORIES(debug_gvt, __gvt_debug,

[PATCH v7 4/8] amdgpu: use DEFINE_DYNAMIC_DEBUG_CATEGORIES

2021-08-31 Thread Jim Cromie
logger_types.h defines many DC_LOG_*() categorized debug wrappers. Most of these use DRM debug API, so are controllable using drm.debug, but others use bare pr_debug("$prefix: .."), each with a different class-prefix matching "^\[\w+\]:" Use DEFINE_DYNAMIC_DEBUG_CATEGORIES to create a /sys debug_d

[PATCH v7 3/8] i915/gvt: use DEFINE_DYNAMIC_DEBUG_CATEGORIES to create "gvt:core:" etc categories

2021-08-31 Thread Jim Cromie
The gvt component of this driver has ~120 pr_debugs, in 9 categories quite similar to those in DRM. Following the interface model of drm.debug, add a parameter to map bits to these categorizations. DEFINE_DYNAMIC_DEBUG_CATEGORIES(debug_gvt, __gvt_debug, "dyndbg bitmap desc", { "gv

[PATCH v7 2/8] dyndbg: remove spaces in pr_debug "gvt: core:" etc prefixes

2021-08-31 Thread Jim Cromie
Taking embedded spaces out of existing prefixes makes them better class-prefixes; simplifying the extra quoting needed otherwise: $> echo format "^gvt: core:" +p >control Dropping the internal spaces means any trailing space in a query will more clearly terminate the prefix being searched for.

[PATCH v7 5/8] drm_print: add choice to use dynamic debug in drm-debug

2021-08-31 Thread Jim Cromie
drm's debug system writes 10 distinct categories of messages to syslog using a small API[1]: drm_dbg*(10 names), DRM_DEV_DEBUG*(3 names), DRM_DEBUG*(8 names). There are thousands of these callsites, each categorized in this systematized way. These callsites can be enabled at runtime by their cate

[PATCH v7 7/8] amdgpu_ucode: reduce number of pr_debug calls

2021-08-31 Thread Jim Cromie
There are blocks of DRM_DEBUG calls, consolidate their args into single calls. With dynamic-debug in use, each callsite consumes 56 bytes of callsite data, and this patch removes about 65 calls, so it saves ~3.5kb. no functional changes. RFC: this creates multi-line log messages, does that break

[PATCH v7 6/8] drm_print: instrument drm_debug_enabled

2021-08-31 Thread Jim Cromie
Duplicate drm_debug_enabled() code into both "basic" and "dyndbg" ifdef branches. Then add a pr_debug("todo: ...") into the "dyndbg" branch. Then convert the "dyndbg" branch's code to a macro, so that its pr_debug() get its callsite info from the invoking function, instead of from drm_debug_enabl

[PATCH v7 8/8] nouveau: fold multiple DRM_DEBUG_DRIVERs together

2021-08-31 Thread Jim Cromie
With DRM_USE_DYNAMIC_DEBUG, each callsite record requires 56 bytes. We can combine 12 into one here and save ~620 bytes. Signed-off-by: Jim Cromie --- drivers/gpu/drm/nouveau/nouveau_drm.c | 36 +-- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/drivers/g

Re: [PATCH 8/8] drm/i915/perf: Map OA buffer to user space for gen12 performance query

2021-08-31 Thread Umesh Nerlige Ramappa
On Tue, Aug 31, 2021 at 02:55:37PM +0200, Daniel Vetter wrote: On Mon, Aug 30, 2021 at 12:38:51PM -0700, Umesh Nerlige Ramappa wrote: i915 used to support time based sampling mode which is good for overall system monitoring, but is not enough for query mode used to measure a single draw call or

Re: [PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-08-31 Thread Andrey Grodzovsky
On 2021-08-31 12:01 p.m., Luben Tuikov wrote: On 2021-08-31 11:23, Andrey Grodzovsky wrote: On 2021-08-31 10:38 a.m., Daniel Vetter wrote: On Tue, Aug 31, 2021 at 10:20:40AM -0400, Andrey Grodzovsky wrote: On 2021-08-31 10:03 a.m., Daniel Vetter wrote: On Tue, Aug 31, 2021 at 09:53:36AM -04

Re: [Intel-gfx] [PATCH v7 05/17] drm/i915/pxp: Implement funcs to create the TEE channel

2021-08-31 Thread Rodrigo Vivi
On Fri, Aug 27, 2021 at 06:27:26PM -0700, Daniele Ceraolo Spurio wrote: > From: "Huang, Sean Z" > > Implement the funcs to create the TEE channel, so kernel can > send the TEE commands directly to TEE for creating the arbitrary > (default) session. > > v2: fix locking, don't pollute dev_priv (Ch

Re: [Intel-gfx] [PATCH v7 05/17] drm/i915/pxp: Implement funcs to create the TEE channel

2021-08-31 Thread Daniele Ceraolo Spurio
On 8/31/2021 2:08 PM, Rodrigo Vivi wrote: On Fri, Aug 27, 2021 at 06:27:26PM -0700, Daniele Ceraolo Spurio wrote: From: "Huang, Sean Z" Implement the funcs to create the TEE channel, so kernel can send the TEE commands directly to TEE for creating the arbitrary (default) session. v2: fix l

Re: [PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-08-31 Thread Luben Tuikov
On 2021-08-31 16:56, Andrey Grodzovsky wrote: > On 2021-08-31 12:01 p.m., Luben Tuikov wrote: >> On 2021-08-31 11:23, Andrey Grodzovsky wrote: >>> On 2021-08-31 10:38 a.m., Daniel Vetter wrote: On Tue, Aug 31, 2021 at 10:20:40AM -0400, Andrey Grodzovsky wrote: > On 2021-08-31 10:03 a.m., D

Re: [PATCH] dt-bindings: display: add missing simple-framebuffer formats

2021-08-31 Thread Rob Herring
On Sat, Aug 28, 2021 at 01:02:05PM +0200, Luca Weiss wrote: > Document all formats currently present in include/linux/platform_data/ > simplefb.h > > Signed-off-by: Luca Weiss > --- > .../bindings/display/simple-framebuffer.yaml | 12 > 1 file changed, 12 insertions(+) > >

Re: [PATCH v7 10/17] drm/i915/pxp: interfaces for using protected objects

2021-08-31 Thread Rodrigo Vivi
On Fri, Aug 27, 2021 at 06:27:31PM -0700, Daniele Ceraolo Spurio wrote: > This api allow user mode to create protected buffers and to mark > contexts as making use of such objects. Only when using contexts > marked in such a way is the execution guaranteed to work as expected. > > Contexts can onl

Re: [PATCH v7 10/17] drm/i915/pxp: interfaces for using protected objects

2021-08-31 Thread Daniele Ceraolo Spurio
+} + +void intel_pxp_invalidate(struct intel_pxp *pxp) +{ + struct drm_i915_private *i915 = pxp_to_gt(pxp)->i915; + struct i915_gem_context *ctx, *cn; + + /* ban all contexts marked as protected */ + spin_lock_irq(&i915->gem.contexts.lock); + list_for_each_entry_sa

Re: [v4 4/4] dt-bindngs: display: panel: Add BOE and INX panel bindings

2021-08-31 Thread Rob Herring
On Mon, 30 Aug 2021 10:38:49 +0800, yangcong wrote: > Add documentation for boe tv110c9m-ll3, inx hj110iz-01a panel. > > Signed-off-by: yangcong > Reviewed-by: Douglas Anderson > --- > .../devicetree/bindings/display/panel/boe,tv101wum-nl6.yaml | 4 > 1 file changed, 4 insertions(+) >

Re: [PATCH 1/2] drm: Update MST First Link Slot Information Based on Encoding Format

2021-08-31 Thread Lyude Paul
(I am going to try responding to this tomorrow btw. I haven't been super busy this week, but this has been a surprisingly difficult email to respond to because I need to actually need to do a deep dive some of the MST helpers tomorrow to figure out more of the specifics on why I realized we couldn'

Re: [PATCH 1/2] drm: Update MST First Link Slot Information Based on Encoding Format

2021-08-31 Thread Lyude Paul
(sorry - I just wrote a second response to your email I meant to send to your coworker Jerry Zuo! You can ignore it) On Tue, 2021-08-31 at 19:44 +, Zuo, Jerry wrote: > [AMD Official Use Only] > > > -Original Message- > > From: Lyude Paul > > Sent: August 30, 2021 4:00 PM > > To: Zuo,

Re: [PATCH 2/4] drm/dp_mst: Only create connector for connected end device

2021-08-31 Thread Lyude Paul
(I am going to try responding to this tomorrow btw. I haven't been super busy this week, but this has been a surprisingly difficult email to respond to because I need to actually need to do a deep dive some of the MST helpers tomorrow to figure out more of the specifics on why I realized we couldn'

Re: [PATCH 1/2] drm: Update MST First Link Slot Information Based on Encoding Format

2021-08-31 Thread Lyude Paul
...I meant Wayne Lin, whoops. been going through a lot of emails today 😅 On Tue, 2021-08-31 at 18:45 -0400, Lyude Paul wrote: > (sorry - I just wrote a second response to your email I meant to send to > your > coworker Jerry Zuo! You can ignore it) > > On Tue, 2021-08-31 at 19:44 +, Zuo, Jer

RE: [PATCH 1/2] drm/sched: fix the bug of time out calculation(v3)

2021-08-31 Thread Liu, Monk
[AMD Official Use Only] Ping Christian, Andrey Can we merge this patch first ? this is a standalone patch for the timer Thanks -- Monk Liu | Cloud-GPU Core team -- -Original Message- From: Monk Liu Sent

Re: [PATCH 1/2] drm/sched: fix the bug of time out calculation(v3)

2021-08-31 Thread Grodzovsky, Andrey
What about removing (kthread_should_park()) ? We decided it's useless as far as I remember. Andrey From: amd-gfx on behalf of Liu, Monk Sent: 31 August 2021 20:24 To: Liu, Monk ; amd-...@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Subject: RE:

[PATCH 1/2] drm/sched: fix the bug of time out calculation(v4)

2021-08-31 Thread Monk Liu
issue: in cleanup_job the cancle_delayed_work will cancel a TO timer even the its corresponding job is still running. fix: do not cancel the timer in cleanup_job, instead do the cancelling only when the heading job is signaled, and if there is a "next" job we start_timeout again. v2: further clea

[PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-08-31 Thread Monk Liu
tested-by: jingwen chen Signed-off-by: Monk Liu Signed-off-by: jingwen chen --- drivers/gpu/drm/scheduler/sched_main.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c i

RE: [PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-08-31 Thread Liu, Monk
[AMD Official Use Only] >> This is a __ function, i.e. considered internal, and it's lockless atomic, >> i.e. unordered. And you're not explaining why this works. It's not a traditional habit from what I can see that put explain in code, but we can do that in mails , We want to park the schedul

RE: [PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-08-31 Thread Liu, Monk
[AMD Official Use Only] >> Also why don't we reuse the function drivers already have to stop a >> scheduler thread? We seem to have two kthread_park now, that's probably one >> too much. Are you referring to drm_sched_stop ? That's different, we don't need the logic from it, see that it go thr

[PATCH v2] fbmem: don't allow too huge resolutions

2021-08-31 Thread Tetsuo Handa
syzbot is reporting page fault at vga16fb_fillrect() [1], for vga16fb_check_var() is failing to detect multiplication overflow. if (vxres * vyres > maxmem) { vyres = maxmem / vxres; if (vyres < yres) return -ENOMEM; } Since no module would accept too huge resolutions where multi

[diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-08-31 Thread Liu, Monk
[AMD Official Use Only] Hi Daniel/Christian/Andrey It looks the voice from you three are spread over those email floods to me, the feature we are working on (diagnostic TDR scheme) is pending there for more than 6 month (we started it from feb 2021). Honestly speaking the email ways that we ar

RE: [PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-08-31 Thread Liu, Monk
[AMD Official Use Only] Okay, I will reprepare this patch Thanks -- Monk Liu | Cloud-GPU Core team -- -Original Message- From: Daniel Vetter Sent: Tuesday, August 31, 2021 9:02 PM To: Liu, Monk Cc: amd-.

RE: [PATCH] drm/sched: fix the bug of time out calculation(v3)

2021-08-31 Thread Liu, Monk
[AMD Official Use Only] That' really matter in practice, when two jobs from different process scheduled to the ring close to each other, if we don't discriminate A from B then B will be considered a bad job due to A's timeout, which will force B's process to exit (e.g.: X server) Thanks

RE: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-08-31 Thread Liu, Monk
[AMD Official Use Only] In the previous discussion, you guys stated that we should drop the "kthread_should_park" in cleanup_job. @@ -676,15 +676,6 @@ drm_sched_get_cleanup_job(struct drm_gpu_scheduler *sched) { struct drm_sched_job *job, *next; - /* -* Don't destroy jobs

[PATCH 1/7] drm/i915: Do not define vma on stack

2021-08-31 Thread John . C . Harrison
From: Venkata Sandeep Dhanalakota Defining vma on stack can cause stack overflow, if vma gets populated with new fields. Cc: Daniele Ceraolo Spurio Cc: Tvrtko Ursulin Signed-off-by: Venkata Sandeep Dhanalakota Signed-off-by: Matthew Brost --- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 18 ++

[PATCH 6/7] Me: Workaround LMEM blow up

2021-08-31 Thread John . C . Harrison
From: Matthew Brost --- drivers/gpu/drm/i915/i915_gpu_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index b9f66dbd46bb..a61e23deeb00 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.c +++

[PATCH 7/7] Me: Dump GuC log to dmesg on SLPC load failure

2021-08-31 Thread John . C . Harrison
From: Matthew Brost --- drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c | 3 + drivers/gpu/drm/i915/i915_gpu_error.c | 97 + drivers/gpu/drm/i915/i915_gpu_error.h | 3 + 3 files changed, 103 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_guc_slpc.c b/

[PATCH 5/7] Me: Allow relocs on DG1 for CI

2021-08-31 Thread John . C . Harrison
From: Matthew Brost --- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c index 8290bdadd167..a530a65e6f2a 100644 --- a/drivers/gpu/dr

[PATCH 4/7] drm/i915/guc: Enable GuC submission by default on DG1

2021-08-31 Thread John . C . Harrison
From: Matthew Brost Enable GuC submission by default on DG1 Signed-off-by: Matthew Brost --- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc.c b/drivers/gpu/drm/i915/gt/uc/intel_uc.c index b104fb7607

[PATCH 3/7] drm/i915/guc: Add DG1 GuC / HuC firmware defs

2021-08-31 Thread John . C . Harrison
From: Matthew Brost Add DG1 GuC / HuC firmware defs Signed-off-by: Matthew Brost --- drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c b/drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c index f8cb00ffb506..a685d563df7

[PATCH 2/7] drm/i915/guc: put all guc objects in lmem when available

2021-08-31 Thread John . C . Harrison
From: Daniele Ceraolo Spurio The firmware binary has to be loaded from lmem and the recommendation is to put all other objects in there as well. Note that we don't fall back to system memory if the allocation in lmem fails because all objects are allocated during driver load and if we have issues

[PATCH 0/7] [CI] Enable GuC submission by default on DG1

2021-08-31 Thread John . C . Harrison
From: John Harrison Minimum set of patches to enable GuC submission on DG1 and enable it by default. A little difficult to test as IGTs do not work with DG1 due to a bunch of uAPI features being disabled (e.g. relocations, caching memory options, etc...). Hence extra patches at the end to enable

Re: [PATCH] drm/sun4i: Fix macros in sun8i_csc.h

2021-08-31 Thread Chen-Yu Tsai
On Wed, Sep 1, 2021 at 2:48 AM Jernej Skrabec wrote: > > Macros SUN8I_CSC_CTRL() and SUN8I_CSC_COEFF() don't follow usual > recommendation of having arguments enclosed in parenthesis. While that > didn't change anything for quiet sometime, it actually become important

Re: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-08-31 Thread Andrey Grodzovsky
I will answer everything here - On 2021-08-31 9:58 p.m., Liu, Monk wrote: [AMD Official Use Only] In the previous discussion, you guys stated that we should drop the “kthread_should_park” in cleanup_job. @@ -676,15 +676,6 @@ drm_sched_get_cleanup_job(struct drm_gpu_scheduler *sched) {  

Re: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-08-31 Thread Jingwen Chen
On Wed Sep 01, 2021 at 12:04:47AM -0400, Andrey Grodzovsky wrote: > I will answer everything here - > > On 2021-08-31 9:58 p.m., Liu, Monk wrote: > > > [AMD Official Use Only] > > > > In the previous discussion, you guys stated that we should drop the > “kthread_should_park”

Re: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-08-31 Thread Andrey Grodzovsky
On 2021-09-01 12:25 a.m., Jingwen Chen wrote: On Wed Sep 01, 2021 at 12:04:47AM -0400, Andrey Grodzovsky wrote: I will answer everything here - On 2021-08-31 9:58 p.m., Liu, Monk wrote: [AMD Official Use Only] In the previous discussion, you guys stated that we should dr

Re: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-08-31 Thread Jingwen Chen
On Wed Sep 01, 2021 at 12:28:59AM -0400, Andrey Grodzovsky wrote: > > On 2021-09-01 12:25 a.m., Jingwen Chen wrote: > > On Wed Sep 01, 2021 at 12:04:47AM -0400, Andrey Grodzovsky wrote: > > > I will answer everything here - > > > > > > On 2021-08-31 9:58 p.m., Liu, Monk wrote: > > > > > > > > >

Re: [diagnostic TDR mode patches] unify our solution opinions/suggestions in one thread

2021-08-31 Thread Andrey Grodzovsky
On 2021-09-01 12:40 a.m., Jingwen Chen wrote: On Wed Sep 01, 2021 at 12:28:59AM -0400, Andrey Grodzovsky wrote: On 2021-09-01 12:25 a.m., Jingwen Chen wrote: On Wed Sep 01, 2021 at 12:04:47AM -0400, Andrey Grodzovsky wrote: I will answer everything here - On 2021-08-31 9:58 p.m., Liu, Monk

Re: [PATCH v2 1/2] drm/msm/dsi: Use "ref" fw clock instead of global name for VCO parent

2021-08-31 Thread Stephen Boyd
Quoting Marijn Suijten (2021-08-30 16:10:26) > > I'm 95% sure this shouldn't cause any problems given current DTs and > their history, but that's probably not enough. This might also impact > DTs that have not yet been upstreamed, but afaik the general stance is > to not care and actually serve a

Re: [PATCH v2 2/2] clk: qcom: gcc-sdm660: Remove transient global "xo" clock

2021-08-31 Thread Stephen Boyd
Quoting Marijn Suijten (2021-08-30 11:24:45) > The DSI PHY/PLL was relying on a global "xo" clock to be found, but the > real clock is named "xo_board" in the DT. The standard nowadays is to > never use global clock names anymore but require the firmware (DT) to > provide every clock binding expli

Re: [PATCH 1/2] drm/sched: fix the bug of time out calculation(v4)

2021-08-31 Thread Christian König
Am 01.09.21 um 02:46 schrieb Monk Liu: issue: in cleanup_job the cancle_delayed_work will cancel a TO timer even the its corresponding job is still running. fix: do not cancel the timer in cleanup_job, instead do the cancelling only when the heading job is signaled, and if there is a "next" job

Re: [PATCH] drm/imx: imx-tve: Make use of the helper function devm_platform_ioremap_resource()

2021-08-31 Thread Philipp Zabel
Hi Cai, On Tue, 2021-08-31 at 21:55 +0800, Cai Huoqing wrote: > Use the devm_platform_ioremap_resource() helper instead of > calling platform_get_resource() and devm_ioremap_resource() > separately > > Signed-off-by: Cai Huoqing Thank you, applied to imx-drm/next. regards Philipp

<    1   2