Rodrigo Vivi 5bc0e89ff1 drm/i915: Kill GEN_FOREVER
commit ac657f6461e5 ("drm/i915: Introduce IS_GEN macro") introduced
GEN_FOREVER that was never used.

My first attempt was to rename it to FOREVER since GEN is
already part of the macro. Then I used coccinelle to change all
-INTEL_GEN(e1) >= e2
+INTEL_GEN_RANGE(e1, e2, FOREVER)
-INTEL_GEN(e1) <= e2
+INTEL_GEN_RANGE(e1, 0, e2)

and I liked it.

However I didn't like very much the remaining
INTEL_GEN(dev_priv) < n

and:
INTEL_GEN(e1) < n
INTEL_GEN_RANGE(e1, 0, n - 1)

didn't make much sense either.

So INTEL_GEN use for > or < seems a better unified way for unlimited
bounds. So, no reason to keep GEN_FOREVER here.

Let's kill before someone start using it.

v2: Remove remaining GEN_FOREVER forgotten in a comment. (Daniel)

Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181026195143.20353-2-rodrigo.vivi@intel.com
2018-10-29 10:44:15 -07:00
..
2018-08-27 10:00:03 -04:00
2018-09-09 14:19:18 +02:00
2018-09-10 07:10:38 +02:00
2018-08-17 10:40:09 -07:00
2018-10-29 10:44:15 -07:00
2018-08-27 10:00:03 -04:00
2018-09-09 14:19:18 +02:00
2018-06-22 12:58:08 +10:00
2018-09-03 18:18:08 +02:00
2018-07-20 10:46:49 +10:00
2018-09-09 14:19:18 +02:00
2018-09-11 20:06:35 +02:00
2018-09-09 14:19:18 +02:00
2018-06-28 13:29:07 +10:00
2018-07-13 18:40:28 +02:00
2018-08-16 11:30:02 -04:00
2018-08-28 11:22:42 -05:00
2018-09-09 14:19:18 +02:00