[PATCH 09/12] intel: Provide IS_GENX() macros taking a drm_intel_device as argument

Damien Lespiau damien.lespiau at intel.com
Thu Mar 5 10:45:20 PST 2015


On Thu, Mar 05, 2015 at 10:41:19AM -0800, Ian Romanick wrote:
> On 03/05/2015 08:20 AM, Damien Lespiau wrote:
> > Time to switch over all the IS_GENX() macros to the new device object.
> > Nothing more than a mechanical search & replace here.
> 
> Hmm... why not just do the comparisons directly?  The macros seem
> superfluous.

I asked myself the same question as well and then went for the solution
that wasn't going to change what was already there too much. I really
have no opinion either way.

-- 
Damien


More information about the dri-devel mailing list