drm/i915: Specify when the PLL hw state fields are valid
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 29 Jul 2014 17:06:16 +0000 (18:06 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 Aug 2014 15:43:33 +0000 (17:43 +0200)
commitdcfc3552136fb6996e19b9f6980dc5a6721defd5
tree10cd481cb8032a23b6bd6d7c06a1fe8cb5efa381
parentaad3d14d25c33c8e510c41aaaf2668e8d32811ab
drm/i915: Specify when the PLL hw state fields are valid

Not all those fields are valid on a given platform. Make it explicit.

Unions could also be used, but were cluttering some code paths with
if/else ladders.

v2: Don't use anonymous unions (Daniel)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h