From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A4857343201 for ; Tue, 27 Jan 2026 10:59:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769511602; cv=none; b=cYn49nUovkn3P9+QgAVB0u1zmgE1/ceh5JDrlC+QIgYNuB3lz0YM3EsAu4RewQg7pV9lFZ/iqB9KBnI9SedViVTG6fsyyK6Ouc6YWTak9hm/IJFoPcxjXmukGf6h4G2SDPLQwL1ToDofuKk+9B0x6xAFJqfrHzBHxvX09D1Glkk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769511602; c=relaxed/simple; bh=D2kCyHPXntn8wdED0IAgyw6iFFBcex6Ww+f+RPNqHgY=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=RQV60rK6hrcpvz5uV1RQXhc23c74cNnDYwhgEqSOjwYi+t69Wh5YsVRUY3EVMT2jk1rxZPIsE7Z2Q2UQS41r+QqG7PxRpCWJ+4V1C+eAjzDOGpCUv77rJgmvfRKFst5E3UO/mkWjf+YU9USIxoHUFu+PkT/+1ev0IBJLazZGaew= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool; spf=pass smtp.mailfrom=packett.cool; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b=fBgcHO1V; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=packett.cool Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=packett.cool Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=packett.cool header.i=@packett.cool header.b="fBgcHO1V" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=packett.cool; s=key1; t=1769511597; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lhlzQCmgNkMJSHlIA4zS8Ozat5WOiAUqTpQUdu6tdPg=; b=fBgcHO1V1BXCKJAg1hwxThPkBmXKxdbZOYWnPjpE0ilDfaAEz2l5Q6Cs/heMeMadL0apc+ iPDIWcbIDaKX4tO7aGa88vFTYAd2uaJwxLAQAz3yiGw1NulmJt+sjanoLiHoi7cpC+s1nh wS0oZs0wUp8+7+NYfdebj+SC88RpzQc9rxDTJDQi9s/kV7TcxjsYPi5gjkHxlxzVWIuuaf q4tCRy6YWLmxljpeDeJiXlQJB96QGuxo9EfC8NFcZ72PkWY/4Q3oi6hPl/f2lQKUumV1i/ BA9iC3gfLQF1M5cMrknXqcWQV8i40AtQpOtyiTj6nUoH6iVA5Je2Plj3FFbeHA== Date: Tue, 27 Jan 2026 07:59:34 -0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Val Packett Subject: Re: [PATCH 2/2] drm/msm/dpu: try reserving the DSPP-less LM first To: Dmitry Baryshkov Cc: Rob Clark , Abhinav Kumar , Jessica Zhang , Sean Paul , Marijn Suijten , David Airlie , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20260115-dpu-fix-dspp-v1-0-b73152c147b3@oss.qualcomm.com> <20260115-dpu-fix-dspp-v1-2-b73152c147b3@oss.qualcomm.com> <33424a9d-10a6-4479-bba6-12f8ce60da1a@packett.cool> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 1/27/26 7:34 AM, Dmitry Baryshkov wrote: > On Tue, Jan 27, 2026 at 06:43:32AM -0300, Val Packett wrote: >> this has massively broken things on my x1e device (latitude-7455): >> [..] >> Reverted only this commit and it's back to normal, so I'm pretty sure it's >> this. > Interesting. Could you please capture the dri-state (only the last part, > resource mapping) with the external monitor attached and with this > commit reverted? Just reverted: crtc[106]: crtc-0 [..]         mode: "2560x1600": 60 280710 2560 2608 2640 2720 1600 1603 1609 1720 0x48 0x9         lm[0]=0         ctl[0]=0         dspp[0]=0         lm[1]=1         ctl[1]=0         dspp[1]=1 crtc[107]: crtc-1 [..]         mode: "3840x2560": 60 631750 3840 3888 3920 4000 2560 2563 2573 2633 0x48 0x9         lm[0]=2         ctl[0]=1         lm[1]=3         ctl[1]=1 resource mapping: pingpong=106 106 107 107 # # - - # # - - - mixer=106 106 107 107 # # - - ctl=106 107 # # # # - - dspp=# # # # - - - - dsc=# # # # - - - - cdm=# sspp=# # # # - - - - # # # # # # - - cwb=- - - - > Also, could you please run another check: > - revert this commit > - comment out LM_2, LM_3 in the catalog > - try the resulting kernel with the external monitor Commented out: crtc[106]: crtc-0 [..]         mode: "2560x1600": 60 280710 2560 2608 2640 2720 1600 1603 1609 1720 0x48 0x9         lm[0]=0         ctl[0]=0         dspp[0]=0         lm[1]=1         ctl[1]=0         dspp[1]=1 crtc[107]: crtc-1 [..]         mode: "3840x2560": 60 631750 3840 3888 3920 4000 2560 2563 2573 2633 0x48 0x9         lm[0]=4         ctl[0]=1         lm[1]=5         ctl[1]=1 resource mapping:         pingpong=106 106 # # 107 107 - - # # - - -         mixer=106 106 - - 107 107 - -         ctl=106 107 # # # # - -         dspp=# # # # - - - -         dsc=# # # # - - - -         cdm=#         sspp=# # # # - - - - # # # # # # - -         cwb=- - - - Not sure why the dspp= line in resource mapping doesn't show any numbers when a crtc has dspp[0]= and dspp[1]= o.0 But with LM 4+5, gamma control doesn't affect the external monitor. ~val