Re: [git pull] drm fixes for 5.17-rc8/final

2022-03-10 Thread Thorsten Leemhuis
On 11.03.22 06:15, Dave Airlie wrote: > > As expected at this stage its pretty quiet, one sun4i mixer fix and > one i915 display flicker fix. > > Thanks, > Dave. > > drm-fixes-2022-03-11: > drm fixes for v5.17-rc8/final > > i915: > - psr fix screen flicker > > sun4i: > - mixer format fix. >

Re: [PATCH 1/6] drm: allow real encoder to be passed for drm_writeback_connector

2022-03-10 Thread Dmitry Baryshkov
On Fri, 11 Mar 2022 at 04:50, Abhinav Kumar wrote: > > For some vendor driver implementations, display hardware can > be shared between the encoder used for writeback and the physical > display. > > In addition resources such as clocks and interrupts can > also be shared between writeback and the

Re: [PATCH] video: fbdev: kyro: make read-only array ODValues static const

2022-03-10 Thread Helge Deller
On 3/8/22 21:23, Colin Ian King wrote: > Don't populate the read-only array ODValues on the stack but > instead make it static const. Also makes the object code a little > smaller. > > Signed-off-by: Colin Ian King > > --- > drivers/video/fbdev/kyro/STG4000InitDevice.c | 2 +- > 1 file changed,

Re: [PATCH 5/6] drm/rcar_du: use drm_encoder pointer for drm_writeback_connector

2022-03-10 Thread Laurent Pinchart
Hi Abhinav Thank you for the patch. On Thu, Mar 10, 2022 at 05:49:59PM -0800, Abhinav Kumar wrote: > Make changes to rcar_du driver to start using drm_encoder pointer > for drm_writeback_connector. > > Co-developed-by: Kandpal Suraj > Signed-off-by: Abhinav Kumar > --- >

Re: [PATCH] video: fbdev: fix warning comparing pointer to 0

2022-03-10 Thread Helge Deller
On 3/11/22 03:56, Haowen Bai wrote: > Fix the following coccicheck warning: > drivers/video/fbdev/offb.c:415:13-14: WARNING comparing pointer to 0 > > Signed-off-by: Haowen Bai applied. Thanks! Helge > --- > drivers/video/fbdev/offb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH] drm: drm_bufs: Error out if 'dev->agp' is a null pointer

2022-03-10 Thread Zheyu Ma
The user program can control the 'drm_buf_desc::flags' via ioctl system call and enter the function drm_legacy_addbufs_agp(). If the driver doesn't initialize the agp resources, the driver will cause a null pointer dereference. The following log reveals it: general protection fault, probably

[PATCH 1/2] drm/i915/sseu: Don't overallocate subslice storage

2022-03-10 Thread Matt Roper
Xe_HP removed "slice" as a first-class unit in the hardware design. Instead we now have a single pool of subslices (which are now referred to as "DSS") that different hardware units have different ways of grouping ("compute slices," "geometry slices," etc.). For the purposes of topology

[PATCH 2/2] drm/i915/xehp: Update topology dumps for Xe_HP

2022-03-10 Thread Matt Roper
When running on Xe_HP or beyond, let's use an updated format for describing topology in our error state dumps and debugfs to give a more accurate view of the hardware: - Just report DSS directly without the legacy "slice0" output that's no longer meaningful. - Indicate whether each DSS is

Re: [PATCH v3 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-03-10 Thread Kieran Bingham
Hi Doug, Quoting Doug Anderson (2022-03-10 23:10:12) > Hi, > > On Thu, Mar 10, 2022 at 7:22 AM Kieran Bingham > wrote: > > > > @@ -1135,6 +1161,36 @@ static void ti_sn_bridge_atomic_post_disable(struct > > drm_bridge *bridge, > > pm_runtime_put_sync(pdata->dev); > > } > > > > +static

Re: [PATCH v3 0/3] drm/bridge: ti-sn65dsi86: Support non-eDP DisplayPort connectors

2022-03-10 Thread Kieran Bingham
Hi Doug, Sam, Quoting Doug Anderson (2022-03-10 23:21:38) > Hi, > > On Thu, Mar 10, 2022 at 7:22 AM Kieran Bingham > wrote: > > > > Implement support for non eDP connectors on the TI-SN65DSI86 bridge, and > > provide IRQ based hotplug detect to identify when the connector is > > present. > > >

Re: [git pull] drm fixes for 5.17-rc8/final

2022-03-10 Thread pr-tracker-bot
The pull request you sent on Fri, 11 Mar 2022 15:15:09 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2022-03-11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/79b00034e9dcd2b065c1665c8b42f62b6b80a9be Thank you! -- Deet-doot-dot, I am a bot.

[git pull] drm fixes for 5.17-rc8/final

2022-03-10 Thread Dave Airlie
Hi Linus, As expected at this stage its pretty quiet, one sun4i mixer fix and one i915 display flicker fix. Thanks, Dave. drm-fixes-2022-03-11: drm fixes for v5.17-rc8/final i915: - psr fix screen flicker sun4i: - mixer format fix. The following changes since commit

[PATCH 5/5] dyndbg: show both old and new in change-info

2022-03-10 Thread Jim Cromie
print old -> new flag values in the info("change") message. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index b15a9c715e5b..cceac8ebbacd 100644 ---

[PATCH 4/5] dyndbg: drop EXPORTed dynamic_debug_exec_queries

2022-03-10 Thread Jim Cromie
This exported fn is effectively obsoleted by Commit:HEAD~2, so remove it. Its intent was to allow drm.debug to use the exported function to implement its drm.debug bitmap api using dynamic_debug. Instead, HEAD~2 implements the bitmap inside dyndbg, using the internal fn that the export wraps.

[PATCH 1/5] dyndbg: fix static_branch manipulation

2022-03-10 Thread Jim Cromie
In https://lore.kernel.org/lkml/20211209150910.ga23...@axis.com/ Vincent's patch commented on, and worked around, a bug toggling static_branch's, when a 2nd PRINTK-ish flag was added. The bug results in a premature static_branch_disable when the 1st of 2 flags was disabled. The cited commit

[PATCH 2/5] dyndbg: add class_id field and query support

2022-03-10 Thread Jim Cromie
DRM defines/uses 10 enum drm_debug_category's to create exclusive classes of debug messages. To support this directly in dynamic-debug, add the following: - struct _ddebug.class_id:4 - 4 bits is enough - define _DPRINTK_SITE_UNCLASSED 15 - see below and the query support: - struct

[PATCH 3/5] dyndbg: add DEFINE_DYNAMIC_DEBUG_CLASSBITS macro

2022-03-10 Thread Jim Cromie
DEFINE_DYNAMIC_DEBUG_CLASSBITS(fsname, var, bitmap_desc, classes..) allows users to create a drm.debug style (bitmap) sysfs interface, to control sets of pr_debug's according to their .class_id's This wraps existing "class" keyword and behavior: bash-5.1# echo < /proc/dynamic_debug/control

[PATCH 0/5] dyndbg add exclusive class support

2022-03-10 Thread Jim Cromie
Hi Greg, Jason, Please consider these for char/misc or linux-next/soon/mumble. This patchset adds exclusive class support to dyndbg, allowing it to directly represent drm's debug_category. It is the dyndbg half of: https://lore.kernel.org/lkml/20220217034829.64395-1-jim.cro...@gmail.com/ The

Re: [PATCH] drm/bridge: anx7625: Fix not correct get property counts

2022-03-10 Thread Xin Ji
On Thu, Mar 10, 2022 at 07:53:59PM +0100, Sam Ravnborg wrote: > Hi Xin, > > On Thu, Mar 10, 2022 at 05:16:53PM +0800, Xin Ji wrote: > > The property length which returns from "of_get_property", divided by > > sizeof(int) to get the total property counts. > > > > Fixes: fd0310b6fe7d ("drm/bridge:

[PATCH 6/6] drm/malidp: use drm_encoder pointer for drm_writeback_connector

2022-03-10 Thread Abhinav Kumar
Make changes to malidp driver to start using drm_encoder pointer for drm_writeback_connector. Co-developed-by: Kandpal Suraj Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/arm/malidp_mw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/arm/malidp_mw.c

[PATCH 3/6] drm/vkms: use drm_encoder pointer for drm_writeback_connector

2022-03-10 Thread Abhinav Kumar
Make changes to vkms driver to start using drm_encoder pointer for drm_writeback_connector. Co-developed-by: Kandpal Suraj Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/vkms/vkms_writeback.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 5/6] drm/rcar_du: use drm_encoder pointer for drm_writeback_connector

2022-03-10 Thread Abhinav Kumar
Make changes to rcar_du driver to start using drm_encoder pointer for drm_writeback_connector. Co-developed-by: Kandpal Suraj Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/rcar-du/rcar_du_writeback.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 4/6] drm/vc4: use drm_encoder pointer for drm_writeback_connector

2022-03-10 Thread Abhinav Kumar
Make changes to vc4 driver to start using drm_encoder pointer for drm_writeback_connector. Co-developed-by: Kandpal Suraj Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/vc4/vc4_txp.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git

[PATCH 2/6] drm/komeda: use drm_encoder pointer for drm_writeback_connector

2022-03-10 Thread Abhinav Kumar
Make changes to komeda driver to start using drm_encoder pointer for drm_writeback_connector. Co-developed-by: Kandpal Suraj Signed-off-by: Abhinav Kumar --- drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 1/6] drm: allow real encoder to be passed for drm_writeback_connector

2022-03-10 Thread Abhinav Kumar
For some vendor driver implementations, display hardware can be shared between the encoder used for writeback and the physical display. In addition resources such as clocks and interrupts can also be shared between writeback and the real encoder. To accommodate such vendor drivers and hardware,

[PATCH 0/6] Allow drm_writeback_connector to accept pointer to drm_encoder

2022-03-10 Thread Abhinav Kumar
There are some vendor drivers for which the writeback encoder shares hardware resources such as clocks and interrupts with the rest of the display pipeline. In addition, there can be use-cases where the writeback encoder could be a shared encoder between the physical display path and the writeback

[linux-next:master] BUILD REGRESSION 71941773e143369a73c9c4a3b62fbb60736a1182

2022-03-10 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 71941773e143369a73c9c4a3b62fbb60736a1182 Add linux-next specific files for 20220310 Error/Warning reports: https://lore.kernel.org/linux-doc/202202240704.pqd40a9l-...@intel.com https

[v6 5/5] drm/edid: check for HF-SCDB block

2022-03-10 Thread Lee Shawn C
Find HF-SCDB information in CEA extensions block. And retrieve Max_TMDS_Character_Rate that support by sink device. v2: HF-SCDB and HF-VSDBS carry the same SCDS data. Reuse drm_parse_hdmi_forum_vsdb() to parse this packet. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx

[v6 4/5] drm/edid: parse HF-EEODB CEA extension block

2022-03-10 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C ---

[v6 2/5] drm/edid: parse multiple CEA extension block

2022-03-10 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. v2: split prvious patch to two. And do CEA block parsing in this one. v3: simplify this patch based on previous change. v4: refine patch v3. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc:

[v6 3/5] drm/edid: read HF-EEODB ext block

2022-03-10 Thread Lee Shawn C
According to HDMI 2.1 spec. "The HDMI Forum EDID Extension Override Data Block (HF-EEODB) is utilized by Sink Devices to provide an alternate method to indicate an EDID Extension Block count larger than 1, while avoiding the need to present a VESA Block Map in the first E-EDID Extension Block."

[v6 1/5] drm/edid: seek for available CEA block from specific EDID block index

2022-03-10 Thread Lee Shawn C
drm_find_cea_extension() always look for a top level CEA block. Pass ext_index from caller then this function to search next available CEA ext block from a specific EDID block pointer. v2: save proper extension block index if CTA data information was found in DispalyID block. Cc: Jani Nikula

[v6 0/5] enhanced edid driver compatibility

2022-03-10 Thread Lee Shawn C
Support to parse multiple CEA extension blocks and HF-EEODB to extend drm edid driver's capability. v4: add one more patch to support HF-SCDB v5: HF-SCDB and HF-VSDBS carry the same SCDS data. Reuse drm_parse_hdmi_forum_vsdb() to parse this packet. v6: save proper extension block index if CTA

[PATCH v4 0/1] Fix i915 error_state_read ptr use

2022-03-10 Thread Alan Previn
Fix pointer offset usage in error_state_read when there is no i915_gpu_coredump but buf offset is non-zero. This is the 2nd rev of this series. Changes from prior revs: v4: - Mistake on v3, really added the missing fixme this time. v3: - Add a fixme comment about handling partial

[PATCH -next] drm/amd/pm: clean up some inconsistent indenting

2022-03-10 Thread Yang Li
Eliminate the follow smatch warning: drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c:174 __smu_cmn_reg_print_error() warn: inconsistent indenting Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c | 22 +++--- 1 file changed, 11

[PATCH v3 0/1] Fix i915 error_state_read ptr use

2022-03-10 Thread Alan Previn
Fix pointer offset usage in error_state_read when there is no i915_gpu_coredump but buf offset is non-zero. This is the 2nd rev of this series. Changes from prior revs: v3: - Add a fixme comment about handling partial inconsistent sysfs reads as per review comment from John Harrison.

Re: [PATCH v2 0/2] drm/bridge: analogix_dp: Self-refresh state machine fixes

2022-03-10 Thread Brian Norris
On Mon, Feb 28, 2022 at 12:25 PM Brian Norris wrote: > > Hi, > > I've been investigating several eDP issues on a Rockchip RK3399 system > and have two proposed bugfixes. RK3399 has two CRTCs, either of which > can be used for eDP output. For both fixes, we have bugs due to the > relationship

[PATCH 3/3] drm/msm/gpu: Remove mutex from wait_event condition

2022-03-10 Thread Rob Clark
From: Rob Clark The mutex wasn't really protecting anything before. Before the previous patch we could still be racing with the scheduler's kthread, as that is not necessarily frozen yet. Now that we've parked the sched threads, the only race is with jobs retiring, and that is harmless, ie.

[PATCH 2/3] drm/msm/gpu: Park scheduler threads for system suspend

2022-03-10 Thread Rob Clark
From: Rob Clark In the system suspend path, we don't want to be racing with the scheduler kthreads pushing additional queued up jobs to the hw queue (ringbuffer). So park them first. While we are at it, move the wait for active jobs to complete into the new system- suspend path.

[PATCH 1/3] drm/msm/gpu: Rename runtime suspend/resume functions

2022-03-10 Thread Rob Clark
From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/adreno_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/adreno_device.c b/drivers/gpu/drm/msm/adreno/adreno_device.c index 89cfd84760d7..8859834b51b8 100644 ---

[PATCH 0/3] drm/msm/gpu: More system suspend fixes

2022-03-10 Thread Rob Clark
From: Rob Clark In particular, we want to park the scheduler threads so that suspend is not racing with the kthread pushing more jobs to the driver. Rob Clark (3): drm/msm/gpu: Rename runtime suspend/resume functions drm/msm/gpu: Park scheduler threads for system suspend drm/msm/gpu:

Re: [PATCH v3 0/3] drm/bridge: ti-sn65dsi86: Support non-eDP DisplayPort connectors

2022-03-10 Thread Doug Anderson
Hi, On Thu, Mar 10, 2022 at 7:22 AM Kieran Bingham wrote: > > Implement support for non eDP connectors on the TI-SN65DSI86 bridge, and > provide IRQ based hotplug detect to identify when the connector is > present. > > no-hpd is extended to be the default behaviour for non DisplayPort >

Re: [PATCH v3 1/3] drm/bridge: ti-sn65dsi86: Support DisplayPort (non-eDP) mode

2022-03-10 Thread Doug Anderson
Hi, On Thu, Mar 10, 2022 at 7:22 AM Kieran Bingham wrote: > > From: Laurent Pinchart > > Despite the SN65DSI86 being an eDP bridge, on some systems its output is > routed to a DisplayPort connector. Enable DisplayPort mode when the next > component in the display pipeline is detected as a

Re: [PATCH v3 2/3] drm/bridge: ti-sn65dsi86: Implement bridge connector operations

2022-03-10 Thread Doug Anderson
Hi, On Thu, Mar 10, 2022 at 7:22 AM Kieran Bingham wrote: > > From: Laurent Pinchart > > Implement the bridge connector-related .get_edid() operation, and report > the related bridge capabilities and type. > > Signed-off-by: Laurent Pinchart > Signed-off-by: Kieran Bingham > --- > Changes

Re: [PATCH v3 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-03-10 Thread Doug Anderson
Hi, On Thu, Mar 10, 2022 at 7:22 AM Kieran Bingham wrote: > > @@ -1135,6 +1161,36 @@ static void ti_sn_bridge_atomic_post_disable(struct > drm_bridge *bridge, > pm_runtime_put_sync(pdata->dev); > } > > +static enum drm_connector_status ti_sn_bridge_detect(struct drm_bridge > *bridge)

Re: [PATCH v2 4/4] dt-bindings: display/panel: Add Leadtek ltk035c5444t

2022-03-10 Thread Rob Herring
On Tue, Mar 08, 2022 at 02:06:43PM +0100, Christophe Branchereau wrote: > Add binding for the leadtek ltk035c5444t, which is a 640x480 > mipi-dbi over spi / 24-bit RGB panel based on the newvision > NV03052C chipset. > > It is found in the Anbernic RG350M mips handheld. > > Signed-off-by:

Re: [PATCH v1 1/3] mm: split vm_normal_pages for LRU and non-LRU handling

2022-03-10 Thread Felix Kuehling
Am 2022-03-10 um 14:25 schrieb Matthew Wilcox: On Thu, Mar 10, 2022 at 11:26:31AM -0600, Alex Sierra wrote: @@ -606,7 +606,7 @@ static void print_bad_pte(struct vm_area_struct *vma, unsigned long addr, * PFNMAP mappings in order to support COWable mappings. * */ -struct page

Re: [PATCH v1 0/5] Add memory shrinker to VirtIO-GPU DRM driver

2022-03-10 Thread Dmitry Osipenko
On 3/10/22 22:02, Thomas Zimmermann wrote: > Hi > > Am 09.03.22 um 23:25 schrieb Dmitry Osipenko: >>> >>> The reason for this work is to keep GEM shmem pages mapped and allocated >>> even while the BO is neither mapped nor pinned.  As it is now, GEM SHMEM >>> creates and releases pages on each

Re: [Intel-gfx] [PATCH v3 4/4] drm/i915: Improve long running OCL w/a for GuC submission

2022-03-10 Thread John Harrison
On 3/10/2022 01:27, Tvrtko Ursulin wrote: On 09/03/2022 21:16, John Harrison wrote: On 3/8/2022 01:41, Tvrtko Ursulin wrote: On 03/03/2022 22:37, john.c.harri...@intel.com wrote: From: John Harrison A workaround was added to the driver to allow OpenCL workloads to run 'forever' by disabling

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Sharma, Shashank
On 3/10/2022 8:56 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 11:44 AM Sharma, Shashank wrote: On 3/10/2022 8:35 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 11:14 AM Sharma, Shashank wrote: On 3/10/2022 7:33 PM, Abhinav Kumar wrote: On 3/10/2022 9:40 AM, Rob Clark wrote: On

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Rob Clark
On Thu, Mar 10, 2022 at 11:44 AM Sharma, Shashank wrote: > > > > On 3/10/2022 8:35 PM, Rob Clark wrote: > > On Thu, Mar 10, 2022 at 11:14 AM Sharma, Shashank > > wrote: > >> > >> > >> > >> On 3/10/2022 7:33 PM, Abhinav Kumar wrote: > >>> > >>> > >>> On 3/10/2022 9:40 AM, Rob Clark wrote: >

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Sharma, Shashank
On 3/10/2022 8:35 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 11:14 AM Sharma, Shashank wrote: On 3/10/2022 7:33 PM, Abhinav Kumar wrote: On 3/10/2022 9:40 AM, Rob Clark wrote: On Thu, Mar 10, 2022 at 9:19 AM Sharma, Shashank wrote: On 3/10/2022 6:10 PM, Rob Clark wrote: On

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Rob Clark
On Thu, Mar 10, 2022 at 11:14 AM Sharma, Shashank wrote: > > > > On 3/10/2022 7:33 PM, Abhinav Kumar wrote: > > > > > > On 3/10/2022 9:40 AM, Rob Clark wrote: > >> On Thu, Mar 10, 2022 at 9:19 AM Sharma, Shashank > >> wrote: > >>> > >>> > >>> > >>> On 3/10/2022 6:10 PM, Rob Clark wrote: >

[PULL] drm-misc-fixes

2022-03-10 Thread Thomas Zimmermann
Hi Dave and Daniel, here's the PR for drm-misc-fixes for this week. Best regards Thomas drm-misc-fixes-2022-03-10: * drm/sun4i: Fix P010 and P210 format numbers The following changes since commit 62929726ef0ec72cbbe9440c5d125d4278b99894: drm/vrr: Set VRR capable prop only if it is attached

Re: [PATCH v1 1/3] mm: split vm_normal_pages for LRU and non-LRU handling

2022-03-10 Thread Matthew Wilcox
On Thu, Mar 10, 2022 at 11:26:31AM -0600, Alex Sierra wrote: > @@ -606,7 +606,7 @@ static void print_bad_pte(struct vm_area_struct *vma, > unsigned long addr, > * PFNMAP mappings in order to support COWable mappings. > * > */ > -struct page *vm_normal_page(struct vm_area_struct *vma,

Re: [v3,4/5] fbdev: Improve performance of cfb_imageblit()

2022-03-10 Thread Geert Uytterhoeven
Hi Thomas, On Thu, Mar 10, 2022 at 8:22 PM Thomas Zimmermann wrote: > Am 09.03.22 um 11:39 schrieb Geert Uytterhoeven: > > On Wed, Mar 9, 2022 at 10:22 AM Marek Szyprowski > > wrote: > >> On 09.03.2022 09:22, Thomas Zimmermann wrote: > >>> Am 08.03.22 um 23:52 schrieb Marek Szyprowski: >

Re: [v3,4/5] fbdev: Improve performance of cfb_imageblit()

2022-03-10 Thread Thomas Zimmermann
Hi Am 09.03.22 um 11:39 schrieb Geert Uytterhoeven: Hi Marek, On Wed, Mar 9, 2022 at 10:22 AM Marek Szyprowski wrote: On 09.03.2022 09:22, Thomas Zimmermann wrote: Am 08.03.22 um 23:52 schrieb Marek Szyprowski: On 23.02.2022 20:38, Thomas Zimmermann wrote: Improve the performance of

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Sharma, Shashank
On 3/10/2022 7:33 PM, Abhinav Kumar wrote: On 3/10/2022 9:40 AM, Rob Clark wrote: On Thu, Mar 10, 2022 at 9:19 AM Sharma, Shashank wrote: On 3/10/2022 6:10 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 8:21 AM Sharma, Shashank wrote: On 3/10/2022 4:24 PM, Rob Clark wrote: On

Re: [PATCH v1 0/5] Add memory shrinker to VirtIO-GPU DRM driver

2022-03-10 Thread Thomas Zimmermann
Hi Am 09.03.22 um 23:25 schrieb Dmitry Osipenko: The reason for this work is to keep GEM shmem pages mapped and allocated even while the BO is neither mapped nor pinned.  As it is now, GEM SHMEM creates and releases pages on each pin and unpin, and maps and unmaps memory ranges on each vmap

Re: [PATCH] drm/bridge: anx7625: Fix not correct get property counts

2022-03-10 Thread Sam Ravnborg
Hi Xin, On Thu, Mar 10, 2022 at 05:16:53PM +0800, Xin Ji wrote: > The property length which returns from "of_get_property", divided by > sizeof(int) to get the total property counts. > > Fixes: fd0310b6fe7d ("drm/bridge: anx7625: add MIPI DPI input feature") > > Signed-off-by: Xin Ji > --- >

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Abhinav Kumar
On 3/10/2022 9:40 AM, Rob Clark wrote: On Thu, Mar 10, 2022 at 9:19 AM Sharma, Shashank wrote: On 3/10/2022 6:10 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 8:21 AM Sharma, Shashank wrote: On 3/10/2022 4:24 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 1:55 AM Christian König

Re: [PATCH] dt-bindings: gpu: mali-bifrost: Document RZ/V2L SoC

2022-03-10 Thread Rob Herring
On Tue, 08 Mar 2022 21:15:43 +, Lad Prabhakar wrote: > The Renesas RZ/V2L SoC (a.k.a R9A07G054) has a Bifrost Mali-G31 GPU, > add a compatible string for it. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das > --- > Documentation/devicetree/bindings/gpu/arm,mali-bifrost.yaml | 5

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Rob Clark
On Thu, Mar 10, 2022 at 9:19 AM Sharma, Shashank wrote: > > > > On 3/10/2022 6:10 PM, Rob Clark wrote: > > On Thu, Mar 10, 2022 at 8:21 AM Sharma, Shashank > > wrote: > >> > >> > >> > >> On 3/10/2022 4:24 PM, Rob Clark wrote: > >>> On Thu, Mar 10, 2022 at 1:55 AM Christian König > >>> wrote: >

Re: [PATCH v3 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-03-10 Thread Kieran Bingham
Hi Laurent Quoting Laurent Pinchart (2022-03-10 16:42:48) > Hi Kieran, > > Thank you for the patch. > > On Thu, Mar 10, 2022 at 03:22:27PM +, Kieran Bingham wrote: > > When the SN65DSI86 is used in DisplayPort mode, its output is likely > > routed to a DisplayPort connector, which can

[PATCH v1 1/3] mm: split vm_normal_pages for LRU and non-LRU handling

2022-03-10 Thread Alex Sierra
DEVICE_COHERENT pages introduce a subtle distinction in the way "normal" pages can be used by various callers throughout the kernel. They behave like normal pages for purposes of mapping in CPU page tables, and for COW. But they do not support LRU lists, NUMA migration or THP. Therefore we split

[PATCH v1 3/3] tools: add selftests to hmm for COW in device memory

2022-03-10 Thread Alex Sierra
The objective is to test device migration mechanism in pages marked as COW, for private and coherent device type. In case of writing to COW private page(s), a page fault will migrate pages back to system memory first. Then, these pages will be duplicated. In case of COW device coherent type, pages

[PATCH v1 2/3] tools: add more gup configs to hmm_gup selftests

2022-03-10 Thread Alex Sierra
Test device pages with get_user_pages and get_user_pages_fast. The motivation is to test device coherent type pages in the gup and gup fast paths, after vm_normal_pages was split into LRU and non-LRU handled. Signed-off-by: Alex Sierra Acked-by: Felix Kuehling ---

[PATCH v1 0/3] split vm_normal_pages for LRU and non-LRU handling

2022-03-10 Thread Alex Sierra
DEVICE_COHERENT pages introduce a subtle distinction in the way "normal" pages can be used by various callers throughout the kernel. They behave like normal pages for purposes of mapping in CPU page tables, and for COW. But they do not support LRU lists, NUMA migration or THP. Therefore we split

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Sharma, Shashank
On 3/10/2022 6:10 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 8:21 AM Sharma, Shashank wrote: On 3/10/2022 4:24 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 1:55 AM Christian König wrote: Am 09.03.22 um 19:12 schrieb Rob Clark: On Tue, Mar 8, 2022 at 11:40 PM Shashank Sharma

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Rob Clark
On Thu, Mar 10, 2022 at 8:27 AM Andrey Grodzovsky wrote: > > > On 2022-03-10 11:21, Sharma, Shashank wrote: > > > > > > On 3/10/2022 4:24 PM, Rob Clark wrote: > >> On Thu, Mar 10, 2022 at 1:55 AM Christian König > >> wrote: > >>> > >>> > >>> > >>> Am 09.03.22 um 19:12 schrieb Rob Clark: >

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Rob Clark
On Thu, Mar 10, 2022 at 8:21 AM Sharma, Shashank wrote: > > > > On 3/10/2022 4:24 PM, Rob Clark wrote: > > On Thu, Mar 10, 2022 at 1:55 AM Christian König > > wrote: > >> > >> > >> > >> Am 09.03.22 um 19:12 schrieb Rob Clark: > >>> On Tue, Mar 8, 2022 at 11:40 PM Shashank Sharma > >>> wrote: >

RE: [PATCH 1/2] dt-bindings: drm: bridge: adi,adv7533: Document adi,disable-lanes-override property

2022-03-10 Thread Biju Das
Hi Laurent, Thanks for the feedback. > Subject: Re: [PATCH 1/2] dt-bindings: drm: bridge: adi,adv7533: Document > adi,disable-lanes-override property > > Hi Biju, > > Thank you for the patch. > > On Wed, Mar 09, 2022 at 03:11:08PM +, Biju Das wrote: > > On Renesas RZ/{G2L,V2L} platforms

Re: [PATCH v3 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-03-10 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thu, Mar 10, 2022 at 03:22:27PM +, Kieran Bingham wrote: > When the SN65DSI86 is used in DisplayPort mode, its output is likely > routed to a DisplayPort connector, which can benefit from hotplug > detection. Support it in such cases, with polling mode

Re: [PATCH 1/2] dt-bindings: drm: bridge: adi,adv7533: Document adi,disable-lanes-override property

2022-03-10 Thread Laurent Pinchart
Hi Biju, Thank you for the patch. On Wed, Mar 09, 2022 at 03:11:08PM +, Biju Das wrote: > On Renesas RZ/{G2L,V2L} platforms changing the lanes from 4 to 3 at > lower frequencies causes display instability. On such platforms, it > is better to avoid switching lanes from 4 to 3 as it needs

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Andrey Grodzovsky
On 2022-03-10 11:21, Sharma, Shashank wrote: On 3/10/2022 4:24 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 1:55 AM Christian König wrote: Am 09.03.22 um 19:12 schrieb Rob Clark: On Tue, Mar 8, 2022 at 11:40 PM Shashank Sharma wrote: From: Shashank Sharma This patch adds a new

Re: [PATCH v3 2/3] drm/bridge: ti-sn65dsi86: Implement bridge connector operations

2022-03-10 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thu, Mar 10, 2022 at 03:22:26PM +, Kieran Bingham wrote: > From: Laurent Pinchart > > Implement the bridge connector-related .get_edid() operation, and report > the related bridge capabilities and type. > > Signed-off-by: Laurent Pinchart >

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Sharma, Shashank
On 3/10/2022 4:24 PM, Rob Clark wrote: On Thu, Mar 10, 2022 at 1:55 AM Christian König wrote: Am 09.03.22 um 19:12 schrieb Rob Clark: On Tue, Mar 8, 2022 at 11:40 PM Shashank Sharma wrote: From: Shashank Sharma This patch adds a new sysfs event, which will indicate the userland

Re: [PATCH v3 1/3] drm/bridge: ti-sn65dsi86: Support DisplayPort (non-eDP) mode

2022-03-10 Thread Laurent Pinchart
Hi Kieran, Thank you for the patch. On Thu, Mar 10, 2022 at 03:22:25PM +, Kieran Bingham wrote: > From: Laurent Pinchart > > Despite the SN65DSI86 being an eDP bridge, on some systems its output is > routed to a DisplayPort connector. Enable DisplayPort mode when the next > component in

Re: [PATCH] drm: remove min_order BUG_ON check

2022-03-10 Thread Matthew Auld
On 10/03/2022 14:47, Arunpravin wrote: On 08/03/22 10:31 pm, Matthew Auld wrote: On 08/03/2022 13:59, Arunpravin wrote: On 07/03/22 10:11 pm, Matthew Auld wrote: On 07/03/2022 14:37, Arunpravin wrote: place BUG_ON(order < min_order) outside do..while loop as it fails Unigine Heaven

Re: [PATCH v3 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-03-10 Thread Kieran Bingham
Quoting Kieran Bingham (2022-03-10 15:22:27) > When the SN65DSI86 is used in DisplayPort mode, its output is likely > routed to a DisplayPort connector, which can benefit from hotplug > detection. Support it in such cases, with polling mode only for now. > > The implementation is limited to the

Re: [PATCH v2 1/2] drm: Add GPU reset sysfs event

2022-03-10 Thread Rob Clark
On Thu, Mar 10, 2022 at 1:55 AM Christian König wrote: > > > > Am 09.03.22 um 19:12 schrieb Rob Clark: > > On Tue, Mar 8, 2022 at 11:40 PM Shashank Sharma > > wrote: > >> From: Shashank Sharma > >> > >> This patch adds a new sysfs event, which will indicate > >> the userland about a GPU reset,

[PATCH v3 2/3] drm/bridge: ti-sn65dsi86: Implement bridge connector operations

2022-03-10 Thread Kieran Bingham
From: Laurent Pinchart Implement the bridge connector-related .get_edid() operation, and report the related bridge capabilities and type. Signed-off-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- Changes since v1: - The connector .get_modes() operation doesn't rely on EDID anymore,

[PATCH v3 3/3] drm/bridge: ti-sn65dsi86: Support hotplug detection

2022-03-10 Thread Kieran Bingham
When the SN65DSI86 is used in DisplayPort mode, its output is likely routed to a DisplayPort connector, which can benefit from hotplug detection. Support it in such cases, with polling mode only for now. The implementation is limited to the bridge operations, as the connector operations are

[PATCH v3 1/3] drm/bridge: ti-sn65dsi86: Support DisplayPort (non-eDP) mode

2022-03-10 Thread Kieran Bingham
From: Laurent Pinchart Despite the SN65DSI86 being an eDP bridge, on some systems its output is routed to a DisplayPort connector. Enable DisplayPort mode when the next component in the display pipeline is detected as a DisplayPort connector, and disable eDP features in that case.

[PATCH v3 0/3] drm/bridge: ti-sn65dsi86: Support non-eDP DisplayPort connectors

2022-03-10 Thread Kieran Bingham
Implement support for non eDP connectors on the TI-SN65DSI86 bridge, and provide IRQ based hotplug detect to identify when the connector is present. no-hpd is extended to be the default behaviour for non DisplayPort connectors. This series is based upon Sam Ravnborgs and Rob Clarks series [0] to

Re: [PATCH] drm: of: Properly try all possible cases for bridge/panel detection

2022-03-10 Thread Maxime Ripard
Hi Paul, On Wed, Mar 09, 2022 at 03:32:00PM +0100, Paul Kocialkowski wrote: > While bridge/panel detection was initially relying on the usual > port/ports-based of graph detection, it was recently changed to > perform the lookup on any child node that is not port/ports > instead when such a node

Re: [PATCH] drm/rockchip: remove redundant assignment to pointer connector

2022-03-10 Thread Heiko Stübner
Hi, looks like I wasn't in the original recipient list, so only got Nick's answer. Am Mittwoch, 9. März 2022, 00:10:31 CET schrieb Nick Desaulniers: > On Mon, Mar 7, 2022 at 10:17 AM Colin Ian King wrote: > > > > The pointer connector is being assigned a value that is never read, > > it is

Re: [PATCH v2 1/4] drm/bridge: ti-sn65dsi86: Implement bridge connector operations

2022-03-10 Thread Doug Anderson
Hi, On Thu, Mar 10, 2022 at 3:43 AM Kieran Bingham wrote: > > Hi Doug, > > Quoting Doug Anderson (2022-03-07 19:52:08) > > Hi, > > > > On Mon, Mar 7, 2022 at 10:00 AM Kieran Bingham > > wrote: > > > > > > From: Laurent Pinchart > > > > > > Implement the bridge connector-related .get_edid()

[v5 5/5] drm/edid: check for HF-SCDB block

2022-03-10 Thread Lee Shawn C
Find HF-SCDB information in CEA extensions block. And retrieve Max_TMDS_Character_Rate that support by sink device. v2: HF-SCDB and HF-VSDBS carry the same SCDS data. Reuse drm_parse_hdmi_forum_vsdb() to parse this packet. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx

[v5 4/5] drm/edid: parse HF-EEODB CEA extension block

2022-03-10 Thread Lee Shawn C
While adding CEA modes, try to get available EEODB block number. Then based on it to parse numbers of ext blocks, retrieve CEA information and add more CEA modes. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C ---

[v5 3/5] drm/edid: read HF-EEODB ext block

2022-03-10 Thread Lee Shawn C
According to HDMI 2.1 spec. "The HDMI Forum EDID Extension Override Data Block (HF-EEODB) is utilized by Sink Devices to provide an alternate method to indicate an EDID Extension Block count larger than 1, while avoiding the need to present a VESA Block Map in the first E-EDID Extension Block."

[v5 1/5] drm/edid: seek for available CEA block from specific EDID block index

2022-03-10 Thread Lee Shawn C
drm_find_cea_extension() always look for a top level CEA block. Pass ext_index from caller then this function to search next available CEA ext block from a specific EDID block pointer. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc: intel-gfx Signed-off-by: Lee Shawn C ---

[v5 2/5] drm/edid: parse multiple CEA extension block

2022-03-10 Thread Lee Shawn C
Try to find and parse more CEA ext blocks if edid->extensions is greater than one. v2: split prvious patch to two. And do CEA block parsing in this one. v3: simplify this patch based on previous change. v4: refine patch v3. Cc: Jani Nikula Cc: Ville Syrjala Cc: Ankit Nautiyal Cc:

[v5 0/5] enhanced edid driver compatibility

2022-03-10 Thread Lee Shawn C
Support to parse multiple CEA extension blocks and HF-EEODB to extend drm edid driver's capability. v4: add one more patch to support HF-SCDB v5: HF-SCDB and HF-VSDBS carry the same SCDS data. Reuse drm_parse_hdmi_forum_vsdb() to parse this packet. Lee Shawn C (5): drm/edid: seek for

Re: [PATCH] drm: remove min_order BUG_ON check

2022-03-10 Thread Arunpravin
On 08/03/22 10:31 pm, Matthew Auld wrote: > On 08/03/2022 13:59, Arunpravin wrote: >> >> >> On 07/03/22 10:11 pm, Matthew Auld wrote: >>> On 07/03/2022 14:37, Arunpravin wrote: place BUG_ON(order < min_order) outside do..while loop as it fails Unigine Heaven benchmark.

[Bug 215652] kernel 5.17-rc fail to load radeon DRM "modprobe: ERROR: could not insert 'radeon': Unknown symbol in module, or unknown parameter (see dmesg)"

2022-03-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215652 --- Comment #9 from Alex Deucher (alexdeuc...@gmail.com) --- Only the person that filed the bug can close it. If it's fixed for you, please close it. Thanks! -- You may reply to this email to add a comment. You are receiving this mail

Re: [PATCH v2 3/4] drm/bridge: ti-sn65dsi86: Support DisplayPort (non-eDP) mode

2022-03-10 Thread Kieran Bingham
Quoting Kieran Bingham (2022-03-10 14:04:09) > Quoting Kieran Bingham (2022-03-07 17:59:54) > > From: Laurent Pinchart > > > > Despite the SN65DSI86 being an eDP bridge, on some systems its output is > > routed to a DisplayPort connector. Enable DisplayPort mode when the next > > component in

RE: [v4 5/5] drm/edid: check for HF-SCDB block

2022-03-10 Thread Lee, Shawn C
On Thursday, March 10, 2022 6:50 PM, Ville Syrjälä wrote: >On Wed, Mar 02, 2022 at 05:35:11PM +0800, Lee Shawn C wrote: >> Find HF-SCDB information in CEA extensions block. And retrieve >> Max_TMDS_Character_Rate that support by sink device. >> >> Cc: Jani Nikula >> Cc: Ville Syrjala >> Cc:

Re: [PATCH V3 05/13] drm: bridge: icn6211: Add DSI lane count DT property parsing

2022-03-10 Thread Maxime Ripard
On Thu, Mar 10, 2022 at 01:16:57PM +0200, Laurent Pinchart wrote: > On Thu, Mar 10, 2022 at 11:57:38AM +0100, Maxime Ripard wrote: > > On Thu, Mar 10, 2022 at 12:42:12PM +0200, Laurent Pinchart wrote: > > > On Tue, Mar 08, 2022 at 01:51:40PM +0100, Maxime Ripard wrote: > > > > On Tue, Mar 08, 2022

Re: [PATCH V3 05/13] drm: bridge: icn6211: Add DSI lane count DT property parsing

2022-03-10 Thread Maxime Ripard
On Thu, Mar 10, 2022 at 01:47:13PM +0100, Marek Vasut wrote: > On 3/10/22 11:53, Maxime Ripard wrote: > > On Tue, Mar 08, 2022 at 10:41:05PM +0100, Marek Vasut wrote: > > > On 3/8/22 17:21, Maxime Ripard wrote: > > > > On Tue, Mar 08, 2022 at 03:47:22PM +0100, Marek Vasut wrote: > > > > > On

  1   2   >