diff for duplicates of <52acd5d6-6964-464b-3f83-b1fcc3329f1e@mediatek.com> diff --git a/a/1.bin b/a/1.bin deleted file mode 100644 index 02755db..0000000 --- a/a/1.bin +++ /dev/null @@ -1,61 +0,0 @@ -<pre> -On 2/11/22 6:43 AM, Mario Limonciello wrote: -> Currently `pci_is_thunderbolt_attached` is used to indicate a device -> is connected externally. ->  -> The PCI core now marks such devices as removable and downstream drivers -> can use this instead. ->  -> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> -> --- ->   drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +- ->   drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c  | 2 +- ->   2 files changed, 2 insertions(+), 2 deletions(-) ->  -> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c -> index 1ebb91db2274..6dbf5753b5be 100644 -> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c -> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c -> @@ -161,7 +161,7 @@ int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags) ->       (amdgpu_is_atpx_hybrid() || ->        amdgpu_has_atpx_dgpu_power_cntl()) && ->       ((flags & AMD_IS_APU) == 0) && -> -    !pci_is_thunderbolt_attached(to_pci_dev(dev->dev))) -> +    !dev_is_removable(&adev->pdev->dev)) ->   flags |= AMD_IS_PX; ->    ->   parent = pci_upstream_bridge(adev->pdev); -> diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c b/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c -> index ee7cab37dfd5..2c5d74d836f0 100644 -> --- a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c -> +++ b/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c -> @@ -382,7 +382,7 @@ static void nbio_v2_3_enable_aspm(struct amdgpu_device *adev, ->    ->   data |= NAVI10_PCIE__LC_L0S_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L0S_INACTIVITY__SHIFT; ->    -> -if (pci_is_thunderbolt_attached(adev->pdev)) -> +if (dev_is_removable(&adev->pdev->dev)) ->   data |= NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT  << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT; ->   else ->   data |= NAVI10_PCIE__LC_L1_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT; ->  - -Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com> - -Thanks! - -Regards, -Macpaul Lin -</pre><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ******************** -The information contained in this e-mail message (including any -attachments) may be confidential, proprietary, privileged, or otherwise -exempt from disclosure under applicable laws. It is intended to be -conveyed only to the designated recipient(s). Any use, dissemination, -distribution, printing, retaining or copying of this e-mail (including its -attachments) by unintended recipient(s) is strictly prohibited and may -be unlawful. If you are not an intended recipient of this e-mail, or believe -that you have received this e-mail in error, please notify the sender -immediately (by replying to this e-mail), delete any and all copies of -this e-mail (including any attachments) from your system, and do not -disclose the content of this e-mail to any other person. Thank you! -</pre><!--}--> diff --git a/a/2.txt b/N1/1.txt similarity index 100% rename from a/2.txt rename to N1/1.txt diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index 68eb210..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,4 +0,0 @@ -Content-Type: text/plain; - charset="utf-8"; - format=flowed -Content-Transfer-Encoding: base64 diff --git a/a/content_digest b/N1/content_digest index 0fa3613..6776bb5 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -15,72 +15,9 @@ " open list:X86 PLATFORM DRIVERS <platform-driver-x86@vger.kernel.org>\0" "Cc\0Michael Jamet <michael.jamet@intel.com>" Yehezkel Bernat <YehezkelShB@gmail.com> - Alexander.Deucher@amd.com - " Lukas Wunner <lukas@wunner.de>\0" - "\01:1\0" - "b\0" - "<pre>\r\n" - "On 2/11/22 6:43 AM, Mario Limonciello wrote:\r\n" - "> Currently `pci_is_thunderbolt_attached` is used to indicate a device\r\n" - "> is connected externally.\r\n" - "> \r\n" - "> The PCI core now marks such devices as removable and downstream drivers\r\n" - "> can use this instead.\r\n" - "> \r\n" - "> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>\r\n" - "> ---\r\n" - ">   drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 +-\r\n" - ">   drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c  | 2 +-\r\n" - ">   2 files changed, 2 insertions(+), 2 deletions(-)\r\n" - "> \r\n" - "> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c\r\n" - "> index 1ebb91db2274..6dbf5753b5be 100644\r\n" - "> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c\r\n" - "> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c\r\n" - "> @@ -161,7 +161,7 @@ int amdgpu_driver_load_kms(struct amdgpu_device *adev, unsigned long flags)\r\n" - ">       (amdgpu_is_atpx_hybrid() ||\r\n" - ">        amdgpu_has_atpx_dgpu_power_cntl()) &&\r\n" - ">       ((flags & AMD_IS_APU) == 0) &&\r\n" - "> -    !pci_is_thunderbolt_attached(to_pci_dev(dev->dev)))\r\n" - "> +    !dev_is_removable(&adev->pdev->dev))\r\n" - ">   flags |= AMD_IS_PX;\r\n" - ">   \r\n" - ">   parent = pci_upstream_bridge(adev->pdev);\r\n" - "> diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c b/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c\r\n" - "> index ee7cab37dfd5..2c5d74d836f0 100644\r\n" - "> --- a/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c\r\n" - "> +++ b/drivers/gpu/drm/amd/amdgpu/nbio_v2_3.c\r\n" - "> @@ -382,7 +382,7 @@ static void nbio_v2_3_enable_aspm(struct amdgpu_device *adev,\r\n" - ">   \r\n" - ">   data |= NAVI10_PCIE__LC_L0S_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L0S_INACTIVITY__SHIFT;\r\n" - ">   \r\n" - "> -if (pci_is_thunderbolt_attached(adev->pdev))\r\n" - "> +if (dev_is_removable(&adev->pdev->dev))\r\n" - ">   data |= NAVI10_PCIE__LC_L1_INACTIVITY_TBT_DEFAULT  << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;\r\n" - ">   else\r\n" - ">   data |= NAVI10_PCIE__LC_L1_INACTIVITY_DEFAULT << PCIE_LC_CNTL__LC_L1_INACTIVITY__SHIFT;\r\n" - "> \r\n" - "\r\n" - "Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>\r\n" - "\r\n" - "Thanks!\r\n" - "\r\n" - "Regards,\r\n" - "Macpaul Lin\r\n" - "</pre><!--type:text--><!--{--><pre>************* MEDIATEK Confidentiality Notice ********************\r\n" - "The information contained in this e-mail message (including any \r\n" - "attachments) may be confidential, proprietary, privileged, or otherwise\r\n" - "exempt from disclosure under applicable laws. It is intended to be \r\n" - "conveyed only to the designated recipient(s). Any use, dissemination, \r\n" - "distribution, printing, retaining or copying of this e-mail (including its \r\n" - "attachments) by unintended recipient(s) is strictly prohibited and may \r\n" - "be unlawful. If you are not an intended recipient of this e-mail, or believe \r\n" - "that you have received this e-mail in error, please notify the sender \r\n" - "immediately (by replying to this e-mail), delete any and all copies of \r\n" - "this e-mail (including any attachments) from your system, and do not\r\n" - "disclose the content of this e-mail to any other person. Thank you!\r\n" - </pre><!--}--> - "\01:2\0" + Lukas Wunner <lukas@wunner.de> + " <Alexander.Deucher@amd.com>\0" + "\00:1\0" "b\0" "On 2/11/22 6:43 AM, Mario Limonciello wrote:\n" "> Currently `pci_is_thunderbolt_attached` is used to indicate a device\n" @@ -130,4 +67,4 @@ "Regards,\n" Macpaul Lin -7d4225486578489305fa7e6168f62ae929fe1e94f7e66494c84580ae4c0e97a5 +cde9bdbc11399d2fbf24d57998a265c0591586e4616957c77b4a00508c09e550
diff --git a/a/content_digest b/N2/content_digest index 0fa3613..f2a8aff 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,7 +1,7 @@ "ref\020220210224329.2793-1-mario.limonciello@amd.com\0" "ref\020220210224329.2793-6-mario.limonciello@amd.com\0" "From\0Macpaul Lin <macpaul.lin@mediatek.com>\0" - "Subject\0Re: [PATCH v2 5/9] drm/amd: drop the use of `pci_is_thunderbolt_attached`\0" + "Subject\0Re: [Nouveau] [PATCH v2 5/9] drm/amd: drop the use of `pci_is_thunderbolt_attached`\0" "Date\0Fri, 11 Feb 2022 09:31:51 +0800\0" "To\0Mario Limonciello <mario.limonciello@amd.com>" Bjorn Helgaas <bhelgaas@google.com> @@ -15,8 +15,7 @@ " open list:X86 PLATFORM DRIVERS <platform-driver-x86@vger.kernel.org>\0" "Cc\0Michael Jamet <michael.jamet@intel.com>" Yehezkel Bernat <YehezkelShB@gmail.com> - Alexander.Deucher@amd.com - " Lukas Wunner <lukas@wunner.de>\0" + " Alexander.Deucher@amd.com\0" "\01:1\0" "b\0" "<pre>\r\n" @@ -130,4 +129,4 @@ "Regards,\n" Macpaul Lin -7d4225486578489305fa7e6168f62ae929fe1e94f7e66494c84580ae4c0e97a5 +4fb715907c9dac86c4ac5fb890a6f442efd6cdfb217cd238ca2ddd80881ebf89
diff --git a/a/content_digest b/N3/content_digest index 0fa3613..6ad3774 100644 --- a/a/content_digest +++ b/N3/content_digest @@ -15,8 +15,7 @@ " open list:X86 PLATFORM DRIVERS <platform-driver-x86@vger.kernel.org>\0" "Cc\0Michael Jamet <michael.jamet@intel.com>" Yehezkel Bernat <YehezkelShB@gmail.com> - Alexander.Deucher@amd.com - " Lukas Wunner <lukas@wunner.de>\0" + " Alexander.Deucher@amd.com\0" "\01:1\0" "b\0" "<pre>\r\n" @@ -130,4 +129,4 @@ "Regards,\n" Macpaul Lin -7d4225486578489305fa7e6168f62ae929fe1e94f7e66494c84580ae4c0e97a5 +96847643b83e8c8a4c3dea73d69dd8ffbd90cada96ae20045105a37d05626a47
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.