From patchwork Fri Mar 22 22:56:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 781873 Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) (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 5F48982891 for ; Fri, 22 Mar 2024 22:57:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711148224; cv=none; b=sJwQ3eUpMSIUS4VCrjMfBFxQI05l64gCx0j0b2IV+GBjzm7KhNvOw9aFFmf8FvGysOcE7YUJJh6etBmzYAFfhYNz/Xm6lBj/NhNnb6ESRGkibYv3wsX4VubzBIU0VRzbvfB8t1qx2xzbSkpd1IBAlRwLIfbmby97FSolgE/oNdY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711148224; c=relaxed/simple; bh=WdZH3u8yRJqqGjSYbceH8YaJBPAPZG8nl8tvSvRvLKI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=G+oP736kUwMR8rt8o5GyHyB/kVSr9xcqZAH+Hhyr1kkkJ1XhH6+kvr+V6RhENGyJBrI69yAtF/VODmyzF3v/w0Kq0103VulIlpecwvllYxMCMPkOygwt15GIL+/k1HHDRjruLR5uycV1IIQRUcIwBA9flLXwQ2lqbhiyEm94Buc= 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=u8ZY8NNx; arc=none smtp.client-ip=209.85.167.42 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="u8ZY8NNx" Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-513d212f818so3118807e87.2 for ; Fri, 22 Mar 2024 15:57:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711148220; x=1711753020; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=1WXlzxfTJnIOKH/FylqIk+DUTDY6h4Yser6h5v1mYdc=; b=u8ZY8NNx4wtcyci/z9Q2YhfzlZKYIl4jfE4SziQVOBYmGwPMfIP0ereikvArSe5TsE SRM5Z7Lki4h8hwev0TqnkDCbQPQSoj6Iub757q4t+oeH7QJZnm4UnOXJZjUsy5Q39zKQ Ds8BN2ofHYrwQFTR0t37lT5T+UasvT3/0vU3kL+Rv5zcsMfDnEzWGdAwxnBzVW43U6Ye uYIeulPLphKPhRg5T+oHV6MVayYnMZBHUf+08PSBGnClIfoXaNT/Pm1n3X07Y/KGAxKm 9NhyD8JTv92vSZODlwh5nM9EEWf/naGuwxN1MxeGdYJETqpRdnaNx0rTQK1ji/dyLHCj Pb3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711148220; x=1711753020; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1WXlzxfTJnIOKH/FylqIk+DUTDY6h4Yser6h5v1mYdc=; b=wjy3sbQcB6rFeKw7JZLth1nt28sBrbPbWmy5C/LyYz2Fp0Rno3cxqAP0/EpYEASPoI WGD3HHmVufCrhb4wVc28Ud0eWS5xW1dorStYMARYQ7mKPtXxb/BKXWZ7gvyr8TRqXoPQ xjc3oY77BOubiG1VhpcXjYYOV/ChWzoFuGW4pDOQX4kZTXlZL/pXaWJbm/vjYXso+2lQ yuKUlyPJpSb4yz5Nh996St5L9iWlKh3MvEUeFOuWmKFSA6AiX6o7V6oo0BbHzR3RttcG Om0ajtgP45pbwz0Wrbi/UqbYU79YcNH3f6nc8BP8A8obrlMSkrJaRJv9qj7KplYvSjxs cFCw== X-Forwarded-Encrypted: i=1; AJvYcCXsFYwsiHRZPNm4qQHVtCu093U12ccT/awtJvp+busv/QOPBXclTeoiU4l0HLofZ2lN+7ux67tYbPXltBLdH3BEQGR7jmt3LVitVP5nxA== X-Gm-Message-State: AOJu0YzexDDh8TImy0Sj6/okjBMYMi7z0ScyTaGCiy7PNNZvAnGD782j 58jeB8PpdURzbU/FVrwLUHEEeEGtk0ichrhC/kToYnqGDLDAzjq04u+QFvc+nR0= X-Google-Smtp-Source: AGHT+IFi98a3peQ7gl5fpSu6i7UURHoDaCqJKFvENDpkKo8CBFxcsgGxJ0sq2YvhLQ8oe9YUM1yavA== X-Received: by 2002:a19:750b:0:b0:513:572f:88f0 with SMTP id y11-20020a19750b000000b00513572f88f0mr432301lfe.41.1711148220176; Fri, 22 Mar 2024 15:57:00 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id e7-20020a196907000000b005158982f42csm78530lfc.16.2024.03.22.15.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 15:56:59 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 23 Mar 2024 00:56:54 +0200 Subject: [PATCH v4 02/16] drm/msm/hdmi: drop qfprom.xml.h Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240323-fd-xml-shipped-v4-2-cca5e8457b9e@linaro.org> References: <20240323-fd-xml-shipped-v4-0-cca5e8457b9e@linaro.org> In-Reply-To: <20240323-fd-xml-shipped-v4-0-cca5e8457b9e@linaro.org> To: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter Cc: linux-kbuild@vger.kernel.org, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4711; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=WdZH3u8yRJqqGjSYbceH8YaJBPAPZG8nl8tvSvRvLKI=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBl/gy2A60xzZFqp3Ep9ao6eEniBUNYUIkGdV0/N o5cRbHPVj+JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZf4MtgAKCRCLPIo+Aiko 1agCB/0d2CNfjewMhWwbP3Zj9yqK2cOBQ5NFsWUrybI/9jg9V5n97zlinvrvMR7r+DbxrOeGcII vQM/yOPtV4J0/cB0sZtFqOm2SksmVnKDPVrJs/KrB61/khwu+F3mKmWQz3G2Q6kYDCfQ7TWN59R f0NJo4r/UorbIxiuEaKWN1R65dzrVcJqRtjP/xY+/qQ7x585UyEFh9RSKrPs570PimiFFB/S8kA RIbZP5HkBqRKG9i+p2FfPteSLjdE58gTrJYkxLfGK/C14RIzCayRDtmPj1hlAmSAd9V74An7NRU tgZZYj2xnW8KGceupmt3n2aotNTd1MBKg4E17P1rNHyYN73H X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The qfprom.xml.h contains definitions for the nvmem code. They are not used in the existing code. Also if we were to use them later, we should have used nvmem cell API instead of using these defs. Drop the file. Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/hdmi/qfprom.xml.h | 61 ----------------------------------- 1 file changed, 61 deletions(-) diff --git a/drivers/gpu/drm/msm/hdmi/qfprom.xml.h b/drivers/gpu/drm/msm/hdmi/qfprom.xml.h deleted file mode 100644 index 498801526695..000000000000 --- a/drivers/gpu/drm/msm/hdmi/qfprom.xml.h +++ /dev/null @@ -1,61 +0,0 @@ -#ifndef QFPROM_XML -#define QFPROM_XML - -/* Autogenerated file, DO NOT EDIT manually! - -This file was generated by the rules-ng-ng headergen tool in this git repository: -http://github.com/freedreno/envytools/ -git clone https://github.com/freedreno/envytools.git - -The rules-ng-ng source files this header was generated from are: -- /home/robclark/src/mesa/mesa/src/freedreno/registers/msm.xml ( 944 bytes, from 2022-07-23 20:21:46) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/freedreno_copyright.xml ( 1572 bytes, from 2022-07-23 20:21:46) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp4.xml ( 20912 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp_common.xml ( 2849 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/mdp/mdp5.xml ( 37461 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi.xml ( 18746 bytes, from 2022-04-28 17:29:36) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_v2.xml ( 3236 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_28nm_8960.xml ( 4935 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_28nm.xml ( 7004 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_20nm.xml ( 3712 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_14nm.xml ( 5381 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_10nm.xml ( 4499 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/dsi_phy_7nm.xml ( 11007 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/sfpb.xml ( 602 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/dsi/mmss_cc.xml ( 1686 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/hdmi/qfprom.xml ( 600 bytes, from 2022-03-08 17:40:42) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/hdmi/hdmi.xml ( 42350 bytes, from 2022-09-20 17:45:56) -- /home/robclark/src/mesa/mesa/src/freedreno/registers/edp/edp.xml ( 10416 bytes, from 2022-03-08 17:40:42) - -Copyright (C) 2013-2022 by the following authors: -- Rob Clark (robclark) -- Ilia Mirkin (imirkin) - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice (including the -next paragraph) shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - - -#define REG_QFPROM_CONFIG_ROW0_LSB 0x00000238 -#define QFPROM_CONFIG_ROW0_LSB_HDMI_DISABLE 0x00200000 -#define QFPROM_CONFIG_ROW0_LSB_HDCP_DISABLE 0x00400000 - - -#endif /* QFPROM_XML */