mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
drm/rockchip: Fix cvbs color space
Set cvbs color space to V4L2_COLORSPACE_SMPTE170M to prevent display err. Change-Id: I12cb71938e9c423397d64f68a46a257e7e0af5c4 Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
parent
214f0874a3
commit
7ba0e9b47a
|
|
@ -11,6 +11,8 @@
|
|||
#include <drm/drm_crtc_helper.h>
|
||||
#include <drm/drm_of.h>
|
||||
|
||||
#include <uapi/linux/videodev2.h>
|
||||
|
||||
#include "rockchip_drm_drv.h"
|
||||
#include "rockchip_drm_tve.h"
|
||||
#include "rockchip_drm_vop.h"
|
||||
|
|
@ -277,6 +279,8 @@ rockchip_tve_encoder_atomic_check(struct drm_encoder *encoder,
|
|||
else
|
||||
s->bus_format = MEDIA_BUS_FMT_YUV8_1X24;
|
||||
|
||||
s->color_space = V4L2_COLORSPACE_SMPTE170M;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user