drm/i915: move psr_setup_done to psr struct
authorRodrigo Vivi <rodrigo.vivi@gmail.com>
Fri, 23 May 2014 20:45:51 +0000 (13:45 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Jun 2014 14:57:23 +0000 (16:57 +0200)
commit6118efe5968ce65411996f3a40d9cc0487efe46f
treef418db1320ab9b444e5c7fa1aca386a24907247d
parentbc1dfff04a5d4064ba0db1fab13f84ab4f333d2b
drm/i915: move psr_setup_done to psr struct

"Because our driver assumes only one panel is PSR capable, and we
already have other PSR information on dev_priv instead of intel_dp. If
we ever support multiple PSR panels, we'll have to move struct
i915_psr to intel_dp anyway." (by Paulo)

v2: Avoid more than one setup. Removing initialization
    and trusting allocation. (By Paulo Zanoni).
v3: rebase.
v4: Adding comment.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h