[PATCH 2/3] drm/i915: add lpt_init_pch_refclk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux