tvnv17.c (8dd06ef34b6e2f41b29fbf5fc1663780f2524285) tvnv17.c (09838c4efe9afb6fefa889d92c3571d49029af26)
1/*
2 * Copyright (C) 2009 Francisco Jerez.
3 * All Rights Reserved.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining
6 * a copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,

--- 585 unchanged lines hidden (view full) ---

594 else
595 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL +
596 nv04_dac_output_offset(encoder),
597 0x00100000);
598
599 helper->dpms(encoder, DRM_MODE_DPMS_ON);
600
601 NV_INFO(drm, "Output %s is running on CRTC %d using output %c\n",
1/*
2 * Copyright (C) 2009 Francisco Jerez.
3 * All Rights Reserved.
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining
6 * a copy of this software and associated documentation files (the
7 * "Software"), to deal in the Software without restriction, including
8 * without limitation the rights to use, copy, modify, merge, publish,

--- 585 unchanged lines hidden (view full) ---

594 else
595 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL +
596 nv04_dac_output_offset(encoder),
597 0x00100000);
598
599 helper->dpms(encoder, DRM_MODE_DPMS_ON);
600
601 NV_INFO(drm, "Output %s is running on CRTC %d using output %c\n",
602 nouveau_encoder_connector_get(nv_encoder)->base.name,
602 nv04_encoder_get_connector(nv_encoder)->base.name,
603 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
604}
605
606static void nv17_tv_save(struct drm_encoder *encoder)
607{
608 struct drm_device *dev = encoder->dev;
609 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder);
610

--- 215 unchanged lines hidden ---
603 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
604}
605
606static void nv17_tv_save(struct drm_encoder *encoder)
607{
608 struct drm_device *dev = encoder->dev;
609 struct nv17_tv_encoder *tv_enc = to_tv_enc(encoder);
610

--- 215 unchanged lines hidden ---