diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_asic.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.c b/drivers/gpu/drm/radeon/radeon_asic.c index 42708462fd4b..48893fbb6582 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.c +++ b/drivers/gpu/drm/radeon/radeon_asic.c | |||
@@ -166,6 +166,7 @@ static struct radeon_asic r100_asic = { | |||
166 | .hpd_set_polarity = &r100_hpd_set_polarity, | 166 | .hpd_set_polarity = &r100_hpd_set_polarity, |
167 | .ioctl_wait_idle = NULL, | 167 | .ioctl_wait_idle = NULL, |
168 | .gui_idle = &r100_gui_idle, | 168 | .gui_idle = &r100_gui_idle, |
169 | .set_power_state = &r100_set_power_state, | ||
169 | }; | 170 | }; |
170 | 171 | ||
171 | static struct radeon_asic r200_asic = { | 172 | static struct radeon_asic r200_asic = { |
@@ -205,6 +206,7 @@ static struct radeon_asic r200_asic = { | |||
205 | .hpd_set_polarity = &r100_hpd_set_polarity, | 206 | .hpd_set_polarity = &r100_hpd_set_polarity, |
206 | .ioctl_wait_idle = NULL, | 207 | .ioctl_wait_idle = NULL, |
207 | .gui_idle = &r100_gui_idle, | 208 | .gui_idle = &r100_gui_idle, |
209 | .set_power_state = &r100_set_power_state, | ||
208 | }; | 210 | }; |
209 | 211 | ||
210 | static struct radeon_asic r300_asic = { | 212 | static struct radeon_asic r300_asic = { |
@@ -245,6 +247,7 @@ static struct radeon_asic r300_asic = { | |||
245 | .hpd_set_polarity = &r100_hpd_set_polarity, | 247 | .hpd_set_polarity = &r100_hpd_set_polarity, |
246 | .ioctl_wait_idle = NULL, | 248 | .ioctl_wait_idle = NULL, |
247 | .gui_idle = &r100_gui_idle, | 249 | .gui_idle = &r100_gui_idle, |
250 | .set_power_state = &r100_set_power_state, | ||
248 | }; | 251 | }; |
249 | 252 | ||
250 | static struct radeon_asic r300_asic_pcie = { | 253 | static struct radeon_asic r300_asic_pcie = { |
@@ -284,6 +287,7 @@ static struct radeon_asic r300_asic_pcie = { | |||
284 | .hpd_set_polarity = &r100_hpd_set_polarity, | 287 | .hpd_set_polarity = &r100_hpd_set_polarity, |
285 | .ioctl_wait_idle = NULL, | 288 | .ioctl_wait_idle = NULL, |
286 | .gui_idle = &r100_gui_idle, | 289 | .gui_idle = &r100_gui_idle, |
290 | .set_power_state = &r100_set_power_state, | ||
287 | }; | 291 | }; |
288 | 292 | ||
289 | static struct radeon_asic r420_asic = { | 293 | static struct radeon_asic r420_asic = { |
@@ -324,6 +328,7 @@ static struct radeon_asic r420_asic = { | |||
324 | .hpd_set_polarity = &r100_hpd_set_polarity, | 328 | .hpd_set_polarity = &r100_hpd_set_polarity, |
325 | .ioctl_wait_idle = NULL, | 329 | .ioctl_wait_idle = NULL, |
326 | .gui_idle = &r100_gui_idle, | 330 | .gui_idle = &r100_gui_idle, |
331 | .set_power_state = &r100_set_power_state, | ||
327 | }; | 332 | }; |
328 | 333 | ||
329 | static struct radeon_asic rs400_asic = { | 334 | static struct radeon_asic rs400_asic = { |
@@ -364,6 +369,7 @@ static struct radeon_asic rs400_asic = { | |||
364 | .hpd_set_polarity = &r100_hpd_set_polarity, | 369 | .hpd_set_polarity = &r100_hpd_set_polarity, |
365 | .ioctl_wait_idle = NULL, | 370 | .ioctl_wait_idle = NULL, |
366 | .gui_idle = &r100_gui_idle, | 371 | .gui_idle = &r100_gui_idle, |
372 | .set_power_state = &r100_set_power_state, | ||
367 | }; | 373 | }; |
368 | 374 | ||
369 | static struct radeon_asic rs600_asic = { | 375 | static struct radeon_asic rs600_asic = { |
@@ -404,6 +410,7 @@ static struct radeon_asic rs600_asic = { | |||
404 | .hpd_set_polarity = &rs600_hpd_set_polarity, | 410 | .hpd_set_polarity = &rs600_hpd_set_polarity, |
405 | .ioctl_wait_idle = NULL, | 411 | .ioctl_wait_idle = NULL, |
406 | .gui_idle = &r100_gui_idle, | 412 | .gui_idle = &r100_gui_idle, |
413 | .set_power_state = &r100_set_power_state, | ||
407 | }; | 414 | }; |
408 | 415 | ||
409 | static struct radeon_asic rs690_asic = { | 416 | static struct radeon_asic rs690_asic = { |
@@ -444,6 +451,7 @@ static struct radeon_asic rs690_asic = { | |||
444 | .hpd_set_polarity = &rs600_hpd_set_polarity, | 451 | .hpd_set_polarity = &rs600_hpd_set_polarity, |
445 | .ioctl_wait_idle = NULL, | 452 | .ioctl_wait_idle = NULL, |
446 | .gui_idle = &r100_gui_idle, | 453 | .gui_idle = &r100_gui_idle, |
454 | .set_power_state = &r100_set_power_state, | ||
447 | }; | 455 | }; |
448 | 456 | ||
449 | static struct radeon_asic rv515_asic = { | 457 | static struct radeon_asic rv515_asic = { |
@@ -484,6 +492,7 @@ static struct radeon_asic rv515_asic = { | |||
484 | .hpd_set_polarity = &rs600_hpd_set_polarity, | 492 | .hpd_set_polarity = &rs600_hpd_set_polarity, |
485 | .ioctl_wait_idle = NULL, | 493 | .ioctl_wait_idle = NULL, |
486 | .gui_idle = &r100_gui_idle, | 494 | .gui_idle = &r100_gui_idle, |
495 | .set_power_state = &r100_set_power_state, | ||
487 | }; | 496 | }; |
488 | 497 | ||
489 | static struct radeon_asic r520_asic = { | 498 | static struct radeon_asic r520_asic = { |
@@ -524,6 +533,7 @@ static struct radeon_asic r520_asic = { | |||
524 | .hpd_set_polarity = &rs600_hpd_set_polarity, | 533 | .hpd_set_polarity = &rs600_hpd_set_polarity, |
525 | .ioctl_wait_idle = NULL, | 534 | .ioctl_wait_idle = NULL, |
526 | .gui_idle = &r100_gui_idle, | 535 | .gui_idle = &r100_gui_idle, |
536 | .set_power_state = &r100_set_power_state, | ||
527 | }; | 537 | }; |
528 | 538 | ||
529 | static struct radeon_asic r600_asic = { | 539 | static struct radeon_asic r600_asic = { |
@@ -563,6 +573,7 @@ static struct radeon_asic r600_asic = { | |||
563 | .hpd_set_polarity = &r600_hpd_set_polarity, | 573 | .hpd_set_polarity = &r600_hpd_set_polarity, |
564 | .ioctl_wait_idle = r600_ioctl_wait_idle, | 574 | .ioctl_wait_idle = r600_ioctl_wait_idle, |
565 | .gui_idle = &r600_gui_idle, | 575 | .gui_idle = &r600_gui_idle, |
576 | .set_power_state = &r600_set_power_state, | ||
566 | }; | 577 | }; |
567 | 578 | ||
568 | static struct radeon_asic rs780_asic = { | 579 | static struct radeon_asic rs780_asic = { |
@@ -602,6 +613,7 @@ static struct radeon_asic rs780_asic = { | |||
602 | .hpd_set_polarity = &r600_hpd_set_polarity, | 613 | .hpd_set_polarity = &r600_hpd_set_polarity, |
603 | .ioctl_wait_idle = r600_ioctl_wait_idle, | 614 | .ioctl_wait_idle = r600_ioctl_wait_idle, |
604 | .gui_idle = &r600_gui_idle, | 615 | .gui_idle = &r600_gui_idle, |
616 | .set_power_state = &r600_set_power_state, | ||
605 | }; | 617 | }; |
606 | 618 | ||
607 | static struct radeon_asic rv770_asic = { | 619 | static struct radeon_asic rv770_asic = { |
@@ -641,6 +653,7 @@ static struct radeon_asic rv770_asic = { | |||
641 | .hpd_set_polarity = &r600_hpd_set_polarity, | 653 | .hpd_set_polarity = &r600_hpd_set_polarity, |
642 | .ioctl_wait_idle = r600_ioctl_wait_idle, | 654 | .ioctl_wait_idle = r600_ioctl_wait_idle, |
643 | .gui_idle = &r600_gui_idle, | 655 | .gui_idle = &r600_gui_idle, |
656 | .set_power_state = &r600_set_power_state, | ||
644 | }; | 657 | }; |
645 | 658 | ||
646 | static struct radeon_asic evergreen_asic = { | 659 | static struct radeon_asic evergreen_asic = { |
@@ -678,6 +691,7 @@ static struct radeon_asic evergreen_asic = { | |||
678 | .hpd_sense = &evergreen_hpd_sense, | 691 | .hpd_sense = &evergreen_hpd_sense, |
679 | .hpd_set_polarity = &evergreen_hpd_set_polarity, | 692 | .hpd_set_polarity = &evergreen_hpd_set_polarity, |
680 | .gui_idle = &r600_gui_idle, | 693 | .gui_idle = &r600_gui_idle, |
694 | .set_power_state = &r600_set_power_state, | ||
681 | }; | 695 | }; |
682 | 696 | ||
683 | int radeon_asic_init(struct radeon_device *rdev) | 697 | int radeon_asic_init(struct radeon_device *rdev) |