summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i2c/ch7006_drv.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2015-03-02 14:38:52 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2015-03-19 12:28:55 +0200
commitc6169e49bd37c9556efd7564bcbbf7067cd7efa8 (patch)
tree4b5b52f3e2582d91a3863056a6f3903f17e7f1e7 /drivers/gpu/drm/i2c/ch7006_drv.c
parenta5241289c4139f0521b89e34a70f5f998463ae15 (diff)
drm: adv7511: Refactor power management
Remove the internal dependency on DPMS mode for power management by using a by a powered state boolean instead, and use the new power off handler at probe time. This ensure that the regmap cache is properly marked as dirty when the device is probed, and the registers properly synced during the first power up. As a side effect this removes the initialization of current_edid_segment at probe time, as the field will be initialized when the device is powered on, at the latest right before reading EDID data. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Christian Kohn <christian.kohn@xilinx.com> Tested-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/gpu/drm/i2c/ch7006_drv.c')
0 files changed, 0 insertions, 0 deletions