Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319413
b: refs/heads/master
c: d55ab76
h: refs/heads/master
i:
  319411: 4727109
v: v3
  • Loading branch information
Joonyoung Shim authored and Inki Dae committed Jul 27, 2012
1 parent fd27734 commit 6c5bbac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bebab8ff31c6a39aae3dd29f57cd0e20021c1d09
refs/heads/master: d55ab76efba4575141d9d3df98886021c064b567
11 changes: 0 additions & 11 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,27 +327,16 @@ void exynos_drm_disable_vblank(struct drm_encoder *encoder, void *data)

void exynos_drm_encoder_crtc_dpms(struct drm_encoder *encoder, void *data)
{
struct drm_device *dev = encoder->dev;
struct exynos_drm_encoder *exynos_encoder = to_exynos_encoder(encoder);
struct exynos_drm_manager *manager = exynos_encoder->manager;
struct exynos_drm_manager_ops *manager_ops = manager->ops;
struct drm_connector *connector;
int mode = *(int *)data;

DRM_DEBUG_KMS("%s\n", __FILE__);

if (manager_ops && manager_ops->dpms)
manager_ops->dpms(manager->dev, mode);

/*
* set current dpms mode to the connector connected to
* current encoder. connector->dpms would be checked
* at drm_helper_connector_dpms()
*/
list_for_each_entry(connector, &dev->mode_config.connector_list, head)
if (connector->encoder == encoder)
connector->dpms = mode;

/*
* if this condition is ok then it means that the crtc is already
* detached from encoder and last function for detaching is properly
Expand Down

0 comments on commit 6c5bbac

Please sign in to comment.