]> 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)
commit0380b45862df53765b4d0a91074bd6e758d629ad
treedb280d4956d9c12d0a53aed43f2955d30e4aabca
parent36faabed253f8348b8e39043ca7bea012ce4c61b
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