[Intel-gfx] [PATCH] drm/i915: Kill GEN_RANGE in favor of INTEL_GEN.

Vivi, Rodrigo rodrigo.vivi at intel.com
Wed Sep 6 20:13:07 UTC 2017


On Wed, 2017-09-06 at 20:57 +0100, Chris Wilson wrote:
> Quoting Rodrigo Vivi (2017-09-06 20:51:37)
> > Instead of limiting the range with this unusual GEN_RANGE
> > let's assume following platforms would use same scheme
> > unless stated otherwise.
> 
> No. This is uabi that should indeed be checked before exposed and not
> assumed that unprivileged access to a register of yesterday is still
> safe tommorrow.

hm... makes sense..

can we at least move to 

INTEL_GEN >= 4 && INTEL_GEN <= 10

or some flag on platform definition?

I really don't like GEN_RANGE... 

> -Chris



More information about the Intel-gfx mailing list