From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CA9525684; Thu, 13 Feb 2025 15:28:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739460521; cv=none; b=FF38MuE5vc/bL1e9oYRA/lmFFZE5RGDFILCcw4e3KKxseMcdfu9T754YTF85zs5VEsbkpGb7FHcaDh1xxR/uVlraA8prc5cNKkJfCPL195Y1ZF5lLCRjNABhCMfN2dLq+eElV0EkD7pHLvFa46+6pK3nkwSeGRkkZXtL8LQKMcE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739460521; c=relaxed/simple; bh=iZEeE91PuYQyQGVyuw/O3sntRAeALgPUB0/TWBPZgjo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=lmuk/9eoLgnd0aFeBCMGZBhXv2VgdWLiEwFNspE0LX6fffgxQqnzOq0zbTuWxlsb4tK7voCWYWcFI7RvgZm53SNeUiqf+Gcm+pBjcOXtO8IEFShuOLthkBLg9yn7Y9oYgwXt1L8l6nbQQXu+Gr9U2EV3PkbO8Pzq7FLt5Jmfnfo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=aSYzENY8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="aSYzENY8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 360C5C4CEE4; Thu, 13 Feb 2025 15:28:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1739460521; bh=iZEeE91PuYQyQGVyuw/O3sntRAeALgPUB0/TWBPZgjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aSYzENY8UN43De4gTmS8jQDMRglyLGhTpWh1zAGZAG2XfqXVbL5G9aHXhekTdGC4H /XVqc98JbSfh8VF3aARgzO8TDIebRiePWtsgJxmASyJtbp0EhEFnMdAmjslJspR3Jb 0iM+9eyvCU1YW7i0OE+TniQ3UqqT+ZVxKMr7ES+M= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= , Juha-Pekka Heikkila , Rodrigo Vivi Subject: [PATCH 6.6 103/273] drm/i915: Drop 64bpp YUV formats from ICL+ SDR planes Date: Thu, 13 Feb 2025 15:27:55 +0100 Message-ID: <20250213142411.418650599@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250213142407.354217048@linuxfoundation.org> References: <20250213142407.354217048@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Ville Syrjälä commit c7b49506b3ba7a62335e6f666a43f67d5cd9fd1e upstream. I'm seeing underruns with these 64bpp YUV formats on TGL. The weird details: - only happens on pipe B/C/D SDR planes, pipe A SDR planes seem fine, as do all HDR planes - somehow CDCLK related, higher CDCLK allows for bigger plane with these formats without underruns. With 300MHz CDCLK I can only go up to 1200 pixels wide or so, with 650MHz even a 3840 pixel wide plane was OK - ICL and ADL so far appear unaffected So not really sure what's the deal with this, but bspec does state "64-bit formats supported only on the HDR planes" so let's just drop these formats from the SDR planes. We already disallow 64bpp RGB formats. Cc: stable@vger.kernel.org Signed-off-by: Ville Syrjälä Link: https://patchwork.freedesktop.org/patch/msgid/20241218173650.19782-2-ville.syrjala@linux.intel.com Reviewed-by: Juha-Pekka Heikkila (cherry picked from commit 35e1aacfe536d6e8d8d440cd7155366da2541ad4) Signed-off-by: Rodrigo Vivi Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/i915/display/skl_universal_plane.c | 4 ---- 1 file changed, 4 deletions(-) --- a/drivers/gpu/drm/i915/display/skl_universal_plane.c +++ b/drivers/gpu/drm/i915/display/skl_universal_plane.c @@ -102,8 +102,6 @@ static const u32 icl_sdr_y_plane_formats DRM_FORMAT_Y216, DRM_FORMAT_XYUV8888, DRM_FORMAT_XVYU2101010, - DRM_FORMAT_XVYU12_16161616, - DRM_FORMAT_XVYU16161616, }; static const u32 icl_sdr_uv_plane_formats[] = { @@ -130,8 +128,6 @@ static const u32 icl_sdr_uv_plane_format DRM_FORMAT_Y216, DRM_FORMAT_XYUV8888, DRM_FORMAT_XVYU2101010, - DRM_FORMAT_XVYU12_16161616, - DRM_FORMAT_XVYU16161616, }; static const u32 icl_hdr_plane_formats[] = {