Skip to contentSkip to conversation

drm/amdgpu/virtual_dce: move define into source file

PATCH In review Alex Deucher 2 participants 2 messages Oct 13, 2016 – Oct 14, 2016 1 message not in the archive

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

PATCH 1/1 drm/amdgpu/virtual_dce: move define into source file

It's not used outside the file.

---
 drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 3 +++
 drivers/gpu/drm/amd/amdgpu/dce_virtual.h | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/dce_virtual.c +3 -0
index c118648..632a385 100644
@@ -37,6 +37,9 @@
 #include "dce_v11_0.h"
 #include "dce_virtual.h"
 
+#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
+
+
 static void dce_virtual_set_display_funcs(struct amdgpu_device *adev);
 static void dce_virtual_set_irq_funcs(struct amdgpu_device *adev);
 static int dce_virtual_connector_encoder_init(struct amdgpu_device *adev,
drivers/gpu/drm/amd/amdgpu/dce_virtual.h +0 -1
index e239243..393ce97 100644
@@ -25,7 +25,6 @@
 #define __DCE_VIRTUAL_H__
 
 extern const struct amd_ip_funcs dce_virtual_ip_funcs;
-#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
 
 #endif
 
Signature · 6 lines
2.5.5

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

A message that is not in the archive (sent off-list or not yet received): 1476394671-21670-1-git-send-email-alexander.deucher-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw

Am 13.10.2016 um 23:37 schrieb Alex Deucher:

Quoted 3 lines

It's not used outside the file.

Quoted 24 lines
---
  drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 3 +++
  drivers/gpu/drm/amd/amdgpu/dce_virtual.h | 1 -
  2 files changed, 3 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/dce_virtual.c +3 -0
index c118648..632a385 100644
@@ -37,6 +37,9 @@
  #include "dce_v11_0.h"
  #include "dce_virtual.h"
 
+#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
+
+
  static void dce_virtual_set_display_funcs(struct amdgpu_device *adev);
  static void dce_virtual_set_irq_funcs(struct amdgpu_device *adev);
  static int dce_virtual_connector_encoder_init(struct amdgpu_device *adev,
drivers/gpu/drm/amd/amdgpu/dce_virtual.h +0 -0
index e239243..393ce97 100644

drivers/gpu/drm/amd/amdgpu/dce_virtual.h line 30

Quoted 7 lines
drivers/gpu/drm/amd/amdgpu/dce_virtual.h +0 -1
@@ -25,7 +25,6 @@
  #define __DCE_VIRTUAL_H__
 
  extern const struct amd_ip_funcs dce_virtual_ip_funcs;
-#define DCE_VIRTUAL_VBLANK_PERIOD 16666666
 
  #endif
 

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