]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: add an output_csc property
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2015 15:11:49 +0000 (10:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2015 16:26:25 +0000 (12:26 -0400)
commitf59fac7bdcbd61910057c4baaa39e53fb344b09a
treedb280d4956d9c12d0a53aed43f2955d30e4aabca
parent0cf576b2f8b133a8781e8ceb3f5b700b05461255
drm/radeon: add an output_csc property

This adds the drm property for output csc (e.g.,
transform of output display colorspace).  Currently
only common ones (TV RGB, BT.601, BT.709) are supported,
but bypass and tv rgb are really the only useful ones at
the moment.  Additionally we could expose a user adjustable
matrix in the future.

This commit just adds the property.  The hw support will
be added in subsequent patches.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=83226

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c
drivers/gpu/drm/radeon/radeon_mode.h