forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/gpu/drm/nouveau/dispnv04/dac.c
....@@ -24,7 +24,6 @@
2424 * DEALINGS IN THE SOFTWARE.
2525 */
2626
27
-#include <drm/drmP.h>
2827 #include <drm/drm_crtc_helper.h>
2928
3029 #include "nouveau_drv.h"
....@@ -36,7 +35,8 @@
3635
3736 #include <subdev/bios/gpio.h>
3837 #include <subdev/gpio.h>
39
-#include <subdev/timer.h>
38
+
39
+#include <nvif/timer.h>
4040
4141 int nv04_dac_output_offset(struct drm_encoder *encoder)
4242 {
....@@ -419,7 +419,7 @@
419419 helper->dpms(encoder, DRM_MODE_DPMS_ON);
420420
421421 NV_DEBUG(drm, "Output %s is running on CRTC %d using output %c\n",
422
- nouveau_encoder_connector_get(nv_encoder)->base.name,
422
+ nv04_encoder_get_connector(nv_encoder)->base.name,
423423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
424424 }
425425