Re: [PATCH v5 6/6] drm/panel-edp: Fix AUO 0x405c panel naming and add a variant

2024-03-06 Thread Doug Anderson
Hi, On Wed, Mar 6, 2024 at 12:04 PM Hsin-Yi Wang wrote: > > @@ -1009,6 +1009,19 @@ static const struct panel_desc auo_b101ean01 = { > }, > }; > > +static const struct drm_display_mode auo_b116xa3_mode = { > + .clock = 70589, > + .hdisplay = 1366, > + .hsync_start = 1366

Re: [PATCH v4 1/3] drm/i915/gt: Disable HW load balancing for CCS

2024-03-06 Thread Matt Roper
On Wed, Mar 06, 2024 at 02:22:45AM +0100, Andi Shyti wrote: > The hardware should not dynamically balance the load between CCS > engines. Wa_14019159160 recommends disabling it across all > platforms. > > Fixes: d2eae8e98d59 ("drm/i915/dg2: Drop force_probe requirement") > Signed-off-by: Andi Shyt

Re: [PATCH v2 6/9] drm/vkms: Add YUV support

2024-03-06 Thread Louis Chauvet
my series, so I can rebase everything on the > >> line-by-line work. > > > > OK, I will do that. > > Hi, > > I know that I said that, but it would be very difficult to that with my > b4 workflow. So, I sent a separate series based on the v4: > > https://l

Re: [PATCH 4/7] drm/vkms: Fix compilation issues

2024-03-06 Thread Louis Chauvet
Le 06/03/24 - 17:03, Arthur Grillo a écrit : > Signed-off-by: Arthur Grillo > --- > drivers/gpu/drm/vkms/tests/vkms_format_test.c | 2 +- > drivers/gpu/drm/vkms/vkms_drv.h | 4 > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/vkms/tests/vkms_f

Re: [PATCH v4 3/3] drm/i915/gt: Enable only one CCS for compute workload

2024-03-06 Thread Matt Roper
On Wed, Mar 06, 2024 at 02:22:47AM +0100, Andi Shyti wrote: > Enable only one CCS engine by default with all the compute sices > allocated to it. > > While generating the list of UABI engines to be exposed to the > user, exclude any additional CCS engines beyond the first > instance. > > This cha

Re: [PATCH v5 3/6] drm/edid: Add a function to match EDID with identity

2024-03-06 Thread Hsin-Yi Wang
On Wed, Mar 6, 2024 at 3:30 PM Doug Anderson wrote: > > Hi, > > On Wed, Mar 6, 2024 at 12:04 PM Hsin-Yi Wang wrote: > > > > +static void > > +match_identity(const struct detailed_timing *timing, void *data) > > +{ > > + struct drm_edid_match_closure *closure = data; > > + unsigned int

Re: [PATCH v5 3/6] drm/edid: Add a function to match EDID with identity

2024-03-06 Thread Doug Anderson
Hi, On Wed, Mar 6, 2024 at 4:20 PM Hsin-Yi Wang wrote: > > On Wed, Mar 6, 2024 at 3:30 PM Doug Anderson wrote: > > > > Hi, > > > > On Wed, Mar 6, 2024 at 12:04 PM Hsin-Yi Wang wrote: > > > > > > +static void > > > +match_identity(const struct detailed_timing *timing, void *data) > > > +{ > > >

[drm-misc:drm-misc-next 2/2] drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c:332:61: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 8

2024-03-06 Thread kernel test robot
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: f89632a9e5fa6c4787c14458cd42a9ef42025434 commit: f89632a9e5fa6c4787c14458cd42a9ef42025434 [2/2] drm: Add CONFIG_DRM_WERROR config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20240307/202403070922.ogdsi4vn-..

Re: [PATCH] drm/udl: Add ARGB8888 as a format

2024-03-06 Thread Rob Clark
On Wed, Mar 6, 2024 at 3:24 PM Ville Syrjälä wrote: > > On Wed, Mar 06, 2024 at 07:37:16AM -0800, Rob Clark wrote: > > On Wed, Mar 6, 2024 at 7:06 AM Ville Syrjälä > > wrote: > > > > > > On Wed, Mar 06, 2024 at 06:49:15AM -0800, Rob Clark wrote: > > > > On Wed, Mar 6, 2024 at 4:18 AM Thomas Zimme

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2024-03-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/i915/display/intel_dp.c between commit: 984318aaf7b6 ("drm/i915/panelreplay: Move out psr_init_dpcd() from init_connector()") from the drm-intel-fixes tree and commit: e60cff453b82 ("drm/i915/dp: Enable

[PATCH v3] drm/ci: update device type for volteer devices

2024-03-06 Thread Vignesh Raman
Volteer devices in the collabora lab are categorized under the asus-cx9400-volteer device type. The majority of these units has an Intel Core i5-1130G7 CPU, while some of them have a Intel Core i7-1160G7 CPU instead. So due to this difference, new device type template is added for the Intel Core i5

Re: [PATCH] drm/amdgpu: add vm fault information to devcoredump

2024-03-06 Thread Khatri, Sunil
On 3/7/2024 12:51 AM, Deucher, Alexander wrote: [Public] -Original Message- From: Sunil Khatri Sent: Wednesday, March 6, 2024 1:20 PM To: Deucher, Alexander ; Koenig, Christian ; Sharma, Shashank Cc: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; linux- ker...@vger.

[PATCH v2] drm/amdgpu: add vm fault information to devcoredump

2024-03-06 Thread Sunil Khatri
Add page fault information to the devcoredump. Output of devcoredump: AMDGPU Device Coredump version: 1 kernel: 6.7.0-amd-staging-drm-next module: amdgpu time: 29.725011811 process_name: soft_recovery_p PID: 1720 Ring timed out details IP Type: 0 Ring Name: gfx_0.0.0 [gfxhub] Page faul

Re: [PATCH 22/22] drm: ensure drm headers are self-contained and pass kernel-doc

2024-03-06 Thread kernel test robot
Hi Jani, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [cannot apply to drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes linus/master v6.8-rc7 next-20240306] [If your patch is applied to the wrong git tree, kindly

Re: [PATCH 22/22] drm: ensure drm headers are self-contained and pass kernel-doc

2024-03-06 Thread kernel test robot
Hi Jani, kernel test robot noticed the following build errors: [auto build test ERROR on drm-misc/drm-misc-next] [cannot apply to drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes linus/master v6.8-rc7 next-20240306] [If your patch is applied to the wrong git tree, kindly

Re: [PATCH v3] dt-bindings: display: atmel,lcdc: convert to dtschema

2024-03-06 Thread Dharma.B
On 06/03/24 10:16 pm, Nicolas Ferre - M43238 wrote: > Dharma, all, > > On 06/03/2024 at 15:35, Dharma B - I70843 wrote: >> >> On 05/03/24 3:31 am, Rob Herring wrote: >>> On Mon, Mar 04, 2024 at 08:00:03PM +0530, Dharma Balasubiramani wrote: Convert the atmel,lcdc bindings to DT schema.

[PATCH v16 0/9] Enable Adaptive Sync SDP Support for DP

2024-03-06 Thread Mitul Golani
An Adaptive-Sync-capable DP protocol converter indicates its support by setting the related bit in the DPCD register. This is valid for DP and edp as well. Computes AS SDP values based on the display configuration, ensuring proper handling of Variable Refresh Rate (VRR) in the context of Adaptive

[PATCH v16 1/9] drm/dp: Add support to indicate if sink supports AS SDP

2024-03-06 Thread Mitul Golani
Add an API that indicates support for Adaptive Sync SDP in the sink, which can be utilized by the rest of the DP programming. --v1: - Format commit message properly. Signed-off-by: Mitul Golani Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/display/drm_dp_helper.c | 25 +++

[PATCH v16 2/9] drm: Add Adaptive Sync SDP logging

2024-03-06 Thread Mitul Golani
Add structure representing Adaptive Sync Secondary Data Packet (AS SDP). Also, add Adaptive Sync SDP logging in drm_dp_helper.c to facilitate debugging. --v2: - Update logging. [Jani, Ankit] - Use 'as_sdp' instead of 'async' [Ankit] - Correct define placeholders to where they are actually used. [J

[PATCH v16 3/9] drm/i915/display: Add crtc state dump for Adaptive Sync SDP

2024-03-06 Thread Mitul Golani
Add crtc state dump for Adaptive Sync SDP to know which crtc specifically caused the failure. Signed-off-by: Mitul Golani Reviewed-by: Ankit Nautiyal --- .../gpu/drm/i915/display/intel_crtc_state_dump.c| 13 + drivers/gpu/drm/i915/display/intel_display_types.h | 1 + 2 files c

[PATCH v16 5/9] drm/i915/dp: Add wrapper function to check AS SDP

2024-03-06 Thread Mitul Golani
Add a wrapper function to check if both the source and sink support Adaptive Sync SDP. --v1: Just use drm/i915/dp in subject line. Signed-off-by: Mitul Golani Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_dp.c | 8 drivers/gpu/drm/i915/display/intel_dp.h | 1 + 2

[PATCH v16 4/9] drm/i915/dp: Add Read/Write support for Adaptive Sync SDP

2024-03-06 Thread Mitul Golani
Add the necessary structures and functions to handle reading and unpacking Adaptive Sync Secondary Data Packets. Also add support to write and pack AS SDP. --v2: - Correct use of REG_BIT and REG_GENMASK. [Jani] - Use as_sdp instead of async. [Jani] - Remove unrelated comments and changes. [Jani] -

[PATCH v16 7/9] drm/i915/display: Add state checker for Adaptive Sync SDP

2024-03-06 Thread Mitul Golani
Enable infoframe and add state checker for Adaptive Sync SDP enablement. --v1: - crtc_state->infoframes.enable, to add on correct place holder. Signed-off-by: Mitul Golani Reviewed-by: Ankit Nautiyal --- drivers/gpu/drm/i915/display/intel_display.c | 46 1 file changed, 46

[PATCH v16 9/9] drm/i915/display: Read/Write Adaptive Sync SDP

2024-03-06 Thread Mitul Golani
Add read/write calls for Adaptive Sync SDP. Signed-off-by: Mitul Golani --- drivers/gpu/drm/i915/display/intel_ddi.c | 1 + drivers/gpu/drm/i915/display/intel_dp.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/inte

[PATCH v16 8/9] drm/i915/display: Compute vrr_vsync params

2024-03-06 Thread Mitul Golani
Compute vrr_vsync_start/end, which sets the position for hardware to send the Vsync at a fixed position relative to the end of the Vblank. --v2: - Updated VSYNC_START/END macros to VRR_VSYNC_START/END. (Ankit) - Updated bit fields of VRR_VSYNC_START/END. (Ankit) --v3: - Add PIPE_CONF_CHECK_I(vrr.

[PATCH v16 6/9] drm/i915/display: Compute AS SDP parameters

2024-03-06 Thread Mitul Golani
Add necessary function definitions to compute AS SDP data. The new intel_dp_compute_as_sdp function computes AS SDP values based on the display configuration, ensuring proper handling of Variable Refresh Rate (VRR). --v2: - Added DP_SDP_ADAPTIVE_SYNC to infoframe_type_to_idx(). [Ankit] - Separated

Re: [PATCH v3] drm/bridge: anx7625: Update audio status while detecting

2024-03-06 Thread Chen-Yu Tsai
rm/bridge: anx7625: add HDMI audio function") > Signed-off-by: Hsin-Te Yuan Reviewed-by: Chen-Yu Tsai > --- > Changes in v3: > - Add Fixes tag. > - Link to v2: > https://lore.kernel.org/r/20240306-anx7625-v2-1-7138e00b2...@chromium.org > > Changes in v2: > - Add

[PATCH] drm/mst: Fix NULL pointer dereference at drm_dp_add_payload_part2

2024-03-06 Thread Wayne Lin
[Why] Commit: - commit 5aa1dfcdf0a4 ("drm/mst: Refactor the flow for payload allocation/removement") accidently overwrite the commit - commit 54d217406afe ("drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2") which cause regression. [How] Recover the original NULL fix and remove the u

Re: [PATCH v3 1/1] UPSTREAM: drm/bridge: it6505: fix hibernate to resume no display issue

2024-03-06 Thread Pin-yen Lin
Hi Kuro, Following up my comments from v2 [1]: On Wed, Mar 6, 2024 at 10:09 AM kuro wrote: > > From: kuro chung > > ITE added a FIFO reset bit for input video. When system power resume, > the TTL input of it6505 may get some noise before video signal stable > and the hardware function reset is

Re: [PATCH RESEND drm-misc 4/4] dma-buf: heaps: make dma_heap_class constant

2024-03-06 Thread Sumit Semwal
Hello Ricardo, On Tue, 5 Mar 2024 at 22:37, T.J. Mercier wrote: > > On Tue, Mar 5, 2024 at 3:34 AM Ricardo B. Marliere > wrote: > > > > Since commit 43a7206b0963 ("driver core: class: make class_register() take > > a const *"), the driver core allows for struct class to be in read-only > > memo

<    1   2   3