Re: [PATCH] drm/ast: Support 1600x900 with 108MHz PCLK

2020-11-01 Thread Thomas Zimmermann
Hi Am 30.10.20 um 08:42 schrieb KuoHsiang Chou: > [New] Create the setting for 1600x900 @60Hz refresh rate > by 108MHz pixel-clock. > > Signed-off-by: KuoHsiang Chou Acked-by: Thomas Zimmermann I'll add your patch to drm-misc-next. As Sam mentioned, you should use

Re: [PATCH] drm/nouveu: fix swiotlb include

2020-11-01 Thread Thomas Zimmermann
Hi Am 30.10.20 um 12:13 schrieb Christian König: > The check for swiotlb has moved to nouveu_ttm.c, but we forgot to move s/nouveu/nouveau here and in the subject line. Best regards Thomas > the include as well. > > Signed-off-by: Christian König > --- >

RE: [PATCH v4 15/16] drm/i915/hdcp: Support for HDCP 2.2 MST shim callbacks

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

RE: [PATCH v4 12/16] drm/i915/hdcp: MST streams support in hdcp port_data

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

RE: [PATCH v4 07/16] drm/i915/hdcp: Enable Gen12 HDCP 1.4 DP MST support

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

RE: [PATCH v4 06/16] drm/i915/hdcp: HDCP stream encryption support

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

RE: [PATCH v4 02/16] drm/i915/hdcp: Get conn while content_type changed

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

RE: [PATCH v4 01/16] drm/i915/hdcp: Update CP property in update_pipe

2020-11-01 Thread Shankar, Uma
> -Original Message- > From: Anshuman Gupta > Sent: Tuesday, October 27, 2020 10:12 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: seanp...@chromium.org; Nikula, Jani ; C, > Ramalingam ; Li, Juston ; > Shankar, Uma ; Gupta, Anshuman > > Subject: [PATCH

Re: [PATCH v7 3/6] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-11-01 Thread Chanwoo Choi
Hi Sylwester, On 10/30/20 9:51 PM, Sylwester Nawrocki wrote: > This patch adds registration of a child platform device for the exynos > interconnect driver. It is assumed that the interconnect provider will > only be needed when #interconnect-cells property is present in the bus > DT node, hence

RE: [PATCH] drm/ast: Support 1600x900 with 108MHz PCLK

2020-11-01 Thread Kuo-Hsiang Chou
Hi, Sam Thanks for your teaching and the information got from v5.10-rc2 likes as DRM DRIVER FOR AST SERVER GRAPHICS CHIPS M: Dave Airlie R: Thomas Zimmermann L: dri-devel@lists.freedesktop.org S: Supported T: git git://anongit.freedesktop.org/drm/drm-misc F:

linux-next: build warning after merge of the drm-misc tree

2020-11-01 Thread Stephen Rothwell
Hi all, After merging the imx-drm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/gpu/drm/panfrost/panfrost_job.c: In function 'panfrost_job_close': drivers/gpu/drm/panfrost/panfrost_job.c:617:28: warning: unused variable 'js' [-Wunused-variable] 617 |

linux-next: build failure after merge of the drm-misc tree

2020-11-01 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In file included from drivers/gpu/drm/nouveau/nouveau_ttm.c:26: include/linux/swiotlb.h: In function 'swiotlb_max_mapping_size': include/linux/swiotlb.h:99:9: error: 'SIZE_MAX' undeclared

[PATCH v2] soc / drm: mediatek: cmdq: Remove timeout handler in helper function

2020-11-01 Thread Chun-Kuang Hu
For each client driver, its timeout handler need to dump hardware register or its state machine information, and their way to detect timeout are also different, so remove timeout handler in helper function and let client driver implement its own timeout handler. Signed-off-by: Chun-Kuang Hu ---

Re: [PATCH 2/3] phy: mediatek: Move mtk_mipi_dsi_phy driver into drivers/phy/mediatek folder

2020-11-01 Thread Chun-Kuang Hu
+ Vinod: Hi, Chunfeng: Chunfeng Yun 於 2020年10月30日 週五 下午2:24寫道: > > On Thu, 2020-10-29 at 23:27 +0800, Chun-Kuang Hu wrote: > > mtk_mipi_dsi_phy is currently placed inside mediatek drm driver, but it's > > more suitable to place a phy driver into phy driver folder, so move > > mtk_mipi_dsi_phy

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-01 Thread Daniel Vetter
On Sun, Nov 1, 2020 at 10:13 PM John Hubbard wrote: > > On 11/1/20 2:30 AM, Daniel Vetter wrote: > > On Sun, Nov 1, 2020 at 6:22 AM John Hubbard wrote: > >> > >> On 10/31/20 7:45 AM, Daniel Vetter wrote: > >>> On Sat, Oct 31, 2020 at 3:55 AM John Hubbard wrote: > On 10/30/20 3:08 AM,

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-01 Thread John Hubbard
On 11/1/20 2:30 AM, Daniel Vetter wrote: On Sun, Nov 1, 2020 at 6:22 AM John Hubbard wrote: On 10/31/20 7:45 AM, Daniel Vetter wrote: On Sat, Oct 31, 2020 at 3:55 AM John Hubbard wrote: On 10/30/20 3:08 AM, Daniel Vetter wrote: ... By removing this check from this location, and changing

Re: [PATCH] drm: document that blobs are ref'counted

2020-11-01 Thread Daniel Stone
Hi, On Sun, 1 Nov 2020 at 20:35, Simon Ser wrote: > Daniel, does this patch look good to you? Unsure which Daniel you meant, but I would probably instead say: 'Userspace can release blobs as soon as they do not need to refer to them by their blob object ID. For instance, if you are using a

Re: [PATCH] drm: document that blobs are ref'counted

2020-11-01 Thread Simon Ser
Daniel, does this patch look good to you? ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v2 3/4] drm/bridge: ti-sn65dsi86: Read EDID blob over DDC

2020-11-01 Thread Laurent Pinchart
Hi Stephen, Thank you for the patch. On Thu, Oct 29, 2020 at 06:17:37PM -0700, Stephen Boyd wrote: > Use the DDC connection to read the EDID from the eDP panel instead of > relying on the panel to tell us the modes. > > Reviewed-by: Douglas Anderson > Cc: Laurent Pinchart > Cc: Jonas Karlman

[PATCH] drm/panfrost: Fix a deadlock between the shrinker and madvise path

2020-11-01 Thread Boris Brezillon
panfrost_ioctl_madvise() and panfrost_gem_purge() acquire the mappings and shmem locks in different orders, thus leading to a potential the mappings lock first. Fixes: bdefca2d8dc0 ("drm/panfrost: Add the panfrost_gem_mapping concept") Cc: Cc: Christian Hewitt Reported-by: Christian Hewitt

[PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function

2020-11-01 Thread Jonathan Liu
It has been observed that resetting force in the detect function can result in the PHY being powered down in response to hot-plug detect being asserted, even when the HDMI connector is forced on. Enabling debug messages and adding a call to dump_stack() in dw_hdmi_phy_power_off() shows the

[PATCH 3/4] media: uapi: Add MEDIA_BUS_FMT_RGB888_3X8_DELTA media bus format

2020-11-01 Thread Paul Cercueil
Add media bus format for 24-bit panels that expect their pixel data to be sent serially on a 8-bit bus, in RGB ordering on odd lines, and in GBR ordering on even lines (aka delta-RGB). Signed-off-by: Paul Cercueil --- include/uapi/linux/media-bus-format.h | 3 ++- 1 file changed, 2

[PATCH] drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe

2020-11-01 Thread YueHaibing
gpiod_to_irq() return negative value in case of error, the existing code handle negative error codes wrongly. Fixes: cff5e6f7e83f ("drm/bridge: Add driver for the TI TPD12S015 HDMI level shifter") Signed-off-by: YueHaibing --- drivers/gpu/drm/bridge/ti-tpd12s015.c | 2 +- 1 file changed, 1

[PATCHv7 1/7] iommu/io-pgtable-arm: Add support to use system cache

2020-11-01 Thread Sai Prakash Ranjan
Add a quirk IO_PGTABLE_QUIRK_SYS_CACHE to override the attributes set in TCR for the page table walker when using system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/io-pgtable-arm.c | 7 ++- include/linux/io-pgtable.h | 4 2 files changed, 10 insertions(+), 1

[PATCHv7 0/7] System Cache support for GPU and required SMMU support

2020-11-01 Thread Sai Prakash Ranjan
Some hardware variants contain a system cache or the last level cache(llc). This cache is typically a large block which is shared by multiple clients on the SOC. GPU uses the system cache to cache both the GPU data buffers(like textures) as well the SMMU pagetables. This helps with improved render

RE: WARNING in dma_map_page_attrs

2020-11-01 Thread Parav Pandit
> From: h...@lst.de > Sent: Wednesday, October 28, 2020 11:01 PM > > On Tue, Oct 27, 2020 at 12:52:30PM +, Parav Pandit wrote: > > > > > From: h...@lst.de > > > Sent: Tuesday, October 27, 2020 1:41 PM > > > > > > On Mon, Oct 26, 2020 at 05:23:48AM +, Parav Pandit wrote: > > > > Hi

Re: [PATCH 1/2] drm/atomic: Pass the full state to CRTC atomic_check

2020-11-01 Thread Maxime Ripard
Hi! Thanks for reviewing those patches On Thu, Oct 29, 2020 at 03:50:41PM +0200, Ville Syrjälä wrote: > On Wed, Oct 28, 2020 at 01:32:21PM +0100, Maxime Ripard wrote: > > The current atomic helpers have either their object state being passed as > > an argument or the full atomic state. > > > >

[PATCH 1/4] dt-bindings: vendor-prefixes: Add abt vendor prefix

2020-11-01 Thread Paul Cercueil
Add prefix for ShenZhen Asia Better Technology Ltd. Signed-off-by: Paul Cercueil --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

Re: [PATCH 2/2] drm/atomic: Pass the full state to CRTC atomic begin and flush

2020-11-01 Thread Maxime Ripard
On Thu, Oct 29, 2020 at 03:55:37PM +0200, Ville Syrjälä wrote: > On Wed, Oct 28, 2020 at 01:32:22PM +0100, Maxime Ripard wrote: > > The current atomic helpers have either their object state being passed as > > an argument or the full atomic state. > > > > The former is the pattern that was done

[PATCH] staging: fbtft: fb_watterott: fix usleep_range is preferred over udelay

2020-11-01 Thread Hassan Shahbazi
Fix the checkpath.pl issue on fb_watterott.c. write_vmem and write_vmem_8bit functions are within non-atomic context and can safely use usleep_range. see Documentation/timers/timers-howto.txt Signed-off-by: Hassan Shahbazi --- drivers/staging/fbtft/fb_watterott.c | 4 ++-- 1 file changed, 2

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Dmitry Osipenko
01.11.2020 18:44, Chanwoo Choi пишет: >> OPP core will try to grab the clock reference for the table and it may >> cause EPROBE_DEFER. Although, it shouldn't happen here because we have >> devm_clk_get() before the get_opp_table(), hence seems the deferred >> probe indeed shouldn't happen in this

Re: [PATCH v2 0/4] drm/bridge: ti-sn65dsi86: Support EDID reading

2020-11-01 Thread Sam Ravnborg
Hi Stephen. On Thu, Oct 29, 2020 at 06:17:34PM -0700, Stephen Boyd wrote: > This patch series cleans up the DDC code a little bit so that > it is more efficient time wise and supports grabbing the EDID > of the eDP panel over the aux channel. I timed this on a board > I have on my desk and it

[PATCH] drm/panfrost: Remove unused variables in panfrost_job_close()

2020-11-01 Thread Boris Brezillon
Commit a17d609e3e21 ("drm/panfrost: Don't corrupt the queue mutex on open/close") left unused variables behind, thus generating a warning at compilation time. Remove those variables. Fixes: a17d609e3e21 ("drm/panfrost: Don't corrupt the queue mutex on open/close") Signed-off-by: Boris Brezillon

[PATCH v3 1/3] drm/i915: Introduce quirk QUIRK_RENDERCLEAR_REDUCED

2020-11-01 Thread rwright
From: Randy Wright Introduce quirk QUIRK_RENDERCLEAR_REDUCED, which will be used to force a limited batch buffer size for clearing residual contexts in gen7_renderclear.c. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/i915_drv.h | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [Outreachy kernel] [PATCH] drm/amdgpu: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2020-11-01 Thread Sumera Priyadarsini
On Fri, 30 Oct, 2020, 1:32 PM Greg KH, wrote: > On Fri, Oct 30, 2020 at 01:27:16PM +0530, Deepak R Varma wrote: > > On Fri, Oct 30, 2020 at 08:11:20AM +0100, Greg KH wrote: > > > On Fri, Oct 30, 2020 at 08:52:45AM +0530, Deepak R Varma wrote: > > > > Using DEFINE_DEBUGFS_ATTRIBUTE macro with >

[PATCH] drm/msm/dsi: do not try reading 28nm vco rate if it's not enabled

2020-11-01 Thread Dmitry Baryshkov
Reading VCO rate for this PLL can cause boot stalls, if it is not enabled. Guard clk_hw_get_rate with a call to dsi_pll_28nm_clk_is_enabled(). Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/dsi/pll/dsi_pll_28nm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 0/3] Introduce devm_pm_opp_set_* API

2020-11-01 Thread Viresh Kumar
On 28-10-20, 11:36, Viresh Kumar wrote: > On 12-10-20, 21:55, Frank Lee wrote: > > Hi, this patchset introduce devm_pm_opp_set_prop_name() and > > devm_pm_opp_set_supported_hw(). > > > > Yangtao Li (3): > > opp: Add devres wrapper for dev_pm_opp_set_supported_hw > > opp: Add devres wrapper

[PATCH v3 2/3] drm/i915/display: Add function quirk_renderclear_reduced

2020-11-01 Thread rwright
From: Randy Wright Added function quirk_renderclear_reduced to set QUIRK_RENDERCLEAR_REDUCED for designated platforms. Applying QUIRK_RENDERCLEAR_REDUCED for the HP Pavilion Mini 300-020 prevents a GPU hang. Signed-off-by: Randy Wright --- drivers/gpu/drm/i915/display/intel_quirks.c | 13

Re: [PATCH v6 49/52] PM / devfreq: tegra20: Convert to EMC_STAT driver, support interconnect and device-tree

2020-11-01 Thread Dmitry Osipenko
01.11.2020 16:31, Chanwoo Choi пишет: > Hi Dmitry, > > This patch contains the three features as following: > 1. Use interconnect interface for controlling the clock instead of > controlling it direclty > 2. Use EMC_STAT instead of IMC_STAT > 3. Change polling_interval and upthreshold for more

[PATCH] drm/msm/dp: promote irq_hpd handle to handle link trainign correctly

2020-11-01 Thread Kuogee Hsieh
Some dongles, such as Apple, required link training done at irq_hpd request instead of plugin request. This patch promote irq_hpd hanlder to handle link training and setup hpd_state correctly. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_display.c | 20 ++-- 1 file

[PATCH v3 0/3] Reduce context clear batch size to avoid gpu hang

2020-11-01 Thread rwright
From: Randy Wright For several months, I've been experiencing GPU hangs when starting Cinnamon on an HP Pavilion Mini 300-020 if I try to run an upstream kernel. I reported this recently in https://gitlab.freedesktop.org/drm/intel/-/issues/2413 where I have attached the requested evidence

[PATCH 0/3] drm/panel: ABT Y030XX067A panel support

2020-11-01 Thread Paul Cercueil
Hi, This patchset is for adding support for the Asia Better Technology (aka. ABT) Y030XX067A 3.0" 320x480 24-bit LCD IPS panel. While being 320x480 it is actually 4:3 with non-square pixels, and requires a specific bus format, as the pixel ordering changes each line (RGB on odd lines, GRB on

Re: [Outreachy kernel] [PATCH] drm/amdgpu: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2020-11-01 Thread Deepak R Varma
On Fri, Oct 30, 2020 at 10:24:57AM +0100, Daniel Vetter wrote: > On Fri, Oct 30, 2020 at 10:15:21AM +0100, Daniel Vetter wrote: > > On Fri, Oct 30, 2020 at 09:25:18AM +0100, Greg KH wrote: > > > On Fri, Oct 30, 2020 at 09:00:04AM +0100, Christian König wrote: > > > > Am 30.10.20 um 08:57 schrieb

Re: [Outreachy kernel] [PATCH] drm/amdgpu: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2020-11-01 Thread Julia Lawall
On Fri, 30 Oct 2020, Greg KH wrote: > On Fri, Oct 30, 2020 at 01:47:05PM +0530, Sumera Priyadarsini wrote: > > On Fri, 30 Oct, 2020, 1:32 PM Greg KH, wrote: > > > > > On Fri, Oct 30, 2020 at 01:27:16PM +0530, Deepak R Varma wrote: > > > > On Fri, Oct 30, 2020 at 08:11:20AM +0100, Greg KH

Re: [PATCH -next] drm/rockchip: cdn-dp: Mark cdn_dp_core_suspend/resume __maybe_unused

2020-11-01 Thread Yuehaibing
ping... On 2020/8/11 10:12, YueHaibing wrote: > If CONFIG_PM is not set, gcc warns: > > drivers/gpu/drm/rockchip/cdn-dp-core.c:1124:12: > warning: ‘cdn_dp_resume’ defined but not used [-Wunused-function] > > Mark them __maybe_unused to fix this. > > Reported-by: Hulk Robot > Signed-off-by:

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Dmitry Osipenko
01.11.2020 17:44, Chanwoo Choi пишет: > Hi Dmitry, > > On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: >> >> This patch moves ACTMON driver away from generating OPP table by itself, >> transitioning it to use the table which comes from device-tree. This >> change breaks compatibility with

Re: [Outreachy kernel] [PATCH] drm/amdgpu: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2020-11-01 Thread Julia Lawall
On Sat, 31 Oct 2020, Joe Perches wrote: > On Fri, 2020-10-30 at 09:03 +0100, Greg KH wrote: > > On Fri, Oct 30, 2020 at 01:27:16PM +0530, Deepak R Varma wrote: > > > On Fri, Oct 30, 2020 at 08:11:20AM +0100, Greg KH wrote: > > > > On Fri, Oct 30, 2020 at 08:52:45AM +0530, Deepak R Varma wrote:

[PATCHv7 6/7] iommu: arm-smmu-impl: Use table to list QCOM implementations

2020-11-01 Thread Sai Prakash Ranjan
Use table and of_match_node() to match qcom implementation instead of multiple of_device_compatible() calls for each QCOM SMMU implementation. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 9 + drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 21

Re: [PATCH v3 19/20] drm/tegra: Implement new UAPI

2020-11-01 Thread Dmitry Osipenko
28.10.2020 12:54, Mikko Perttunen пишет: > On 10/27/20 9:06 PM, Dmitry Osipenko wrote: >> 26.10.2020 12:11, Mikko Perttunen пишет: The first patches should be the ones that are relevant to the existing userspace code, like support for the waits. >>> >>> Can you elaborate what you

[PATCHv7 3/7] drm/msm: rearrange the gpu_rmw() function

2020-11-01 Thread Sai Prakash Ranjan
From: Sharat Masetty The register read-modify-write construct is generic enough that it can be used by other subsystems as needed, create a more generic rmw() function and have the gpu_rmw() use this new function. Signed-off-by: Sharat Masetty Reviewed-by: Jordan Crouse Signed-off-by: Sai

[PATCH 4/4] drm/panel: Add ABT Y030XX067A 3.0" 320x480 panel

2020-11-01 Thread Paul Cercueil
Add support for the ShenZhen Asia Better Technology Ltd. Y030XX067A 3.0" 320x480 IPS panel. This panel can be found in the YLM RG-280M, RG-300 and RG-99 handheld gaming consoles. While being 320x480, it is actually a horizontal 4:3 panel with non-square pixels. Signed-off-by: Paul Cercueil

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Dmitry Osipenko
01.11.2020 17:39, Chanwoo Choi пишет: > Hi Dmitry, > > On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: >> >> This patch moves ACTMON driver away from generating OPP table by itself, >> transitioning it to use the table which comes from device-tree. This >> change breaks compatibility with

[PATCH] drm/msm/dp: deinitialize mainlink if link training failedo

2020-11-01 Thread Kuogee Hsieh
DP compo phy have to be enable to start link training. When link training failed phy need to be disabled so that next link trainng can be proceed smoothly at next plug in. This patch de initialize mainlink to disable phy if link training failed. This prevent system crash due to

[PATCHv7 2/7] iommu/arm-smmu: Add domain attribute for system cache

2020-11-01 Thread Sai Prakash Ranjan
Add iommu domain attribute for using system cache aka last level cache by client drivers like GPU to set right attributes for caching the hardware pagetables into the system cache. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu.c | 17 +

Re: [PATCH 2/3] opp: Add devres wrapper for dev_pm_opp_set_prop_name

2020-11-01 Thread Viresh Kumar
On 30-10-20, 19:19, Frank Lee wrote: > GPU is also a relatively large number of opp consumers. I was talking about the number of files or locations from which this routine (the devm_* variant) is going to get called. And it is one right now. And I don't see if any of the other callers are going

[PATCH v2] drm/msm/dp: skip checking LINK_STATUS_UPDATED bit

2020-11-01 Thread Kuogee Hsieh
Some dongle will not clear LINK_STATUS_UPDATED bit after DPCD read which cause link training failed. This patch just read 6 bytes of DPCD link status from sink and return without checking LINK_STATUS_UPDATED bit. Link rate read back from sink need to be convert into really rate by timing 2.7Mb.

Re: [PATCH v6 2/2] drm/bridge: hx8837: add a Himax HX8837 display controller driver

2020-11-01 Thread Lubomir Rintel
Hello Sam, thanks for your response. On Sat, Oct 31, 2020 at 09:01:37AM +0100, Sam Ravnborg wrote: > Hi Lubomir. > > On Fri, Oct 30, 2020 at 04:08:00AM +0100, Lubomir Rintel wrote: > > Himax HX8837 is used to drive the LCD panel on OLPC platforms. > > > > It controls the panel backlight and is

Re: [PATCH] drm/msm/dsi: save PLL registers across first PHY reset

2020-11-01 Thread Dmitry Baryshkov
Hello, On 07/10/2020 03:10, benl-kernelpatc...@squareup.com wrote: From: Benjamin Li Take advantage of previously-added support for persisting PLL registers across DSI PHY disable/enable cycles (see 328e1a6 'drm/msm/dsi: Save/Restore PLL status across PHY reset') to support persisting across

[PATCHv7 5/7] drm/msm/a6xx: Add support for using system cache on MMU500 based targets

2020-11-01 Thread Sai Prakash Ranjan
From: Jordan Crouse This is an extension to the series [1] to enable the System Cache (LLC) for Adreno a6xx targets. GPU targets with an MMU-500 attached have a slightly different process for enabling system cache. Use the compatible string on the IOMMU phandle to see if an MMU-500 is attached

WARNING in vkms_vblank_simulate (2)

2020-11-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3f267ec6 Add linux-next specific files for 20201029 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=170739d250 kernel config: https://syzkaller.appspot.com/x/.config?x=7f00c6dd47ae4c2c dashboard

[PATCH 2/4] dt-bindings: display: Add ABT Y030XX067A panel bindings

2020-11-01 Thread Paul Cercueil
The Asia Better Technology (ABT) Y030XX067A panel is a 3.0" 320x480 24-bit IPS LCD panel. Its particularity is that it has non-square pixels (as it is 4:3 for a resolution of 320x480), and that it requires odd lines to be sent as RGB and even lines to be sent as GRB on its 8-bit bus.

Re: [PATCH 2/3] opp: Add devres wrapper for dev_pm_opp_set_prop_name

2020-11-01 Thread Frank Lee
On Wed, Oct 28, 2020 at 10:46 PM Viresh Kumar wrote: > > On 28-10-20, 19:02, Frank Lee wrote: > > On Wed, Oct 28, 2020 at 6:29 PM Viresh Kumar > > wrote: > > > > > > On 12-10-20, 21:55, Frank Lee wrote: > > > > From: Yangtao Li > > > > > > > > Add devres wrapper for dev_pm_opp_set_prop_name()

KASAN: vmalloc-out-of-bounds Write in drm_fb_helper_dirty_work (3)

2020-11-01 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:4525c878 scsi: qla2xxx: remove incorrect sparse #ifdef git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1411f30850 kernel config: https://syzkaller.appspot.com/x/.config?x=a5c844e56cc50cdb

Re: [PATCH] staging: fbtft: fb_watterott: fix usleep_range is preferred over udelay

2020-11-01 Thread Hassan Shahbazi
On Sun, Nov 01, 2020 at 07:39:48AM +0100, Greg KH wrote: > On Sun, Nov 01, 2020 at 02:20:10AM +0200, Hassan Shahbazi wrote: > > Fix the checkpath.pl issue on fb_watterott.c. write_vmem and > > write_vmem_8bit functions are within non-atomic context and can > > safely use usleep_range. > > see

Re: [PATCH v6 08/52] dt-bindings: memory: tegra20: emc: Document mfd-simple compatible and statistics sub-device

2020-11-01 Thread Dmitry Osipenko
28.10.2020 18:26, Rob Herring пишет: > On Tue, Oct 27, 2020 at 11:18:34PM +0300, Dmitry Osipenko wrote: >> 27.10.2020 22:44, Krzysztof Kozlowski пишет: >>> On Tue, Oct 27, 2020 at 10:22:19PM +0300, Dmitry Osipenko wrote: 27.10.2020 12:02, Krzysztof Kozlowski пишет: >> @@ -31,17 +32,34 @@

[PATCH] drm: panel: simple: add missing platform_driver_unregister() in panel_simple_init

2020-11-01 Thread Qinglang Miao
Add the missing platform_driver_unregister() before return from panel_simple_init in the error handling case when failed to register panel_simple_dsi_driver with CONFIG_DRM_MIPI_DSI enabled. Signed-off-by: Qinglang Miao --- drivers/gpu/drm/panel/panel-simple.c | 4 +++- 1 file changed, 3

Re: [PATCH] drm/msm/dp: skip checking LINK_STATUS_UPDATED bit

2020-11-01 Thread khsieh
On 2020-10-20 15:15, Stephen Boyd wrote: Quoting Kuogee Hsieh (2020-10-20 09:59:59) No need to check LINK_STATuS_UPDATED bit before LINK_STATUS_UPDATED? return 6 bytes of link status during link training. Why? This patch also fix phy compliance test link rate conversion error. How?

[PATCHv7 7/7] iommu: arm-smmu-impl: Add a space before open parenthesis

2020-11-01 Thread Sai Prakash Ranjan
Fix the checkpatch warning for space required before the open parenthesis. Signed-off-by: Sai Prakash Ranjan --- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-impl.c

[PATCHv7 4/7] drm/msm/a6xx: Add support for using system cache(LLC)

2020-11-01 Thread Sai Prakash Ranjan
From: Sharat Masetty The last level system cache can be partitioned to 32 different slices of which GPU has two slices preallocated. One slice is used for caching GPU buffers and the other slice is used for caching the GPU SMMU pagetables. This talks to the core system cache driver to acquire

[PATCH] drm/hisilicon: Remove redundant null check

2020-11-01 Thread Tian Tao
drm_irq_uninstall can handle the case where dev->irq_enable is false, so Remove redundant null check. Signed-off-by: Tian Tao --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe

2020-11-01 Thread Yuehaibing
On 2020/10/31 15:19, Sam Ravnborg wrote: > Hi YueHaibing > > Thanks for the fix. Appreciated but please update as per comments below. > > On Sat, Oct 31, 2020 at 11:16:48AM +0800, YueHaibing wrote: >> gpiod_to_irq() return negative value in case of error, >> the existing code handle negative

Re: [PATCH] drivers/video: Fix -Wstringop-truncation in hdmi.c

2020-11-01 Thread Thomas Zimmermann
Hi Am 01.11.20 um 10:50 schrieb Sam Ravnborg: > On Wed, Oct 21, 2020 at 02:12:41PM +0200, Thomas Zimmermann wrote: >> Trying to copy into the string fields with strncpy() gives a warning from >> gcc. Both fields are part of a packed HDMI header and do not require a >> terminating \0 character. >>

Re: [PATCH v6 1/2] dt-bindings: display: himax,hx8837: Add Himax HX8837 bindings

2020-11-01 Thread Laurent Pinchart
Hi Lubomir, Thank you for the patch. On Fri, Oct 30, 2020 at 04:07:59AM +0100, Lubomir Rintel wrote: > Himax HX8837 is a secondary display controller used to drive the panel > on OLPC platforms. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring > > --- > Changes since v4: > -

Re: [PATCH v3 0/3] PWM backlight interpolation adjustments

2020-11-01 Thread Heiko Stuebner
On Wed, 21 Oct 2020 22:04:42 -0700, Alexandru Stan wrote: > I was trying to adjust the brightness-levels for the trogdor boards: > https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/2291209 > Like on a lot of panels, trogdor's low end needs to be cropped, > and now that we

Re: [PATCH] fbcon: Replace printk() with pr_*()

2020-11-01 Thread Peilin Ye
On Sun, Nov 01, 2020 at 04:41:13PM +0100, Greg Kroah-Hartman wrote: > On Sun, Nov 01, 2020 at 09:49:04AM -0500, Peilin Ye wrote: > > Replace printk() with pr_err(), pr_warn() and pr_info(). Do not split long > > strings, for easier grepping. Use `__func__` whenever applicable. > > > >

Re: [PATCH] drm/panel: st7703: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2020-11-01 Thread Guido Günther
Hi, On Fri, Oct 30, 2020 at 09:01:50AM +0530, Deepak R Varma wrote: > Using DEFINE_DEBUGFS_ATTRIBUTE macro with debugfs_create_file_unsafe() > function in place of the debugfs_create_file() function will make the > file operation struct "reset" aware of the file's lifetime. Additional > details

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
On Mon, Nov 2, 2020 at 12:49 AM Dmitry Osipenko wrote: > > 01.11.2020 18:44, Chanwoo Choi пишет: > >> OPP core will try to grab the clock reference for the table and it may > >> cause EPROBE_DEFER. Although, it shouldn't happen here because we have > >> devm_clk_get() before the get_opp_table(),

[Bug 209129] HW related error message under Gnome important tab

2020-11-01 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209129 Laszlo (laszlo.a.t...@googlemail.com) changed: What|Removed |Added Status|NEEDINFO|CLOSED

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, On Mon, Nov 2, 2020 at 12:24 AM Dmitry Osipenko wrote: > > 01.11.2020 17:44, Chanwoo Choi пишет: > > Hi Dmitry, > > > > On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: > >> > >> This patch moves ACTMON driver away from generating OPP table by itself, > >> transitioning it to

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, On Mon, Nov 2, 2020 at 12:23 AM Dmitry Osipenko wrote: > > 01.11.2020 17:39, Chanwoo Choi пишет: > > Hi Dmitry, > > > > On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: > >> > >> This patch moves ACTMON driver away from generating OPP table by itself, > >> transitioning it to

Re: [PATCH] fbcon: Replace printk() with pr_*()

2020-11-01 Thread Greg Kroah-Hartman
On Sun, Nov 01, 2020 at 09:49:04AM -0500, Peilin Ye wrote: > Replace printk() with pr_err(), pr_warn() and pr_info(). Do not split long > strings, for easier grepping. Use `__func__` whenever applicable. > > fbcon_prepare_logo() has more than one callers, use "fbcon_prepare_logo:" > instead of

Re: [PATCH v6 52/52] PM / devfreq: tegra30: Separate configurations per-SoC generation

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, I added the review about 'ARRAY_SIZE(tegra124_device_configs)'. Except for this, it looks good to me. On Mon, Oct 26, 2020 at 7:21 AM Dmitry Osipenko wrote: > > Previously we were using count-weight of the T124 for T30 in order to > get EMC clock rate that was reasonable for T30. In

[PATCH] fbcon: Replace printk() with pr_*()

2020-11-01 Thread Peilin Ye
Replace printk() with pr_err(), pr_warn() and pr_info(). Do not split long strings, for easier grepping. Use `__func__` whenever applicable. fbcon_prepare_logo() has more than one callers, use "fbcon_prepare_logo:" instead of "fbcon_init:", for less confusion. Suggested-by: Sam Ravnborg

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: > > This patch moves ACTMON driver away from generating OPP table by itself, > transitioning it to use the table which comes from device-tree. This > change breaks compatibility with older device-trees in order to bring > support

Re: [PATCH v6 51/52] PM / devfreq: tegra30: Support interconnect and OPPs from device-tree

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, On Mon, Oct 26, 2020 at 7:22 AM Dmitry Osipenko wrote: > > This patch moves ACTMON driver away from generating OPP table by itself, > transitioning it to use the table which comes from device-tree. This > change breaks compatibility with older device-trees in order to bring > support

Re: [PATCH v6 49/52] PM / devfreq: tegra20: Convert to EMC_STAT driver, support interconnect and device-tree

2020-11-01 Thread Chanwoo Choi
Hi Dmitry, This patch contains the three features as following: 1. Use interconnect interface for controlling the clock instead of controlling it direclty 2. Use EMC_STAT instead of IMC_STAT 3. Change polling_interval and upthreshold for more fast responsiveness I think you need to make the

Re: [PATCH/RFC v2] video: fbdev: atari: Fix TT High video mode

2020-11-01 Thread Andreas Schwab
On Nov 01 2020, Sam Ravnborg wrote: > Hi Geert. > > On Sun, Nov 01, 2020 at 11:29:41AM +0100, Geert Uytterhoeven wrote: >> The horizontal resolution (640) for the TT High video mode (1280x960) is >> definitely bogus. While fixing that, correct the timings to match the >> TTM195 service manual.

Re: [PATCH 2/4] dt-bindings: display: Add ABT Y030XX067A panel bindings

2020-11-01 Thread Sam Ravnborg
On Sun, Nov 01, 2020 at 09:31:48AM +, Paul Cercueil wrote: > The Asia Better Technology (ABT) Y030XX067A panel is a 3.0" 320x480 > 24-bit IPS LCD panel. Its particularity is that it has non-square pixels > (as it is 4:3 for a resolution of 320x480), and that it requires odd > lines to be sent

Re: [PATCH 0/3] drm/panel: ABT Y030XX067A panel support

2020-11-01 Thread Sam Ravnborg
Hi Paul. On Sun, Nov 01, 2020 at 09:31:46AM +, Paul Cercueil wrote: > Hi, > > This patchset is for adding support for the Asia Better Technology (aka. > ABT) Y030XX067A 3.0" 320x480 24-bit LCD IPS panel. > > While being 320x480 it is actually 4:3 with non-square pixels, and > requires a

Re: [PATCH/RFC v2] video: fbdev: atari: Fix TT High video mode

2020-11-01 Thread Sam Ravnborg
Hi Geert. On Sun, Nov 01, 2020 at 11:29:41AM +0100, Geert Uytterhoeven wrote: > The horizontal resolution (640) for the TT High video mode (1280x960) is > definitely bogus. While fixing that, correct the timings to match the > TTM195 service manual. > > Signed-off-by: Geert Uytterhoeven > ---

[PATCH/RFC v2] video: fbdev: atari: Fix TT High video mode

2020-11-01 Thread Geert Uytterhoeven
The horizontal resolution (640) for the TT High video mode (1280x960) is definitely bogus. While fixing that, correct the timings to match the TTM195 service manual. Signed-off-by: Geert Uytterhoeven --- Untested on actual hardware, hence the RFC. v2: - Use correct base. ---

[PATCH/RFC] video: fbdev: atari: Fix TT High video mode

2020-11-01 Thread Geert Uytterhoeven
The horizontal resolution (640) for the TT High video mode (1280x960) is definitely bogus. While fixing that, correct the timings to match the TTM195 service manual. Signed-off-by: Geert Uytterhoeven --- Untested on actual hardware, hence the RFC. --- drivers/video/fbdev/atafb.c | 4 ++-- 1

Re: [PATCH v5 05/15] mm/frame-vector: Use FOLL_LONGTERM

2020-11-01 Thread Daniel Vetter
On Sun, Nov 1, 2020 at 6:22 AM John Hubbard wrote: > > On 10/31/20 7:45 AM, Daniel Vetter wrote: > > On Sat, Oct 31, 2020 at 3:55 AM John Hubbard wrote: > >> On 10/30/20 3:08 AM, Daniel Vetter wrote: > ... > >> By removing this check from this location, and changing from > >>

[PATCH v2 07/13] drm/i915: Capture max frl rate for PCON in dfp cap structure

2020-11-01 Thread Ankit Nautiyal
HDMI2.1 PCON advertises Max FRL bandwidth supported by the PCON and by the sink. This patch captures these in dfp cap structure in intel_dp and uses these to prune connector modes that cannot be supported by the PCON and sink FRL bandwidth. v2: Addressed review comments from Uma Shankar:

[PATCH v2 12/13] drm/i915: Add helper functions for calculating DSC parameters for HDMI2.1

2020-11-01 Thread Ankit Nautiyal
The DP-HDMI2.1 PCON spec provides way for a source to set PPS parameters: slice height, slice width and bits_per_pixel, based on the HDMI2.1 sink capabilities. The DSC encoder of the PCON will respect these parameters, while preparing the 128 byte PPS. This patch adds helper functions to

[PATCH v2 05/13] drm/dp_helper: Add support for link failure detection

2020-11-01 Thread Ankit Nautiyal
From: Swati Sharma There are specific DPCDs defined for detecting link failures between the PCON and HDMI sink and check the link status. In case of link failure, PCON will communicate the same using an IRQ_HPD to source. HDMI sink would have indicated the same to PCON using SCDC interrupt

[PATCH v2 04/13] drm/dp_helper: Add Helpers for FRL Link Training support for DP-HDMI2.1 PCON

2020-11-01 Thread Ankit Nautiyal
This patch adds support for configuring a PCON device, connected as a DP branched device to enable FRL Link training with a HDMI2.1 + sink. v2: Fixed typos and addressed other review comments from Uma Shankar. -changed the commit message for better clarity (Uma Shankar) -removed unnecessary

[PATCH v2 13/13] drm/i915: Configure PCON for DSC1.1 to DSC1.2 encoding

2020-11-01 Thread Ankit Nautiyal
When a source supporting DSC1.1 is connected to DSC1.2 HDMI2.1 sink via DP HDMI2.1 PCON, the PCON can be configured to decode the DSC1.1 compressed stream and encode to DSC1.2. It then sends the DSC1.2 compressed stream to the HDMI2.1 sink. This patch configures the PCON for DSC1.1 to DSC1.2

[PATCH v2 08/13] drm/i915: Add support for starting FRL training for HDMI2.1 via PCON

2020-11-01 Thread Ankit Nautiyal
This patch adds functions to start FRL training for an HDMI2.1 sink, connected via a PCON as a DP branch device. This patch also adds a new structure for storing frl training related data, when FRL training is completed. v2: As suggested by Uma Shankar: -renamed couple of variables for better

[PATCH v2 11/13] drm/i915: Read DSC capabilities of the HDMI2.1 PCON encoder

2020-11-01 Thread Ankit Nautiyal
This patch adds support to read and store the DSC capabilities of the HDMI2.1 PCon encoder. It also adds a new field to store these caps, The caps are read during dfp update and can later be used to get the PPS parameters for PCON-HDMI2.1 sink pair. Which inturn will be used to take a call to

  1   2   >