mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm/rockchip: rgb: init eotf and color space for tv output
Change-Id: Ieb5891dbee664c4fe283db6f075a811be1b4bd25 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <linux/regmap.h>
|
||||
#include <linux/mfd/syscon.h>
|
||||
#include <linux/phy/phy.h>
|
||||
#include <uapi/linux/videodev2.h>
|
||||
|
||||
#include "rockchip_drm_drv.h"
|
||||
#include "rockchip_drm_vop.h"
|
||||
@@ -189,6 +190,8 @@ rockchip_rgb_encoder_atomic_check(struct drm_encoder *encoder,
|
||||
|
||||
s->output_type = DRM_MODE_CONNECTOR_DPI;
|
||||
s->tv_state = &conn_state->tv;
|
||||
s->eotf = TRADITIONAL_GAMMA_SDR;
|
||||
s->color_space = V4L2_COLORSPACE_DEFAULT;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user