>
> Matching hardware is more important than matching style, after all this is
> supposed to emulate hardware and we already found places where the docs
> were wrong. So if you can test and match what hardware does that would be
> best.
>

I just tested this using the same environment I tested the clipping
fields with and it looks like offset and pitch also latch to default
values:

Test SRC pitch and offset
====================================

** Initializing DEFAULT_OFFSET to 0x0 **
** Initializing DEFAULT_PITCH to 0x0 **
** Initializing SRC_OFFSET to 0x0 **
** Initializing SRC_PITCH to 0x0 **

Initial State
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00d
DEFAULT_OFFSET:          0x00000000
DEFAULT_PITCH:           0x00000000
SRC_OFFSET:              0x00000000
SRC_PITCH:               0x00000000

** Setting DEFAULT_OFFSET to 0x000000aa **
** Setting DEFAULT_PITCH to 0x000000bb **
** Setting SRC_OFFSET to 0x11 **
** Setting SRC_PITCH to 0x22 **

State After Setting
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00d
DEFAULT_OFFSET:          0x000000a0  <======= 4:0 are hardwired to 0
DEFAULT_PITCH:           0x000000bb           just like the docs say
SRC_OFFSET:              0x00000010  <======= 4:0 are hardwired to 0
SRC_PITCH:               0x00000022           just like the docs say

** Setting GMC_SRC_PITCH_OFFSET_CNTL to default **

State After Setting Default
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00c
DEFAULT_OFFSET:          0x000000a0
DEFAULT_PITCH:           0x000000bb
SRC_OFFSET:              0x000000a0  <======= Set to default
SRC_PITCH:               0x000000bb  <======= Set to default

** Setting GMC_SRC_PITCH_OFFSET_CNTL to leave alone **

State After Setting Leave Alone
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00d
DEFAULT_OFFSET:          0x000000a0
DEFAULT_PITCH:           0x000000bb
SRC_OFFSET:              0x000000a0  <======= STILL default
SRC_PITCH:               0x000000bb  <======= STILL default

Test DST pitch and offset
====================================

** Initializing DEFAULT_OFFSET to 0x0 **
** Initializing DEFAULT_PITCH to 0x0 **
** Initializing DST_OFFSET to 0x0 **
** Initializing DST_PITCH to 0x0 **

Initial State
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00d
DEFAULT_OFFSET:          0x00000000
DEFAULT_PITCH:           0x00000000
DST_OFFSET:              0x00000000
DST_PITCH:               0x00000000

** Setting DEFAULT_OFFSET to 0x000000aa **
** Setting DEFAULT_PITCH to 0x000000bb **
** Setting DST_OFFSET to 0x11 **
** Setting DST_PITCH to 0x22 **

State After Setting
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00d
DEFAULT_OFFSET:          0x000000a0  <======= 4:0 are hardwired to 0
DEFAULT_PITCH:           0x000000bb           just like the docs say
DST_OFFSET:              0x00000010  <======= 4:0 are hardwired to 0
DST_PITCH:               0x00000022           just like the docs say

** Setting GMC_DST_PITCH_OFFSET_CNTL to default **

State After Setting Default
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00c
DEFAULT_OFFSET:          0x000000a0
DEFAULT_PITCH:           0x000000bb
DST_OFFSET:              0x000000a0  <======= Set to default
DST_PITCH:               0x000000bb  <======= Set to default

** Setting GMC_DST_PITCH_OFFSET_CNTL to leave alone **

State After Setting Leave Alone
------------------------------------
DP_GUI_MASTER_CNTL:      0x30f0e00d
DEFAULT_OFFSET:          0x000000a0
DEFAULT_PITCH:           0x000000bb
DST_OFFSET:              0x000000a0  <======= STILL default
DST_PITCH:               0x000000bb  <======= STILL default


Reply via email to