]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 26 May 2014 07:44:11 +0000 (09:44 +0200)
commitb41c9554a820a60fd552f8438dfbea399f45e84f
treef382bad89ce9e563e5172de1c5b1dbe38126a849
parentf83d6518a13020e3cf7abbcc6b4e6d34459d9a9f
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