Skip to content

Commit

Permalink
drm/amdkcl: fix macro for amdgpu_dm_mst_connector_early_unregister
Browse files Browse the repository at this point in the history
It's caused by m4 macro didn't align HAVE_DRM_DP_MST_CONNECTOR_EARLY_UNREGISTER
and HAVE_DRM_DP_MST_CONNECTOR_LATE_REGISTER

Signed-off-by: Aurabindo Pillai <Aurabindo.Pillai@amd.com>
Signed-off-by: bobzhou <bobzhou2@amd.com>
Reviewed-by: Leslie Shi <Yuliang.Shi@amd.com>
  • Loading branch information
bobzhou authored and Hongkun Zhang committed Nov 29, 2022
1 parent c0c4518 commit 7e51ca8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/amd/dkms/config/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@
#define HAVE_DOWN_WRITE_KILLABLE 1

/* drm_dp_mst_connector_early_unregister() is available */
#define HAVE_DP_MST_CONNECTOR_EARLY_UNREGISTER 1
#define HAVE_DRM_DP_MST_CONNECTOR_EARLY_UNREGISTER 1

/* drm_dp_mst_connector_late_register() is available */
#define HAVE_DP_MST_CONNECTOR_LATE_REGISTER 1
#define HAVE_DRM_DP_MST_CONNECTOR_LATE_REGISTER 1

/* drm_accurate_vblank_count() is available */
/* #undef HAVE_DRM_ACCURATE_VBLANK_COUNT */
Expand Down
4 changes: 2 additions & 2 deletions drivers/gpu/drm/amd/dkms/m4/drm-dp-mst-topology.m4
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ AC_DEFUN([AC_AMDGPU_DRM_DP_MST_TOPOLOGY], [
drm_dp_mst_connector_early_unregister(NULL, NULL);
drm_dp_mst_connector_late_register(NULL, NULL);
], [
AC_DEFINE(HAVE_DP_MST_CONNECTOR_EARLY_UNREGISTER, 1, [
AC_DEFINE(HAVE_DRM_DP_MST_CONNECTOR_EARLY_UNREGISTER, 1, [
drm_dp_mst_connector_early_unregister() is available])
AC_DEFINE(HAVE_DP_MST_CONNECTOR_LATE_REGISTER, 1, [
AC_DEFINE(HAVE_DRM_DP_MST_CONNECTOR_LATE_REGISTER, 1, [
drm_dp_mst_connector_late_register() is available])
])
])
Expand Down

0 comments on commit 7e51ca8

Please sign in to comment.