Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b6d8e7ec
Commit
b6d8e7ec
authored
Jul 07, 2011
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nvd0/disp: stub dac load detect, prevents oops
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
8eaa9669
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
drivers/gpu/drm/nouveau/nvd0_display.c
drivers/gpu/drm/nouveau/nvd0_display.c
+7
-0
No files found.
drivers/gpu/drm/nouveau/nvd0_display.c
View file @
b6d8e7ec
...
@@ -637,6 +637,12 @@ nvd0_dac_disconnect(struct drm_encoder *encoder)
...
@@ -637,6 +637,12 @@ nvd0_dac_disconnect(struct drm_encoder *encoder)
}
}
}
}
static
enum
drm_connector_status
nvd0_dac_detect
(
struct
drm_encoder
*
encoder
,
struct
drm_connector
*
connector
)
{
return
connector_status_disconnected
;
}
static
void
static
void
nvd0_dac_destroy
(
struct
drm_encoder
*
encoder
)
nvd0_dac_destroy
(
struct
drm_encoder
*
encoder
)
{
{
...
@@ -652,6 +658,7 @@ static const struct drm_encoder_helper_funcs nvd0_dac_hfunc = {
...
@@ -652,6 +658,7 @@ static const struct drm_encoder_helper_funcs nvd0_dac_hfunc = {
.
mode_set
=
nvd0_dac_mode_set
,
.
mode_set
=
nvd0_dac_mode_set
,
.
disable
=
nvd0_dac_disconnect
,
.
disable
=
nvd0_dac_disconnect
,
.
get_crtc
=
nvd0_display_crtc_get
,
.
get_crtc
=
nvd0_display_crtc_get
,
.
detect
=
nvd0_dac_detect
};
};
static
const
struct
drm_encoder_funcs
nvd0_dac_func
=
{
static
const
struct
drm_encoder_funcs
nvd0_dac_func
=
{
...
...
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