drm/i915: Remove useless VLV_FEATURE Macro.
Subsystems (2)
Rodrigo Vivi
maintainerPATCH 1/1 drm/i915: Remove useless VLV_FEATURE Macro.
This macro got useless after commit 8d9c20e1d1e38 "drm/i915: Remove .is_mobile field from platform struct"
that removed is_mobile split from VLV definition. Also this was never reused on any following platform.
So let's clean up a bit here.
--- drivers/gpu/drm/i915/i915_pci.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/i915_pci.c +16 -18
@@ -265,26 +265,24 @@ .has_l3_dpf = 1, }; -#define VLV_FEATURES \ - .gen = 7, .num_pipes = 2, \ - .is_lp = 1, \ - .has_psr = 1, \ - .has_runtime_pm = 1, \ - .has_rc6 = 1, \ - .has_gmbus_irq = 1, \ - .has_hw_contexts = 1, \ - .has_gmch_display = 1, \ - .has_hotplug = 1, \ - .has_aliasing_ppgtt = 1, \ - .has_full_ppgtt = 1, \ - .ring_mask = RENDER_RING | BSD_RING | BLT_RING, \ - .display_mmio_offset = VLV_DISPLAY_BASE, \ - GEN_DEFAULT_PIPEOFFSETS, \ - CURSOR_OFFSETS -static const struct intel_device_info intel_valleyview_info = { -VLV_FEATURES , .platform =INTEL_VALLEYVIEW , + .gen =7 , + .is_lp =1 , + .num_pipes =2 , + .has_psr =1 , + .has_runtime_pm =1 , + .has_rc6 =1 , + .has_gmbus_irq =1 , + .has_hw_contexts =1 , + .has_gmch_display =1 , + .has_hotplug =1 , + .has_aliasing_ppgtt =1 , + .has_full_ppgtt =1 , + .ring_mask =RENDER_RING |BSD_RING |BLT_RING , + .display_mmio_offset =VLV_DISPLAY_BASE , +GEN_DEFAULT_PIPEOFFSETS , +CURSOR_OFFSETS };#define HSW_FEATURES \
Signature · 6 lines
1.9.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: Remove useless VLV_FEATURE Macro.
== Series Details ==
== Series Details ==
Series: drm/i915: Remove useless VLV_FEATURE Macro.
URL : https://patchwork.freedesktop.org/series/17018/
State : success
== Summary ==
Series 17018v1 drm/i915: Remove useless VLV_FEATURE Macro.
https://patchwork.freedesktop.org/api/1.0/series/17018/revisions/1/mbox/
fi-bdw-5557u total:247 pass:233 dwarn:0 dfail:0 fail:0 skip:14 fi-bsw-n3050 total:247 pass:208 dwarn:0 dfail:0 fail:0 skip:39 fi-bxt-j4205 total:247 pass:225 dwarn:1 dfail:0 fail:0 skip:21 fi-bxt-t5700 total:247 pass:220 dwarn:0 dfail:0 fail:0 skip:27 fi-byt-j1900 total:247 pass:220 dwarn:0 dfail:0 fail:0 skip:27 fi-byt-n2820 total:247 pass:216 dwarn:0 dfail:0 fail:0 skip:31 fi-hsw-4770 total:247 pass:228 dwarn:0 dfail:0 fail:0 skip:19 fi-hsw-4770r total:247 pass:228 dwarn:0 dfail:0 fail:0 skip:19 fi-ilk-650 total:247 pass:195 dwarn:0 dfail:0 fail:0 skip:52 fi-ivb-3520m total:247 pass:226 dwarn:0 dfail:0 fail:0 skip:21 fi-ivb-3770 total:247 pass:226 dwarn:0 dfail:0 fail:0 skip:21 fi-kbl-7500u total:247 pass:226 dwarn:0 dfail:0 fail:0 skip:21 fi-skl-6260u total:247 pass:234 dwarn:0 dfail:0 fail:0 skip:13 fi-skl-6700hq total:247 pass:227 dwarn:0 dfail:0 fail:0 skip:20 fi-skl-6700k total:247 pass:224 dwarn:3 dfail:0 fail:0 skip:20 fi-skl-6770hq total:247 pass:234 dwarn:0 dfail:0 fail:0 skip:13 fi-snb-2520m total:247 pass:216 dwarn:0 dfail:0 fail:0 skip:31 fi-snb-2600 total:247 pass:215 dwarn:0 dfail:0 fail:0 skip:32
86a26727690faef9018c6585e0094e701e0e9b0c drm-tip: 2016y-12m-19d-19h-15m-10s UTC integration manifest a28ae43 drm/i915: Remove useless VLV_FEATURE Macro.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/CI/Patchwork_3334/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 11 lines · Rodrigo Vivi
This macro got useless after commit
8d9c20e1d1e38"drm/i915: Remove .is_mobile field from platform struct"that removed
is_mobilesplit from VLV definition. Also this was never reused on any following platform.So let's clean up a bit here.
Cc Carlos Santa <[email protected]>Cc Daniel Vetter <[email protected]>Signed-off-by Rodrigo Vivi <[email protected]>
Quoted 54 lines
--- drivers/gpu/drm/i915/i915_pci.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-)drivers/gpu/drm/i915/i915_pci.c +16
-18@@ -265,26 +265,24 @@ .has_l3_dpf = 1, }; -#define VLV_FEATURES \ - .gen = 7, .num_pipes = 2, \ - .is_lp = 1, \ - .has_psr = 1, \ - .has_runtime_pm = 1, \ - .has_rc6 = 1, \ - .has_gmbus_irq = 1, \ - .has_hw_contexts = 1, \ - .has_gmch_display = 1, \ - .has_hotplug = 1, \ - .has_aliasing_ppgtt = 1, \ - .has_full_ppgtt = 1, \ - .ring_mask = RENDER_RING | BSD_RING | BLT_RING, \ - .display_mmio_offset = VLV_DISPLAY_BASE, \ - GEN_DEFAULT_PIPEOFFSETS, \ - CURSOR_OFFSETS -static const struct intel_device_info intel_valleyview_info = { -VLV_FEATURES , .platform =INTEL_VALLEYVIEW , + .gen =7 , + .is_lp =1 , + .num_pipes =2 , + .has_psr =1 , + .has_runtime_pm =1 , + .has_rc6 =1 , + .has_gmbus_irq =1 , + .has_hw_contexts =1 , + .has_gmch_display =1 , + .has_hotplug =1 , + .has_aliasing_ppgtt =1 , + .has_full_ppgtt =1 , + .ring_mask =RENDER_RING |BSD_RING |BLT_RING , + .display_mmio_offset =VLV_DISPLAY_BASE , +GEN_DEFAULT_PIPEOFFSETS , +CURSOR_OFFSETS };#define HSW_FEATURES \Signature · 1 line
1.9.1
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx