mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-02-04 16:30:29 +01:00
NV50: replace active by enabled
This commit is contained in:
parent
02b30739f7
commit
47c8f31741
3 changed files with 3 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ struct nv50_crtc {
|
|||
|
||||
struct drm_device *dev;
|
||||
int index;
|
||||
bool active;
|
||||
bool enabled;
|
||||
bool blanked;
|
||||
|
||||
struct nouveau_hw_mode *mode;
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ static int nv50_display_disable(struct nv50_display *display)
|
|||
|
||||
/* Almost like ack'ing a vblank interrupt, maybe in the spirit of cleaning up? */
|
||||
list_for_each_entry(crtc, &display->crtcs, item) {
|
||||
if (crtc->active) {
|
||||
if (crtc->enabled) {
|
||||
uint32_t mask;
|
||||
|
||||
if (crtc->index == 1)
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ static void nv50_kms_mirror_routing(struct drm_device *dev)
|
|||
list_for_each_entry(drm_crtc, &dev->mode_config.crtc_list, head) {
|
||||
crtc = to_nv50_crtc(drm_crtc);
|
||||
|
||||
crtc->active = drm_crtc->enabled;
|
||||
crtc->enabled = drm_crtc->enabled;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue