Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
L
linux-emcraft
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Kuzmenko
linux-emcraft
Commits
9fb57d7f
Commit
9fb57d7f
authored
Aug 03, 2018
by
Guido Gunther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imx-drm: do without HDMI hdr
parent
09f1157f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
drivers/gpu/drm/imx/dcss/dcss-kms.c
drivers/gpu/drm/imx/dcss/dcss-kms.c
+4
-4
No files found.
drivers/gpu/drm/imx/dcss/dcss-kms.c
View file @
9fb57d7f
...
...
@@ -64,7 +64,7 @@ static int dcss_drm_atomic_commit(struct drm_device *drm,
* If the plane fb has an dma-buf attached, fish out the exclusive
* fence for the atomic helper to wait on.
*/
for_each_
plane_in_new
_state
(
state
,
plane
,
plane_state
,
i
)
{
for_each_
new_plane_in
_state
(
state
,
plane
,
plane_state
,
i
)
{
if
((
plane
->
state
->
fb
!=
plane_state
->
fb
)
&&
plane_state
->
fb
)
{
dma_buf
=
drm_fb_cma_get_gem_obj
(
plane_state
->
fb
,
0
)
->
base
.
dma_buf
;
...
...
@@ -86,7 +86,7 @@ static void dcss_kms_setup_output_pipe(struct drm_atomic_state *state)
struct
drm_display_info
*
di
;
int
i
;
for_each_
connector_in_new
_state
(
state
,
connector
,
conn_state
,
i
)
{
for_each_
new_connector_in
_state
(
state
,
connector
,
conn_state
,
i
)
{
if
(
!
connector
->
state
->
best_encoder
)
continue
;
...
...
@@ -97,8 +97,8 @@ static void dcss_kms_setup_output_pipe(struct drm_atomic_state *state)
crtc
=
connector
->
state
->
crtc
;
di
=
&
connector
->
display_info
;
dcss_crtc_setup_opipe
(
crtc
,
connector
,
di
->
hdmi
.
colorimetry
,
di
->
hdmi
.
hdr_panel_metadata
.
eotf
,
dcss_crtc_setup_opipe
(
crtc
,
connector
,
G_REC601_PAL
,
NL_REC709
,
HDMI_QUANTIZATION_RANGE_FULL
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment