Skip to contentSkip to conversation

drm/nouveau: Remove no longer needed local ACPI_VIDEO_NOTIFY_PROBE define

PATCH In review Hans de Goede 3 participants 4 messages May 26, 2017 – Dec 29, 2017 3 messages not in the archive

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/nouveau: Remove no longer needed local ACPI_VIDEO_NOTIFY_PROBE define

The local #define of ACPI_VIDEO_NOTIFY_PROBE was only added temporarily to avoid a dependency between the acpi and nouveau trees while merging.

This is now properly defined in acpi/video.h and the local #define can be dropped.

---
 drivers/gpu/drm/nouveau/nouveau_display.c | 9 ---------
 1 file changed, 9 deletions(-)
drivers/gpu/drm/nouveau/nouveau_display.c +0 -9
index 549763f5e17d..70de2079b2cc 100644
@@ -369,15 +369,6 @@ nouveau_display_hpd_work(struct work_struct *work)
 
 #ifdef CONFIG_ACPI
 
-/*
- * Hans de Goede: This define belongs in acpi/video.h, I've submitted a patch
- * to the acpi subsys to move it there from drivers/acpi/acpi_video.c .
- * This should be dropped once that is merged.
- */
-#ifndef ACPI_VIDEO_NOTIFY_PROBE
-#define ACPI_VIDEO_NOTIFY_PROBE			0x81
-#endif
-
 static int
 nouveau_display_acpi_ntfy(struct notifier_block *nb, unsigned long val,
 			  void *data)
Signature · 6 lines
2.13.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

A message that is not in the archive (sent off-list or not yet received): 20170526073508.4044-1-hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

#2 lore raw

Hi,

Quoted 7 lines · Hans De Goede

The local #define of ACPI_VIDEO_NOTIFY_PROBE was only added temporarily to avoid a dependency between the acpi and nouveau trees while merging.

This is now properly defined in acpi/video.h and the local #define can be dropped.

ping, what is the status of this patch ?

Regards,

Hans

Quoted 15 lines
---
  drivers/gpu/drm/nouveau/nouveau_display.c | 9 ---------
  1 file changed, 9 deletions(-)
drivers/gpu/drm/nouveau/nouveau_display.c +0 -2
index 549763f5e17d..70de2079b2cc 100644
@@ -369,15 +369,6 @@ nouveau_display_hpd_work(struct work_struct *work)
 
  #ifdef CONFIG_ACPI
 
-/*
- * Hans de Goede: This define belongs in acpi/video.h, I've submitted a patch

drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_hpd_work(struct work_struct *work) · line 374

Quoted 10 lines
drivers/gpu/drm/nouveau/nouveau_display.c +0 -7
- * to the acpi subsys to move it there from drivers/acpi/acpi_video.c .
- * This should be dropped once that is merged.
- */
-#ifndef ACPI_VIDEO_NOTIFY_PROBE
-#define ACPI_VIDEO_NOTIFY_PROBE			0x81
-#endif
-
  static int
  nouveau_display_acpi_ntfy(struct notifier_block *nb, unsigned long val,
  			  void *data)

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 7412d557-9b08-3d46-568b-bc1940ad4e40-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

Reviewed-by
#4 lore raw
Quoted 37 lines · Hans de Goede

Hi,

Quoted 7 lines · Hans De Goede

The local #define of ACPI_VIDEO_NOTIFY_PROBE was only added temporarily to avoid a dependency between the acpi and nouveau trees while merging.

This is now properly defined in acpi/video.h and the local #define can be dropped.

ping, what is the status of this patch ?

Regards,

Hans

Quoted 19 lines
---
  drivers/gpu/drm/nouveau/nouveau_display.c | 9 ---------
  1 file changed, 9 deletions(-)
drivers/gpu/drm/nouveau/nouveau_display.c +0 -9
index 549763f5e17d..70de2079b2cc 100644
@@ -369,15 +369,6 @@ nouveau_display_hpd_work(struct work_struct *work)
  #ifdef CONFIG_ACPI
-/*
- * Hans de Goede: This define belongs in acpi/video.h, I've submitted a patch
- * to the acpi subsys to move it there from drivers/acpi/acpi_video.c .
- * This should be dropped once that is merged.
- */
-#ifndef ACPI_VIDEO_NOTIFY_PROBE
-#define ACPI_VIDEO_NOTIFY_PROBE			0x81
-#endif
-
Quoted 8 lines

drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_hpd_work(struct work_struct *work)

Quoted 4 lines
drivers/gpu/drm/nouveau/nouveau_display.c +0 -0
  static int
  nouveau_display_acpi_ntfy(struct notifier_block *nb, unsigned long val,
  			  void *data)
 

_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 20170722115415.uthmdaqj3tdjmmn6-WLoDKDh+7sdAfugRpC6u6w@public.gmane.org

#6 lore raw

Ping

Quoted 51 lines · Pierre Moreau
Quoted 37 lines · Hans de Goede

Hi,

Quoted 7 lines · Hans De Goede

The local #define of ACPI_VIDEO_NOTIFY_PROBE was only added temporarily to avoid a dependency between the acpi and nouveau trees while merging.

This is now properly defined in acpi/video.h and the local #define can be dropped.

ping, what is the status of this patch ?

Regards,

Hans

Quoted 19 lines
---
  drivers/gpu/drm/nouveau/nouveau_display.c | 9 ---------
  1 file changed, 9 deletions(-)
drivers/gpu/drm/nouveau/nouveau_display.c +0 -9
index 549763f5e17d..70de2079b2cc 100644
@@ -369,15 +369,6 @@ nouveau_display_hpd_work(struct work_struct *work)
  #ifdef CONFIG_ACPI
-/*
- * Hans de Goede: This define belongs in acpi/video.h, I've submitted a patch
- * to the acpi subsys to move it there from drivers/acpi/acpi_video.c .
- * This should be dropped once that is merged.
- */
-#ifndef ACPI_VIDEO_NOTIFY_PROBE
-#define ACPI_VIDEO_NOTIFY_PROBE			0x81
-#endif
-
Quoted 8 lines

drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_hpd_work(struct work_struct *work)

Quoted 4 lines
drivers/gpu/drm/nouveau/nouveau_display.c +0 -0
  static int
  nouveau_display_acpi_ntfy(struct notifier_block *nb, unsigned long val,
  			  void *data)
 

_______________________________________________
dri-devel mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Quoted 4 lines

_______________________________________________
Nouveau mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau