summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/dispnv50/disp.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2020-07-18 09:42:27 +0200
committerBen Skeggs <bskeggs@redhat.com>2020-07-24 10:50:56 +0200
commitae09163ac27ce7d576d7bd2e941eacaef8d491c1 (patch)
tree38de4278e8b67ebf52df1717c61289ac8d22a2a3 /drivers/gpu/drm/nouveau/dispnv50/disp.h
parentdrm/nouveau/kms/nv50-: convert core crc_set_src() to new push macros (diff)
downloadlinux-ae09163ac27ce7d576d7bd2e941eacaef8d491c1.tar.xz
linux-ae09163ac27ce7d576d7bd2e941eacaef8d491c1.zip
drm/nouveau/kms/nv50-: convert core crc_set_ctx() to new push macros
Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Reviewed-by: Lyude Paul <lyude@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/disp.h')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/disp.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/disp.h b/drivers/gpu/drm/nouveau/dispnv50/disp.h
index 746ab75d15c3..fbf573a01f58 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/disp.h
+++ b/drivers/gpu/drm/nouveau/dispnv50/disp.h
@@ -108,18 +108,4 @@ void evo_kick(u32 *, struct nv50_dmac *);
extern const u64 disp50xx_modifiers[];
extern const u64 disp90xx_modifiers[];
extern const u64 wndwc57e_modifiers[];
-
-#define evo_mthd(p, m, s) do { \
- const u32 _m = (m), _s = (s); \
- if (drm_debug_enabled(DRM_UT_KMS)) \
- pr_err("%04x %d %s\n", _m, _s, __func__); \
- *((p)++) = ((_s << 18) | _m); \
-} while(0)
-
-#define evo_data(p, d) do { \
- const u32 _d = (d); \
- if (drm_debug_enabled(DRM_UT_KMS)) \
- pr_err("\t%08x\n", _d); \
- *((p)++) = _d; \
-} while(0)
#endif