comparison drivers/radeon/radeon.h @ 1945:0f204bd39635

More known registers and their bit-constants
author nick
date Mon, 24 Sep 2001 05:54:29 +0000
parents 31fdf7bb1a8e
children 4e3e03effdac
comparison
equal deleted inserted replaced
1944:4d8123ae7b4b 1945:0f204bd39635
68 # define AGP_APER_SIZE_32MB (0x38 << 0) 68 # define AGP_APER_SIZE_32MB (0x38 << 0)
69 # define AGP_APER_SIZE_16MB (0x3c << 0) 69 # define AGP_APER_SIZE_16MB (0x3c << 0)
70 # define AGP_APER_SIZE_8MB (0x3e << 0) 70 # define AGP_APER_SIZE_8MB (0x3e << 0)
71 # define AGP_APER_SIZE_4MB (0x3f << 0) 71 # define AGP_APER_SIZE_4MB (0x3f << 0)
72 # define AGP_APER_SIZE_MASK (0x3f << 0) 72 # define AGP_APER_SIZE_MASK (0x3f << 0)
73 #define AMCGPIO_A_REG 0x01a0
74 #define AMCGPIO_EN_REG 0x01a8
75 #define AMCGPIO_MASK 0x0194
76 #define AMCGPIO_Y_REG 0x01a4
73 #define BM_STATUS 0x0160 77 #define BM_STATUS 0x0160
78 #define MPP_TB_CONFIG 0x01c0 /* ? */
79 #define MPP_GP_CONFIG 0x01c8 /* ? */
74 #define CAP0_TRIG_CNTL 0x0950 80 #define CAP0_TRIG_CNTL 0x0950
81 #define CAP1_TRIG_CNTL 0x09c0 /* ? */
75 #define VIPH_CONTROL 0x0C40 82 #define VIPH_CONTROL 0x0C40
76 #define VENDOR_ID 0x0F00 83 #define VENDOR_ID 0x0F00
77 #define DEVICE_ID 0x0F02 84 #define DEVICE_ID 0x0F02
78 #define COMMAND 0x0F04 85 #define COMMAND 0x0F04
79 #define STATUS 0x0F06 86 #define STATUS 0x0F06
337 # define CRTC_TILE_EN (1 << 15) 344 # define CRTC_TILE_EN (1 << 15)
338 #define CRTC2_OFFSET_CNTL 0x0328 345 #define CRTC2_OFFSET_CNTL 0x0328
339 # define CRTC2_TILE_EN (1 << 15) 346 # define CRTC2_TILE_EN (1 << 15)
340 #define CRTC_PITCH 0x022C 347 #define CRTC_PITCH 0x022C
341 #define CRTC2_PITCH 0x032C 348 #define CRTC2_PITCH 0x032C
349 #define TMDS_CRC 0x02a0
342 #define OVR_CLR 0x0230 350 #define OVR_CLR 0x0230
343 #define OVR_WID_LEFT_RIGHT 0x0234 351 #define OVR_WID_LEFT_RIGHT 0x0234
344 #define OVR_WID_TOP_BOTTOM 0x0238 352 #define OVR_WID_TOP_BOTTOM 0x0238
345 #define DISPLAY_BASE_ADDR 0x023C 353 #define DISPLAY_BASE_ADDR 0x023C
346 #define SNAPSHOT_VH_COUNTS 0x0240 354 #define SNAPSHOT_VH_COUNTS 0x0240
349 #define SNAPSHOT_VIF_COUNT 0x024C 357 #define SNAPSHOT_VIF_COUNT 0x024C
350 #define FP_CRTC_H_TOTAL_DISP 0x0250 358 #define FP_CRTC_H_TOTAL_DISP 0x0250
351 #define FP_CRTC2_H_TOTAL_DISP 0x0350 359 #define FP_CRTC2_H_TOTAL_DISP 0x0350
352 #define FP_CRTC_V_TOTAL_DISP 0x0254 360 #define FP_CRTC_V_TOTAL_DISP 0x0254
353 #define FP_CRTC2_V_TOTAL_DISP 0x0354 361 #define FP_CRTC2_V_TOTAL_DISP 0x0354
362 # define FP_CRTC_H_TOTAL_MASK 0x000003ff
363 # define FP_CRTC_H_DISP_MASK 0x01ff0000
364 # define FP_CRTC_V_TOTAL_MASK 0x00000fff
365 # define FP_CRTC_V_DISP_MASK 0x0fff0000
366 # define FP_H_SYNC_STRT_CHAR_MASK 0x00001ff8
367 # define FP_H_SYNC_WID_MASK 0x003f0000
368 # define FP_V_SYNC_STRT_MASK 0x00000fff
369 # define FP_V_SYNC_WID_MASK 0x001f0000
370 # define FP_CRTC_H_TOTAL_SHIFT 0x00000000
371 # define FP_CRTC_H_DISP_SHIFT 0x00000010
372 # define FP_CRTC_V_TOTAL_SHIFT 0x00000000
373 # define FP_CRTC_V_DISP_SHIFT 0x00000010
374 # define FP_H_SYNC_STRT_CHAR_SHIFT 0x00000003
375 # define FP_H_SYNC_WID_SHIFT 0x00000010
376 # define FP_V_SYNC_STRT_SHIFT 0x00000000
377 # define FP_V_SYNC_WID_SHIFT 0x00000010
354 #define CRT_CRTC_H_SYNC_STRT_WID 0x0258 378 #define CRT_CRTC_H_SYNC_STRT_WID 0x0258
355 #define CRT_CRTC_V_SYNC_STRT_WID 0x025C 379 #define CRT_CRTC_V_SYNC_STRT_WID 0x025C
356 #define CUR_OFFSET 0x0260 380 #define CUR_OFFSET 0x0260
357 #define CUR_HORZ_VERT_POSN 0x0264 381 #define CUR_HORZ_VERT_POSN 0x0264
358 #define CUR_HORZ_VERT_OFF 0x0268 382 #define CUR_HORZ_VERT_OFF 0x0268
398 # define FP2_SCK_POL (1 << 18) 422 # define FP2_SCK_POL (1 << 18)
399 # define FP2_LCD_CNTL_MASK (7 << 19) 423 # define FP2_LCD_CNTL_MASK (7 << 19)
400 # define FP2_PAD_FLOP_EN (1 << 22) 424 # define FP2_PAD_FLOP_EN (1 << 22)
401 # define FP2_CRC_EN (1 << 23) 425 # define FP2_CRC_EN (1 << 23)
402 # define FP2_CRC_READ_EN (1 << 24) 426 # define FP2_CRC_READ_EN (1 << 24)
403 #define FP_HORZ_STRETCH 0x028C
404 #define FP_VERT_STRETCH 0x0290
405 #define FP_H_SYNC_STRT_WID 0x02C4
406 #define FP_H2_SYNC_STRT_WID 0x03C4
407 #define FP_V_SYNC_STRT_WID 0x02C8
408 #define FP_V2_SYNC_STRT_WID 0x03C8
409 #define FP_HORZ_STRETCH 0x028C 427 #define FP_HORZ_STRETCH 0x028C
410 #define FP_HORZ2_STRETCH 0x038C 428 #define FP_HORZ2_STRETCH 0x038C
429 # define HORZ_STRETCH_RATIO_MASK 0xffff
430 # define HORZ_STRETCH_RATIO_MAX 4096
431 # define HORZ_PANEL_SIZE (0x1ff << 16)
432 # define HORZ_PANEL_SHIFT 16
433 # define HORZ_STRETCH_PIXREP (0 << 25)
434 # define HORZ_STRETCH_BLEND (1 << 26)
435 # define HORZ_STRETCH_ENABLE (1 << 25)
436 # define HORZ_AUTO_RATIO (1 << 27)
437 # define HORZ_FP_LOOP_STRETCH (0x7 << 28)
438 # define HORZ_AUTO_RATIO_INC (1 << 31)
411 #define FP_VERT_STRETCH 0x0290 439 #define FP_VERT_STRETCH 0x0290
412 #define FP_VERT2_STRETCH 0x0390 440 #define FP_VERT2_STRETCH 0x0390
441 # define VERT_PANEL_SIZE (0xfff << 12)
442 # define VERT_PANEL_SHIFT 12
443 # define VERT_STRETCH_RATIO_MASK 0xfff
444 # define VERT_STRETCH_RATIO_SHIFT 0
445 # define VERT_STRETCH_RATIO_MAX 4096
446 # define VERT_STRETCH_ENABLE (1 << 25)
447 # define VERT_STRETCH_LINEREP (0 << 26)
448 # define VERT_STRETCH_BLEND (1 << 26)
449 # define VERT_AUTO_RATIO_EN (1 << 27)
450 # define VERT_STRETCH_RESERVED 0xf1000000
451 #define FP_H_SYNC_STRT_WID 0x02C4
452 #define FP_H2_SYNC_STRT_WID 0x03C4
453 #define FP_V_SYNC_STRT_WID 0x02C8
454 #define FP_V2_SYNC_STRT_WID 0x03C8
455 #define LVDS_GEN_CNTL 0x02d0
456 # define LVDS_ON (1 << 0)
457 # define LVDS_DISPLAY_DIS (1 << 1)
458 # define LVDS_PANEL_TYPE (1 << 2)
459 # define LVDS_PANEL_FORMAT (1 << 3)
460 # define LVDS_EN (1 << 7)
461 # define LVDS_DIGON (1 << 18)
462 # define LVDS_BLON (1 << 19)
463 # define LVDS_SEL_CRTC2 (1 << 23)
464 #define LVDS_PLL_CNTL 0x02d4
465 # define HSYNC_DELAY_SHIFT 28
466 # define HSYNC_DELAY_MASK (0xf << 28)
413 #define AUX_WINDOW_HORZ_CNTL 0x02D8 467 #define AUX_WINDOW_HORZ_CNTL 0x02D8
414 #define AUX_WINDOW_VERT_CNTL 0x02DC 468 #define AUX_WINDOW_VERT_CNTL 0x02DC
415 #define DDA_CONFIG 0x02e0 469 #define DDA_CONFIG 0x02e0
416 #define DDA_ON_OFF 0x02e4 470 #define DDA_ON_OFF 0x02e4
417 #define GRPH_BUFFER_CNTL 0x02F0 471 #define GRPH_BUFFER_CNTL 0x02F0
418 #define VGA_BUFFER_CNTL 0x02F4 472 #define VGA_BUFFER_CNTL 0x02F4
473 /* first overlay unit (there is only one) */
419 #define OV0_Y_X_START 0x0400 474 #define OV0_Y_X_START 0x0400
420 #define OV0_Y_X_END 0x0404 475 #define OV0_Y_X_END 0x0404
421 #define OV0_PIPELINE_CNTL 0x0408 476 #define OV0_PIPELINE_CNTL 0x0408
477 #define OV0_EXCLUSIVE_HORZ 0x0408
478 # define EXCL_HORZ_START_MASK 0x000000ff
479 # define EXCL_HORZ_END_MASK 0x0000ff00
480 # define EXCL_HORZ_BACK_PORCH_MASK 0x00ff0000
481 # define EXCL_HORZ_EXCLUSIVE_EN 0x80000000
482 #define OV0_EXCLUSIVE_VERT 0x040C
483 # define EXCL_VERT_START_MASK 0x000003ff
484 # define EXCL_VERT_END_MASK 0x03ff0000
422 #define OV0_REG_LOAD_CNTL 0x0410 485 #define OV0_REG_LOAD_CNTL 0x0410
486 # define REG_LD_CTL_LOCK 0x00000001L
487 # define REG_LD_CTL_VBLANK_DURING_LOCK 0x00000002L
488 # define REG_LD_CTL_STALL_GUI_UNTIL_FLIP 0x00000004L
489 # define REG_LD_CTL_LOCK_READBACK 0x00000008L
423 #define OV0_SCALE_CNTL 0x0420 490 #define OV0_SCALE_CNTL 0x0420
491 # define SCALER_PIX_EXPAND 0x00000001L
492 # define SCALER_Y2R_TEMP 0x00000002L
493 # define SCALER_HORZ_PICK_NEAREST 0x00000003L
494 # define SCALER_VERT_PICK_NEAREST 0x00000004L
495 # define SCALER_SIGNED_UV 0x00000010L
496 # define SCALER_GAMMA_SEL_MASK 0x00000060L
497 # define SCALER_GAMMA_SEL_BRIGHT 0x00000000L
498 # define SCALER_GAMMA_SEL_G22 0x00000020L
499 # define SCALER_GAMMA_SEL_G18 0x00000040L
500 # define SCALER_GAMMA_SEL_G14 0x00000060L
501 # define SCALER_COMCORE_SHIFT_UP_ONE 0x00000080L
502 # define SCALER_SURFAC_FORMAT 0x00000f00L
503 # define SCALER_SOURCE_15BPP 0x00000300L
504 # define SCALER_SOURCE_16BPP 0x00000400L
505 # define SCALER_SOURCE_32BPP 0x00000600L
506 # define SCALER_SOURCE_YUV9 0x00000900L
507 # define SCALER_SOURCE_YUV12 0x00000A00L
508 # define SCALER_SOURCE_VYUY422 0x00000B00L
509 # define SCALER_SOURCE_YVYU422 0x00000C00L
510 # define SCALER_SMART_SWITCH 0x00008000L
511 # define SCALER_BURST_PER_PLANE 0x00ff0000L
512 # define SCALER_DOUBLE_BUFFER 0x01000000L
513 # define SCALER_DIS_LIMIT 0x08000000L
514 # define SCALER_PRG_LOAD_START 0x10000000L
515 # define SCALER_INT_EMU 0x20000000L
516 # define SCALER_ENABLE 0x40000000L
517 # define SCALER_SOFT_RESET 0x80000000L
424 #define OV0_V_INC 0x0424 518 #define OV0_V_INC 0x0424
425 #define OV0_P1_V_ACCUM_INIT 0x0428 519 #define OV0_P1_V_ACCUM_INIT 0x0428
520 # define OV0_P1_MAX_LN_IN_PER_LN_OUT 0x00000003L
521 # define OV0_P1_V_ACCUM_INIT_MASK 0x01ff8000L
426 #define OV0_P23_V_ACCUM_INIT 0x042C 522 #define OV0_P23_V_ACCUM_INIT 0x042C
427 #define OV0_P1_BLANK_LINES_AT_TOP 0x0430 523 #define OV0_P1_BLANK_LINES_AT_TOP 0x0430
524 # define P1_BLNK_LN_AT_TOP_M1_MASK 0x00000fffL
525 # define P1_ACTIVE_LINES_M1 0x0fff0000L
428 #define OV0_P23_BLANK_LINES_AT_TOP 0x0434 526 #define OV0_P23_BLANK_LINES_AT_TOP 0x0434
527 # define P23_BLNK_LN_AT_TOP_M1_MASK 0x000007ffL
528 # define P23_ACTIVE_LINES_M1 0x07ff0000L
429 #define OV0_BASE_ADDR 0x043C 529 #define OV0_BASE_ADDR 0x043C
430 #define OV0_VID_BUF0_BASE_ADRS 0x0440 530 #define OV0_VID_BUF0_BASE_ADRS 0x0440
531 # define VIF_BUF0_PITCH_SEL 0x00000001L
532 # define VIF_BUF0_TILE_ADRS 0x00000002L
533 # define VIF_BUF0_BASE_ADRS_MASK 0x03fffff0L
534 # define VIF_BUF0_1ST_LINE_LSBS_MASK 0x48000000L
431 #define OV0_VID_BUF1_BASE_ADRS 0x0444 535 #define OV0_VID_BUF1_BASE_ADRS 0x0444
536 # define VIF_BUF1_PITCH_SEL 0x00000001L
537 # define VIF_BUF1_TILE_ADRS 0x00000002L
538 # define VIF_BUF1_BASE_ADRS_MASK 0x03fffff0L
539 # define VIF_BUF1_1ST_LINE_LSBS_MASK 0x48000000L
432 #define OV0_VID_BUF2_BASE_ADRS 0x0448 540 #define OV0_VID_BUF2_BASE_ADRS 0x0448
541 # define VIF_BUF2_PITCH_SEL 0x00000001L
542 # define VIF_BUF2_TILE_ADRS 0x00000002L
543 # define VIF_BUF2_BASE_ADRS_MASK 0x03fffff0L
544 # define VIF_BUF2_1ST_LINE_LSBS_MASK 0x48000000L
433 #define OV0_VID_BUF3_BASE_ADRS 0x044C 545 #define OV0_VID_BUF3_BASE_ADRS 0x044C
434 #define OV0_VID_BUF4_BASE_ADRS 0x0450 546 #define OV0_VID_BUF4_BASE_ADRS 0x0450
435 #define OV0_VID_BUF5_BASE_ADRS 0x0454 547 #define OV0_VID_BUF5_BASE_ADRS 0x0454
436 #define OV0_VID_BUF_PITCH0_VALUE 0x0460 548 #define OV0_VID_BUF_PITCH0_VALUE 0x0460
437 #define OV0_VID_BUF_PITCH1_VALUE 0x0464 549 #define OV0_VID_BUF_PITCH1_VALUE 0x0464
456 #define OV0_VID_KEY_CLR_LOW 0x04E4 568 #define OV0_VID_KEY_CLR_LOW 0x04E4
457 #define OV0_VID_KEY_CLR_HIGH 0x04E8 569 #define OV0_VID_KEY_CLR_HIGH 0x04E8
458 #define OV0_GRPH_KEY_CLR_LOW 0x04EC 570 #define OV0_GRPH_KEY_CLR_LOW 0x04EC
459 #define OV0_GRPH_KEY_CLR_HIGH 0x04F0 571 #define OV0_GRPH_KEY_CLR_HIGH 0x04F0
460 #define OV0_KEY_CNTL 0x04F4 572 #define OV0_KEY_CNTL 0x04F4
573 # define VIDEO_KEY_FN_MASK 0x00000007L
574 # define VIDEO_KEY_FN_FALSE 0x00000000L
575 # define VIDEO_KEY_FN_TRUE 0x00000001L
576 # define VIDEO_KEY_FN_EQ 0x00000004L
577 # define VIDEO_KEY_FN_NE 0x00000005L
578 # define GRAPHIC_KEY_FN_MASK 0x00000070L
579 # define GRAPHIC_KEY_FN_FALSE 0x00000000L
580 # define GRAPHIC_KEY_FN_TRUE 0x00000010L
581 # define GRAPHIC_KEY_FN_EQ 0x00000040L
582 # define GRAPHIC_KEY_FN_NE 0x00000050L
583 # define CMP_MIX_MASK 0x00000100L
584 # define CMP_MIX_OR 0x00000000L
585 # define CMP_MIX_AND 0x00000100L
461 #define OV0_TEST 0x04F8 586 #define OV0_TEST 0x04F8
462 #define SUBPIC_CNTL 0x0540 587 #define SUBPIC_CNTL 0x0540
463 #define SUBPIC_DEFCOLCON 0x0544 588 #define SUBPIC_DEFCOLCON 0x0544
464 #define SUBPIC_Y_X_START 0x054C 589 #define SUBPIC_Y_X_START 0x054C
465 #define SUBPIC_Y_X_END 0x0550 590 #define SUBPIC_Y_X_END 0x0550
525 #define DAC_POS_SYNC_LEVEL 0x0DD4 650 #define DAC_POS_SYNC_LEVEL 0x0DD4
526 #define DAC_BLANK_LEVEL 0x0DD8 651 #define DAC_BLANK_LEVEL 0x0DD8
527 #define CLOCK_CNTL_INDEX 0x0008 652 #define CLOCK_CNTL_INDEX 0x0008
528 /* CLOCK_CNTL_INDEX bit constants */ 653 /* CLOCK_CNTL_INDEX bit constants */
529 # define PLL_WR_EN 0x00000080 654 # define PLL_WR_EN 0x00000080
530 # define RADEON_PLL_DIV_SEL (3 << 8) 655 # define PLL_DIV_SEL (3 << 8)
531 # define RADEON_PLL2_DIV_SEL_MASK ~(3 << 8) 656 # define PLL2_DIV_SEL_MASK ~(3 << 8)
532 #define CLOCK_CNTL_DATA 0x000C 657 #define CLOCK_CNTL_DATA 0x000C
533 #define CP_RB_CNTL 0x0704 658 #define CP_RB_CNTL 0x0704
534 #define CP_RB_BASE 0x0700 659 #define CP_RB_BASE 0x0700
535 #define CP_RB_RPTR_ADDR 0x070C 660 #define CP_RB_RPTR_ADDR 0x070C
536 #define CP_RB_RPTR 0x0710 661 #define CP_RB_RPTR 0x0710
753 #define RADEON_BIOS_7_SCRATCH 0x002c 878 #define RADEON_BIOS_7_SCRATCH 0x002c
754 879
755 880
756 #define CLK_PIN_CNTL 0x0001 881 #define CLK_PIN_CNTL 0x0001
757 #define PPLL_CNTL 0x0002 882 #define PPLL_CNTL 0x0002
883 # define PPLL_RESET (1 << 0)
884 # define PPLL_SLEEP (1 << 1)
885 # define PPLL_ATOMIC_UPDATE_EN (1 << 16)
886 # define PPLL_VGA_ATOMIC_UPDATE_EN (1 << 17)
887 # define PPLL_ATOMIC_UPDATE_VSYNC (1 << 18)
758 #define PPLL_REF_DIV 0x0003 888 #define PPLL_REF_DIV 0x0003
889 # define PPLL_REF_DIV_MASK 0x03ff
890 # define PPLL_ATOMIC_UPDATE_R (1 << 15) /* same as _W */
891 # define PPLL_ATOMIC_UPDATE_W (1 << 15) /* same as _R */
759 #define PPLL_DIV_0 0x0004 892 #define PPLL_DIV_0 0x0004
760 #define PPLL_DIV_1 0x0005 893 #define PPLL_DIV_1 0x0005
761 #define PPLL_DIV_2 0x0006 894 #define PPLL_DIV_2 0x0006
762 #define PPLL_DIV_3 0x0007 895 #define PPLL_DIV_3 0x0007
763 #define VCLK_ECP_CNTL 0x0008 896 #define VCLK_ECP_CNTL 0x0008
764 #define HTOTAL_CNTL 0x0009 897 #define HTOTAL_CNTL 0x0009
898 #define HTOTAL2_CNTL 0x002e /* PLL */
765 #define M_SPLL_REF_FB_DIV 0x000a 899 #define M_SPLL_REF_FB_DIV 0x000a
766 #define AGP_PLL_CNTL 0x000b 900 #define AGP_PLL_CNTL 0x000b
767 #define SPLL_CNTL 0x000c 901 #define SPLL_CNTL 0x000c
768 #define SCLK_CNTL 0x000d 902 #define SCLK_CNTL 0x000d
769 #define MPLL_CNTL 0x000e 903 #define MPLL_CNTL 0x000e
773 # define FORCEON_MCLKB (1 << 17) 907 # define FORCEON_MCLKB (1 << 17)
774 # define FORCEON_YCLKA (1 << 18) 908 # define FORCEON_YCLKA (1 << 18)
775 # define FORCEON_YCLKB (1 << 19) 909 # define FORCEON_YCLKB (1 << 19)
776 # define FORCEON_MC (1 << 20) 910 # define FORCEON_MC (1 << 20)
777 # define FORCEON_AIC (1 << 21) 911 # define FORCEON_AIC (1 << 21)
778 #define AGP_PLL_CNTL 0x000b
779 #define PLL_TEST_CNTL 0x0013 912 #define PLL_TEST_CNTL 0x0013
913 #define P2PLL_CNTL 0x002a /* P2PLL */
914 # define P2PLL_RESET (1 << 0)
915 # define P2PLL_SLEEP (1 << 1)
916 # define P2PLL_ATOMIC_UPDATE_EN (1 << 16)
917 # define P2PLL_VGA_ATOMIC_UPDATE_EN (1 << 17)
918 # define P2PLL_ATOMIC_UPDATE_VSYNC (1 << 18)
919 #define P2PLL_DIV_0 0x002c
920 # define P2PLL_FB0_DIV_MASK 0x07ff
921 # define P2PLL_POST0_DIV_MASK 0x00070000
922 #define P2PLL_REF_DIV 0x002B /* PLL */
923 # define P2PLL_REF_DIV_MASK 0x03ff
924 # define P2PLL_ATOMIC_UPDATE_R (1 << 15) /* same as _W */
925 # define P2PLL_ATOMIC_UPDATE_W (1 << 15) /* same as _R */
780 926
781 /* masks */ 927 /* masks */
782 928
783 #define CONFIG_MEMSIZE_MASK 0x1f000000 929 #define CONFIG_MEMSIZE_MASK 0x1f000000
784 #define MEM_CFG_TYPE 0x40000000 930 #define MEM_CFG_TYPE 0x40000000
785 #define DST_OFFSET_MASK 0x003fffff 931 #define DST_OFFSET_MASK 0x003fffff
786 #define DST_PITCH_MASK 0x3fc00000 932 #define DST_PITCH_MASK 0x3fc00000
787 #define DEFAULT_TILE_MASK 0xc0000000 933 #define DEFAULT_TILE_MASK 0xc0000000
788 #define PPLL_DIV_SEL_MASK 0x00000300 934 #define PPLL_DIV_SEL_MASK 0x00000300
789 #define PPLL_RESET 0x00000001
790 #define PPLL_ATOMIC_UPDATE_EN 0x00010000
791 #define PPLL_REF_DIV_MASK 0x000003ff
792 #define PPLL_FB3_DIV_MASK 0x000007ff 935 #define PPLL_FB3_DIV_MASK 0x000007ff
793 #define PPLL_POST3_DIV_MASK 0x00070000 936 #define PPLL_POST3_DIV_MASK 0x00070000
794 #define PPLL_ATOMIC_UPDATE_R 0x00008000
795 #define PPLL_ATOMIC_UPDATE_W 0x00008000
796 #define PPLL_VGA_ATOMIC_UPDATE_EN 0x00020000
797 937
798 #define GUI_ACTIVE 0x80000000 938 #define GUI_ACTIVE 0x80000000
799 939
800 /* GEN_RESET_CNTL bit constants */ 940 /* GEN_RESET_CNTL bit constants */
801 #define SOFT_RESET_GUI 0x00000001 941 #define SOFT_RESET_GUI 0x00000001