]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit125bb4580a56f2c7a55ce3a36f8354f6c7fc262f
tree10cd481cb8032a23b6bd6d7c06a1fe8cb5efa381
parent8f2bbe6102a51b1267fa4007e0d65807fcca8f33
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