diff options
author | Ramalingam C <ramalingam.c@intel.com> | 2019-08-28 18:42:12 +0200 |
---|---|---|
committer | Uma Shankar <uma.shankar@intel.com> | 2019-08-30 10:38:26 +0200 |
commit | 5b6030da28cd6d6f5d129d7039ea0db83bcee6cf (patch) | |
tree | 1f3b39a2ecae1d585e1abe04c9141085ccf607ec /include/drm/i915_drm.h | |
parent | drm/i915: mei_hdcp: I915 sends ddi index as per ME FW (diff) | |
download | linux-5b6030da28cd6d6f5d129d7039ea0db83bcee6cf.tar.xz linux-5b6030da28cd6d6f5d129d7039ea0db83bcee6cf.zip |
drm: Move port definition back to i915 header
We dont need the definition of the enum port outside I915, anymore.
Hence move enum port definition into I915 driver itself.
v2:
intel_display.h is included in intel_hdcp.h
v3:
enum port is declared in headers.
v4:
commit msg is rephrased.
v5:
copyright year is updated [Tomas]
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Reviewed-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190828164216.405-3-ramalingam.c@intel.com
Diffstat (limited to 'include/drm/i915_drm.h')
-rw-r--r-- | include/drm/i915_drm.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index 23274cf92712..6722005884db 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -100,22 +100,4 @@ extern struct resource intel_graphics_stolen_res; #define INTEL_GEN11_BSM_DW1 0xc4 #define INTEL_BSM_MASK (-(1u << 20)) -enum port { - PORT_NONE = -1, - - PORT_A = 0, - PORT_B, - PORT_C, - PORT_D, - PORT_E, - PORT_F, - PORT_G, - PORT_H, - PORT_I, - - I915_MAX_PORTS -}; - -#define port_name(p) ((p) + 'A') - #endif /* _I915_DRM_H_ */ |