mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2025-02-24 09:54:20 +01:00
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
This commit is contained in:
parent
c7d822bc16
commit
3dfc7ad812
@ -1772,11 +1772,6 @@ void ConnectorImpl::populateDscSinkCaps(DSC_INFO* dscInfo, DeviceImpl * dev)
|
|||||||
dscInfo->sinkCaps.decoderColorFormatMask |= DSC_DECODER_COLOR_FORMAT_Y_CB_CR_NATIVE_420;
|
dscInfo->sinkCaps.decoderColorFormatMask |= DSC_DECODER_COLOR_FORMAT_Y_CB_CR_NATIVE_420;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dev->dscCaps.dscBitsPerPixelIncrement == BITS_PER_PIXEL_PRECISION_1_16)
|
|
||||||
{
|
|
||||||
dscInfo->sinkCaps.bitsPerPixelPrecision |= DSC_BITS_PER_PIXEL_PRECISION_1_16;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (dev->dscCaps.dscBitsPerPixelIncrement == BITS_PER_PIXEL_PRECISION_1_16)
|
if (dev->dscCaps.dscBitsPerPixelIncrement == BITS_PER_PIXEL_PRECISION_1_16)
|
||||||
{
|
{
|
||||||
dscInfo->sinkCaps.bitsPerPixelPrecision = DSC_BITS_PER_PIXEL_PRECISION_1_16;
|
dscInfo->sinkCaps.bitsPerPixelPrecision = DSC_BITS_PER_PIXEL_PRECISION_1_16;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user