<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">All,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">In the proprietary driver, it’s possible to set the colorspace used for output, with 4 possible options on my hardware: YCbCr 4:4:4, YCbCr 2:2:2, RGB Limited, and RGB Full. For a system I’m working on, we have been using the YCbCr 4:4:4 color space for compatibility reasons with some of the devices we output to, and I’d like to get the same feature going on the radeon driver.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">From what I’ve read (http://lists.freedesktop.org/archives/xorg/2014-March/056478.html), this feature isn’t yet part of the radeon driver, but since it seems to be a register setting it may be possible to add. So I took a look at the code in dce5_crtc_load_lut() and modified it to use NI_OUTPUT_CSC_YCBCR_709, compiled, and tried it.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">It didn’t seem to change the output at all.</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">So I grabbed a copy of radeontool, and tried to see if I could inspect the registers to see if my changes were taking effect, but I think I’m missing something because the values I get don’t seem to be what I’d expect:</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><div id="bloop_customfont" style="margin: 0px;"> avivotool regmatch 0x68f0 # NI_OUTPUT_CSC_CONTROL + radeon_crtc->crtc_offset</div><div id="bloop_customfont" style="margin: 0px;">0x68f0<span class="Apple-tab-span" style="white-space:pre"> </span>0x01000020 (16777248)</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">I would expect the output to be something with 0x33, since (NI_OUTPUT_CSC_GRPH_MODE(NI_OUTPUT_CSC_YCBCR_709) | NI_OUTPUT_CSC_OVL_MODE(NI_OUTPUT_CSC_YCBCR_709)) should be 0x33.</div></div><div><br></div><div>Is there some other register I might need to touch in order to make these changes take effect? Any pointers to what else I should be looking for?</div><div><br></div><div>Thanks!</div><br><div id="bloop_sign_1413584927899062016" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>David Harks <dave@dwink.net><br></div></div></body></html>