aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atombios_crtc.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2010-10-13 15:09:44 -0400
committerDave Airlie <airlied@redhat.com>2010-10-19 00:13:33 -0400
commit21c74a8ea8b47eb6c3c621e36578f6e27f65c5c7 (patch)
treec87eb392764e4bf2e8fe435d7bd70ddad7f75202 /drivers/gpu/drm/radeon/atombios_crtc.c
parent99231028ff713820829b798d056c08a584281c25 (diff)
drm, kdb, kms: Change mode_set_base_atomic() enter argument to be an enum
The enter argument as implemented by commit 413d45d3627 (drm, kdb, kms: Add an enter argument to mode_set_base_atomic() API) should be more descriptive as to what it does vs just passing 1 and 0 around. There is no runtime behavior change as a result of this patch. Reported-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> CC: David Airlie <airlied@linux.ie> CC: dri-devel@lists.freedesktop.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_crtc.c')
-rw-r--r--drivers/gpu/drm/radeon/atombios_crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c
index 176f424975ac..df2b6f2b35f8 100644
--- a/drivers/gpu/drm/radeon/atombios_crtc.c
+++ b/drivers/gpu/drm/radeon/atombios_crtc.c
@@ -1270,7 +1270,7 @@ int atombios_crtc_set_base(struct drm_crtc *crtc, int x, int y,
1270 1270
1271int atombios_crtc_set_base_atomic(struct drm_crtc *crtc, 1271int atombios_crtc_set_base_atomic(struct drm_crtc *crtc,
1272 struct drm_framebuffer *fb, 1272 struct drm_framebuffer *fb,
1273 int x, int y, int enter) 1273 int x, int y, enum mode_set_atomic state)
1274{ 1274{
1275 struct drm_device *dev = crtc->dev; 1275 struct drm_device *dev = crtc->dev;
1276 struct radeon_device *rdev = dev->dev_private; 1276 struct radeon_device *rdev = dev->dev_private;