Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp540181lqb; Fri, 24 May 2024 06:21:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1FSPsYeMNuNgHSFaQyZvzB5tlH7mHFQbpyAaBnY78CemRubHrqBN301NhbjtlnmWrCiAUN+F4thuEFZcr4e1MAhhWlNzpO3uDJltgsw== X-Google-Smtp-Source: AGHT+IHQYe8LBjSVfocckCzJVl6I3lJqYR6zOEmeXR0jLr1fooejYOZd+/A8hvFRrcEHXIrmauVu X-Received: by 2002:a17:902:654f:b0:1f4:466f:8c90 with SMTP id d9443c01a7336-1f4466f8dddmr26515605ad.8.1716556889410; Fri, 24 May 2024 06:21:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716556889; cv=pass; d=google.com; s=arc-20160816; b=sGsxI5QxhQk5Mg/gfPFKBg+u85TYNCPMGY1JWHXYspaZrpKjkJHU+UWxnHC5WRCdJ9 F+TnxFAbJ6rlyehNQzpvHc9Y023RV8KpUb599Ed9PVqUFc/NysVq8xQ3prTYOpzd1hC5 GWdtsHaziIAWyJkan2XloYIuwOapdh/4Bh+fpHNCYF5Oiyp5kNXPj94Y7EMps41taE+l 4FdnQX0lawsHX6YhvmXeqz+2b0RXxKqVX2KWh6omWiNQS0WCGhv8QIk2rZoQ4iBBcnoB KnCsgIK/Uh32I8TyYgfI4q46SvsMsyiJhGG6ZNGzaH8FRTRdkspPbynYMZwsEV9P+63K R3Uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=9LDfNWVg/nkGwfC2fZiQvw0fSrYSYmc/J/W6QstXb1o=; fh=w0iUi6vyiRaVFwoBnfCDjCrvQsdbbot2qm1kNTI9QqE=; b=Cey6Coc9xsBCWQsOy93pPElm2TXgiuHKtmPEnmm0v838rfP4BfPiYWEgCnv7+TCdMn OA14Zrz8KgxyM2wz3lD11+iDlYb6iNAjnrCff9ddUhhWSSkY3Xbm+OTZp4+t6Ve7nlLl Wa7R25qG8FNhNrA3kXbjT3SzcpRSmi/Oim3YSj+tg5bNIGH+oPRoKaobD0Ep1QweAWeJ NOWkESyJkhueBjacx/uculLO5ShBSJd1x2v5g+1LbwOAnG+KE3WdRiW/S4zMMKYfALTm INdcLeTD2qokrfkutC8rSHokR+nzNkjfKNn65c4PlsdmnIy4YCy+FCqYXc4f2l6UHCBH A+Dw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yDwqcH6t; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-188728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822ae56f6asi1287013a12.787.2024.05.24.06.21.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 06:21:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yDwqcH6t; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-188728-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188728-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6A94CB21761 for ; Fri, 24 May 2024 13:21:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 521731272A0; Fri, 24 May 2024 13:19:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yDwqcH6t" Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C03912AAD7 for ; Fri, 24 May 2024 13:19:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716556787; cv=none; b=Ise7R4f6XPddpsTb9/k/ARZxPqYWa2JCxDrHAPI1aVP8cp0iJi8xFDeLO2PYb9v6mJAVXHouw4bS0bQtKwsjcPKFpI3uEVQ90+tKDswXj8KUYWC9+/7SNSSNsXj4zSlhWOwvFIonxDw9HSMWJ4cm2j6uokdbA9BU7Ijf0HSfYjo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716556787; c=relaxed/simple; bh=+VbmLrr+MxBwHguG6QH57yAkTY866KqHsjxTiaWJiUo=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=noM9bB5vm2WNcWYXmWK2OKEPVA0lI83JW3b9sgxS5GrYsEzh3DNVHGqvSbQbwjjp/ICGndHEZ6VqwsWMNZcFxsMY0HD+Wm8RcUJighNVqwWHdH2H/JYdkCdq3fy0f/wh1JLUQGmukfwQTxsQoS5hu2Df0euzUfar6xrSHbt0MDI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yDwqcH6t; arc=none smtp.client-ip=209.85.210.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-6f8f34cb0beso628248b3a.1 for ; Fri, 24 May 2024 06:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716556784; x=1717161584; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=9LDfNWVg/nkGwfC2fZiQvw0fSrYSYmc/J/W6QstXb1o=; b=yDwqcH6tdqler7KfibWEF/Z0uAMi0N4Wt1Es+Sw0hhAL/Bq2I2wsy2NquFiolbmyBK 1bxI7VXQNyBMk6a9Jwd8DulvEKz+LbMFcI8QtFzGA9c6m/Aklv6dKbpwDDZ3dyfnAH7T iiu+HHkwEbomY/XolJn55mfzyiTlbTWObl+8Uw485/9vdjjoekZBUg7og+cKlv1QP8Jw iq22nrthDVlQjTdwpgXVe/Zs3lyZONpNHkxm3GI7xDLeiaDyxjZ0S7SQAMytg9N+J6UP uuWQgrQg7sY4bR+t0anr5UlOF8Sb+cUJXjE71gywNUzKYE3wwPVeDOdFGmn4fVw+OtEa EFSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716556784; x=1717161584; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9LDfNWVg/nkGwfC2fZiQvw0fSrYSYmc/J/W6QstXb1o=; b=ilC04FCvPxBUDbcifSYVJC7LMQug67wtuyoL8yWquFEu0Iwc/rZtK66G83rO5dIj9k efdYiKX/olDf3FfEgaZIDuCeZI2cQaf0HQrRWPdRJq5Qsve13YyVJz6BShosrCIjXbxL NeoQ551VDbcjNAQbasi1r6CqIlEX2TaOZ5b86kREyE8WouZOAaS7rYlADeP1tAnlNHni vQCSbaQmpRLRO7t9OQEfdx4DWX1rncQEieYoAJdye8Ff4T0iY7HCo5FEz0RVfQTQNRz5 kSMnNNOg1vcmjH+//4aEY2sfONvvFUNoJcaL8Yb9V2XcD4Pv7r7IN668bZFnEkWLIt8C WM7g== X-Forwarded-Encrypted: i=1; AJvYcCVjZfWkyFLg9aTw+rTezvotXztwQ4Hyapl10Q20C6MFHzBNpKA0WhAZ/aN7miYWFnBZWdjjsVNMQr70yFn8gsAznPDTsOoA0Cple5fW X-Gm-Message-State: AOJu0YyNI/q9fczvkdkJEw5mEa9K7gjKhomvtDMIQz0byrpv+jgaYAF1 yNj1TNJz1Ijd4VYRJW3x2WNfrZLmRaH6LZ6OOlSzIEZWKhvcPexUzktuEnkmego= X-Received: by 2002:a05:6a21:6d9e:b0:1af:cbe1:8a4e with SMTP id adf61e73a8af0-1b212dd09famr3256099637.23.1716556783894; Fri, 24 May 2024 06:19:43 -0700 (PDT) Received: from [127.0.1.1] ([112.64.61.67]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f8fd2d492csm1117852b3a.179.2024.05.24.06.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 06:19:43 -0700 (PDT) From: Jun Nie Subject: [PATCH v4 0/5] Add DSC support to DSI video panel Date: Fri, 24 May 2024 21:18:20 +0800 Message-Id: <20240524-msm-drm-dsc-dsi-video-upstream-4-v4-0-e61c05b403df@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJyTUGYC/x2NQQqDUAwFryJZNyDhK61XkS7U/2yz+CpJK4J49 4YuZjGbmZMcpnDqqpMMu7quS0i6VTS9h+UF1hxOUkuqG0lcvHC2wKdAedeMlb+bfwxD4cQiEGn becT9QZHZDLMe/0X/vK4f6nuR7nIAAAA= To: Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Jessica Zhang , Vinod Koul Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jun Nie , Jonathan Marek X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1716556778; l=1621; i=jun.nie@linaro.org; s=20240403; h=from:subject:message-id; bh=+VbmLrr+MxBwHguG6QH57yAkTY866KqHsjxTiaWJiUo=; b=+UYOOp4JE49VtIHFxZq+eHqAnMnpfrs4LQ7WhRjxDKutKQ5aM4fp53lUrH9EFfbdLYftxfqze /jUY0i3IGpGDo0Nu3UIcs2ZnP7pr1vlm4nrmeuDyyy+X39rt+JHQvds X-Developer-Key: i=jun.nie@linaro.org; a=ed25519; pk=MNiBt/faLPvo+iJoP1hodyY2x6ozVXL8QMptmsKg3cc= This is follow up update to Jonathan's patch set. Changes vs V3: - Rebase to latest msm-next-lumag branch. - Drop the slice_per_pkt change as it does impact basic DSC feature. - Remove change in generated dsi header - update DSC compressed width calculation with bpp and bpc - split wide bus impact on width into another patch - rename patch tile of VIDEO_COMPRESSION_MODE_CTRL_WC change - Polish warning usage - Add tags from reviewers Changes vs V2: - Drop the INTF_CFG2_DATA_HCTL_EN change as it is handled in latest mainline code. - Drop the bonded DSI patch as I do not have device to test it. - Address comments from version 2. Signed-off-by: Jun Nie --- Jonathan Marek (4): drm/msm/dpu: fix video mode DSC for DSI drm/msm/dsi: set video mode widebus enable bit when widebus is enabled drm/msm/dsi: set VIDEO_COMPRESSION_MODE_CTRL_WC drm/msm/dsi: add a comment to explain pkt_per_line encoding Jun Nie (1): drm: adjust data width for widen bus case drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 8 ++++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_vid.c | 13 +++++++++++++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_intf.c | 12 ++++++++++++ drivers/gpu/drm/msm/dsi/dsi_host.c | 10 +++++++++- 5 files changed, 43 insertions(+), 2 deletions(-) --- base-commit: e6428bcb611f6c164856a41fc5a1ae8471a9b5a9 change-id: 20240524-msm-drm-dsc-dsi-video-upstream-4-22e2266fbe89 Best regards, -- Jun Nie