Skip to content

Commit 7ded213

Browse files
misyltoadaritger
authored andcommitted
dp_connectorimpl: Remove duplicate dscBitsPerPixelIncrement
All other values of the BITS_PER_PIXEL_INCREMENT are handled here. This one was previously using a bitwise OR in, then also assigning directly after. Closes: #54
1 parent dcdb0c9 commit 7ded213

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/common/displayport/src/dp_connectorimpl.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,11 +1772,6 @@ void ConnectorImpl::populateDscSinkCaps(DSC_INFO* dscInfo, DeviceImpl * dev)
17721772
dscInfo->sinkCaps.decoderColorFormatMask |= DSC_DECODER_COLOR_FORMAT_Y_CB_CR_NATIVE_420;
17731773
}
17741774

1775-
if (dev->dscCaps.dscBitsPerPixelIncrement == BITS_PER_PIXEL_PRECISION_1_16)
1776-
{
1777-
dscInfo->sinkCaps.bitsPerPixelPrecision |= DSC_BITS_PER_PIXEL_PRECISION_1_16;
1778-
}
1779-
17801775
if (dev->dscCaps.dscBitsPerPixelIncrement == BITS_PER_PIXEL_PRECISION_1_16)
17811776
{
17821777
dscInfo->sinkCaps.bitsPerPixelPrecision = DSC_BITS_PER_PIXEL_PRECISION_1_16;

0 commit comments

Comments
 (0)