[Intel-gfx] [PATCH 2/3] drm/i915: add lpt_init_pch_refclk

Damien Lespiau damien.lespiau at intel.com
Mon Dec 10 17:04:50 CET 2012


On Sun, Dec 9, 2012 at 9:35 PM, Paulo Zanoni <przanoni at gmail.com> wrote:
> Hi
>
> 2012/12/8 Damien Lespiau <damien.lespiau at intel.com>:
>> Maybe have a IS_SDV() or IS_HSW_SDV() macro like we have a IS_ULT()
>> one? The check should be on the PCH revision but hopefully there's a
>> 1:1 correlation?
>
> We should just remove this code in the future, maybe even now... I did
> not care too much about creating a macro since this is going to be
> killed.

On the other hand, it's easy to grep for IS_SDV() rather than other
more complex tests. We could even expand the macro to other platforms
and have a single way to mark SDV code paths.

-- 
Damien



More information about the Intel-gfx mailing list