Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d596e875 authored by Zhongbo Shi's avatar Zhongbo Shi Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: add P010 color format in govenors



P010 is the linear color format for 10-bit. When clients want
to use this, driver needs to take care of this format in BW
voting. Hence add 10-bit linear P010 in governors.

CRs-Fixed: 2142654
Change-Id: I9266f60b41eebabce99426c04a0cdc2056cf0cd9
Signed-off-by: default avatarZhongbo Shi <zhongbos@codeaurora.org>
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent 5dfea24b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -332,6 +332,7 @@ static int __bpp(enum hal_uncompressed_format f)
	case HAL_COLOR_FORMAT_NV12_UBWC:
	case HAL_COLOR_FORMAT_NV12_UBWC:
		return 8;
		return 8;
	case HAL_COLOR_FORMAT_NV12_TP10_UBWC:
	case HAL_COLOR_FORMAT_NV12_TP10_UBWC:
	case HAL_COLOR_FORMAT_P010:
		return 10;
		return 10;
	default:
	default:
		dprintk(VIDC_ERR,
		dprintk(VIDC_ERR,