diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2014-03-28 00:18:33 +0530 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-09-24 14:57:32 +0200 |
commit | 6af31a653d6c8e1708c27b7f32cafd5435b3bb90 (patch) | |
tree | e0887e8e104525cd74355ae6aac85519e4102122 /drivers/gpu/drm/i915/intel_pm.c | |
parent | 84139d1e39265c20a79daace16ef4b6a9a644d9a (diff) | |
download | lwn-6af31a653d6c8e1708c27b7f32cafd5435b3bb90.tar.gz lwn-6af31a653d6c8e1708c27b7f32cafd5435b3bb90.zip |
drm/i915/skl: Introduce intel_num_planes()
It can be handy to get the number of planes for this pipe, ie including
the primary plane to loop over them. Introduce a little function to do
so.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions