drm/tegra: Update to Linux v6.16-rc1

Update the Tegra DRM driver to Linux v6.16-rc1. In Linux v6.16-rc1, the
drm_dp_link_power_up/down functions were moved from the Tegra DRM driver
into the main DRM code. Conftest is used to detect this change and the
appropriate updates are made to the Tegra DRM driver.

JIRA LINQPJ14-60

Change-Id: Id5449b22e8eda5ee70eb6aed09ce627e63e7722e
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3375214
(cherry picked from commit f8adc0c950eb4905d397b6e1d8e524b856945f0e)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3461883
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Jon Hunter
2025-06-11 09:44:44 +01:00
committed by mobile promotions
parent da9c8f46c4
commit e004561637
14 changed files with 83 additions and 22 deletions

View File

@@ -7217,6 +7217,23 @@ compile_test() {
compile_check_conftest "$CODE" "NV_DRM_DISPLAY_INFO_STRUCT_HAS_SOURCE_PHYSICAL_ADDRESS" "" "types"
;;
drm_dp_link_power_up)
#
# Determine if the function drm_dp_link_power_up is present
#
# This change was made in Linux v6.16 by commit 09cdda7a60f4 ("drm/dp: Pull
# drm_dp_link_power_up/down from Tegra to common drm_dp_helper").
#
CODE="
#undef CONFIG_ACPI
#include <drm/display/drm_dp_helper.h>
int conftest_drm_dp_link_power_up(void) {
drm_dp_link_power_up();
}"
compile_check_conftest "$CODE" "NV_DRM_DP_LINK_POWER_UP_PRESENT" "" "functions"
;;
drm_driver_has_fbdev_probe)
#
# Determine if the 'drm_driver' structure has an 'fbdev_probe'